When I use local storage to save in my game, in some cases it works, but in others the game freezes in debug mode, and in normal mode no buttons or anything work except the animations. How do I fix this?
Develop games in your browser. Powerful, performant & highly capable.