Hi - Thanks for reading this. This problem is driving me crazy:
I’m having an issue with my first game. I have a game.lua file with a local collision defined that removes a life if my object hits a left, or a right border at the edge of the screen. Each hit removes a life. After 3 lives the scene transitions to gameover.lua.
The first run is fine and works as planned. After I go back to game.lua from gameover.lua, when the object hits the border, it fires TWO collisions…
The third run fires THREE collisions, and the forth fires FOUR collisions…and so on!!!
HELP!!! Do I need to kill or null out some before the scene transition?