JJXB

Collisio between a player and a falling spike

May 14th, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //checking on the player end
  2. if coll_id.safe = 0
  3. {
  4. instance_destroy()
  5. instance_create(xstart,ystart,obj_player)}
  6. else {if coll_id.safe = 1 {}}
  7. //checking on the collision object
  8. obj_player.coll_id = id
Advertisement
Add Comment
Please, Sign In to add comment