I am still able to move my player (sprite) while game is paused. How can i stop this from happening. I am using monaca.io to build this C2 game. Can somebody let me know what to implement and in what file. (ie. index.html, config.xml, etc?)
you must set the time scale to 0 when pause the game, and later when click in resume or play set the timescale to 1.
Develop games in your browser. Powerful, performant & highly capable.
you don't need implement nothing, you only need set the time scale's.