Guest User

Untitled

a guest
May 10th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Bass appears at these things once he's off the screen.
  2. if x > view_xview && x < view_xview+view_wview
  3. && y > view_yview && y < view_yview+view_hview
  4. {
  5.     global.warpx = x
  6.     global.warpy = y
  7.     with (obj_basshelper)
  8.     {
  9.         if x < view_xview or x > view_yview
  10.         or y < view_yview or y > view_yview+view_hview
  11.         {
  12.             x = global.warpx
  13.             y = global.warpy
  14.             if !collision_rectangle(bbox_left,bbox_bottom,bbox_right,bbox_bottom+1,obj_solidtop,1,1)
  15.             move_contact_all(270,5)
  16.         }
  17.     }
  18.     instance_destroy()
  19. }
Add Comment
Please, Sign In to add comment