Pause bug with do every seconds

arcdragon

  • Posts: 35
Hi.Everyone.Excuse me.

When Stencyl used "do every seconds", Pause don't work...
For example, When there is "create" in the do every seconds,
pause don't work. In addition, scene always continue to create actor.

Please Help me.
Thank you.


« Last Edit: April 02, 2012, 11:48:16 pm by arcdragon »

frez

  • Posts: 24
You can attach this behavior to an actor maybe. If the game is paused the actor will be paused and the bullet won't be created.

1MrPaul1

  • *
  • Posts: 1285
add this code
Do every 1 second
If not game is paused
create bullet......

arcdragon

  • Posts: 35
Hi. frez. 1MrPaul1. Thank you for reply.
I succeeded! Both ways is very nice!
I really appreciate it!