Search found 1 match
- Sun Dec 22, 2013 6:11 am
- Forum: Support and Development
- Topic: Screen detection help!
- Replies: 2
- Views: 1711
Screen detection help!
Hello, I'm new to the Love2d engine and i'm trying to make my object stay inside the window. my script is only acting as if it doesn't detect the bottom edge of the window and the object goes underneath it.. here is my code: function map_collisions() if player.x < 0 then player.x = 0 end if player.y...