I have a game with moving background (like Floppy Bird), I did this to pause the game but still count the score!
Can anyone help me, please
Develop games in your browser. Powerful, performant & highly capable.
Not sure exactly how you coded the score counter, but one way you could do this would be to add another condition to the score counter event so that it only happens when the timescale is normal.
eg. if timescale=1, add to score counter
When you change the timescale to pause, the counter will stop counting