This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-07-12 08:35:44

Blayer98
Scratcher
Registered: 2012-03-22
Posts: 100+

The Sims V1.7 Live Mode Help

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!  big_smile


http://i50.tinypic.com/16lwmlj.png
The first Collab to have it's very own Cloud Variables! Coming Soon!

Offline

 

#2 2012-07-12 09:59:53

powerpoint56
Scratcher
Registered: 2012-04-19
Posts: 500+

Re: The Sims V1.7 Live Mode Help

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]
end
For all of the other sprites, surround the scripts with:
when gf clicked
forever
if <(mode) = [resume]>
everything that sprite is supposed to do
end
end
Hope this helps!


http://i48.tinypic.com/2072ctw.gif

Offline

 

#3 2012-07-12 12:03:40

Blayer98
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: The Sims V1.7 Live Mode Help

thanks for the reply...

sorry.
the buttons are seperate, and have only 1 costume.


http://i50.tinypic.com/16lwmlj.png
The first Collab to have it's very own Cloud Variables! Coming Soon!

Offline

 

#4 2012-07-12 13:29:01

powerpoint56
Scratcher
Registered: 2012-04-19
Posts: 500+

Re: The Sims V1.7 Live Mode Help

Here's a modified version:

when [pause button] clicked
set [pause v] to [pause]
end

when [resume button] clicked
set [pause v] to [resume]
end
Surround every other sprite's scripts the way I showed you before. Hope I helped!  smile

Last edited by powerpoint56 (2012-07-12 13:29:20)


http://i48.tinypic.com/2072ctw.gif

Offline

 

#5 2012-07-13 21:08:10

Blayer98
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: The Sims V1.7 Live Mode Help

ok i'll try!  smile


http://i50.tinypic.com/16lwmlj.png
The first Collab to have it's very own Cloud Variables! Coming Soon!

Offline

 

Board footer