Game keeps freezing and chromes showing page is unresponsive

help me @grazer … my games freezing whenever i try to play it…

when my players dying in the game the game freezes and chrome shows the page is unresponsive…

PLEASE HELP ME ASAP! I AM UNABLE TO TEST IT…

Heres the link to my game :-

https://flowlab.io/game/2245877

So your game is freezing when your player dies? There is most likely a loop or something in your code, I’ll take a look. :slight_smile:
(Also, please don’t ping Grazer, he is really busy, and there are many people that can help you. :slight_smile: )

2 Likes

I replaced your code. Just put this in and it seems to work just fine.

For the die collisions, just do this.
image
For the respawn just use this;


Here’s the get start bundle;

3 Likes