Advertisement
Guest User

Untitled

a guest
Jul 25th, 2014
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. if(asteroid.body.velocity.y<100)
  2. spaceship.health-=10;
  3. else if(asteroid.body.velocity.y<200)
  4. spaceship.health-=20;
  5. else
  6. spaceship.health-=30;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement