In my Game Jam game, when time’s up, everything unexpectedly freezes and turns black. I’m not finished with the whole ending yet, but I at least need to fix this bug first. Please Help!!
For clarification, when the time’s up, the game lags a bit, then the Time’s Up!! text appears very briefly before the screen turn entirely black. It lags a lot there during the events.
Please I need help quick!! Got to get this in before the game jam deadline, you know what I’m saying? Heheh… ![]()
(Actually tho please help!!)
Also when player 1 scores its worth 1 points, but when player 2 scores its worth 3 or 2 points
Your using the Pause() function to wait between intervals. Which causes the lag.
You can use the timer extension or the JavaScript function setTimeout() instead.
What? The ball always starts at the middle!!
Think I can fix that.
Yeah I see that now. @redSprite you fixed the lag error, can you fix this one too! Would help alot, thanks!
I’m pretty sure the bug comes from the sprite hitting multiple tiles simultaneously within one frame, causing multiple points to be awarded.
I guess you could have it ghost through tiles until it gets reset to the middle of the screen.
Maybe make it go to random areas?
