The WHOLE of the game i'm creating, (It's a SCRATCH version of "The Sims") never involves pressing keys. just mouse clicking.
When i press pause mode, it stops scripts, but when i click live mode, they don't resume! plus, there would be sounds playing too.
Can you please help me?
Kudos for anyone that can help!
Offline
For the pause button, try this. The pause button. Costume 1 would be the pause button, costume 2 would be the resume button.
when [pause button] clicked if <(costume#) = (1)> wait until <not<mouse down?>> set [mode v] to [pause] switch to costume [costume2 v] end if <(costume#) = (2)> wait until <not<mouse down?>> set [mode v] to [resume] switch to costume [costume1 v] endFor all of the other sprites, surround the scripts with:
when gf clicked forever if <(mode) = [resume]> everything that sprite is supposed to do end endHope this helps!
Offline
Here's a modified version:
when [pause button] clicked set [pause v] to [pause] end when [resume button] clicked set [pause v] to [resume] endSurround every other sprite's scripts the way I showed you before. Hope I helped!
Last edited by powerpoint56 (2012-07-12 13:29:20)
Offline