Advertisement
Guest User

Untitled

a guest
Dec 5th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. ///MARCIANITO 100% REALNOFAKE
  2.  
  3. //vida maricianito
  4. marcianito = 100;
  5. //cambio de movimiento
  6. paso = true;
  7.  
  8. #######################################################################
  9. ///Movimiento de bala
  10.  
  11. //moviento vertical
  12.  
  13. vspeed = -10;
  14. //ataque y colision
  15. if(place_meeting(x,y,obj_marcianito)){
  16. obj_marcianito.marcianito -=10;
  17. instance_destroy();
  18. }
  19.  
  20. //detruccion de la instancia
  21. if(y==0){
  22. instance_destroy();
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement