Phaser game freezing after 5 seconds: issue with primary platform disappearing or platform generation?
I’m developing a platform game using Phaser, and I’ve encountered a frustrating issue where the game freezes after approximately 5 seconds of gameplay. I suspect the problem may be related to either the primary platform disappearing or a glitch in the platform generation mechanism.
Pausing in Phaser
I’m developing a game where if an enemy gets closer to a certain x value, the game should pause, switch to another scene. where a question will be asked. if they answer the question right, the first scene will be resumed. and all the scores will be stored, and basically the game just resumes from where it stopped