Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. score = 0
  2.  
  3. if fruits[i].position.x > 480 or fruits[i].position.x < 0 or fruits[i].position.y > 272 or fruits[i].position.y + fruits[i].image:height() < 0 then
  4. score = score+1
  5. end
  6.  
  7. screen:print(x,y,"score"..score,color)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement