I made it so that after I die in the game layout it will go to the gameover layout. After pressing the menu button (in the game over layout) it will go to the main screen again. The problem is that when I press the menu button, the layout changes BUT I cant actually see the layout, it basically freezes. The game order is: StartScene --- Game Scene ---- Gameoverscene. How do I fix this?
Develop games in your browser. Powerful, performant & highly capable.
it is always a bad idea to use so many wait actions. They caused your issue. You can do it like this:
Thank you so much! I was on this issue for 2 hours and got nowhere. Thanks!