I have this issue, I've created a a charge shot event, but it seems to be having issues when the game is paused/unpaused.
While the player holds down a button while the timescale is 1, add 1 one to charge_shot. When charge_shot is 3, and the player releases the button, spawnCharge. It works normal during regular gameplay, however if the player pauses and the game, (it sets the timescale to 0), releases the charge button, and then unpauses, the player still charging till the player presses the button again. Not sure if there's a nice solution or alliterate way of making a charge shot mechanic that won't be affected by the pause screen. Any help would be appreciated.
Develop games in your browser. Powerful, performant & highly capable.
Are you able to add a thing to your Unpause event that auto-fires or auto-cancels the charge if the player isn't pressing anything?
Yes. but it does it regardless if the player is or isn't holding down the fire button when they unpause.
Justin64 could you post a test capx