Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Bass appears at these things once he's off the screen.
- if x > view_xview && x < view_xview+view_wview
- && y > view_yview && y < view_yview+view_hview
- {
- global.warpx = x
- global.warpy = y
- with (obj_basshelper)
- {
- if x < view_xview or x > view_yview
- or y < view_yview or y > view_yview+view_hview
- {
- x = global.warpx
- y = global.warpy
- if !collision_rectangle(bbox_left,bbox_bottom,bbox_right,bbox_bottom+1,obj_solidtop,1,1)
- move_contact_all(270,5)
- }
- }
- instance_destroy()
- }
Add Comment
Please, Sign In to add comment