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

#1 2011-05-26 13:04:20

PaperDoll
New Scratcher
Registered: 2011-05-24
Posts: 2

Help!

I'm still a noob in this. How can I connect different backgrounds? And can you guys tell me the scripts to create a quiz game? Thank you.  smile

Offline

 

#2 2011-05-26 13:40:04

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: Help!

What do you mean with "connecting backgrounds"?


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#3 2011-05-26 16:28:47

undefeatedgames
Scratcher
Registered: 2011-05-22
Posts: 1000+

Re: Help!

PaperDoll wrote:

I'm still a noob in this. How can I connect different backgrounds? And can you guys tell me the scripts to create a quiz game? Thank you.  smile

Do you mean switching switching from one background to the next? D


Please call me udg or bearsfan, not undefeated.
Scratch and Misc.! Click here for Misc.'s Successorhttps://lh3.googleusercontent.com/-jkhes3yzmQk/T7G_BnxT9xI/AAAAAAAABYI/xhoN1Jk2M08/s513/sigp1.gif

Offline

 

#4 2011-05-27 22:45:58

PaperDoll
New Scratcher
Registered: 2011-05-24
Posts: 2

Re: Help!

Something like that. Like when the sprite touches this color, then the background changes. I have tried the advice from the other threads but it didn't work.

Offline

 

#5 2011-05-27 23:02:59

Sunrise-Moon
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Help!

This goes on the sprite:
When green flag clicked
Forever
If <touching color []>
Broadcast [Switch!]
End if
End forever

Put this on the background:
When broadcast [Switch!] received
Switch to background [background2]

You can name the broadcast anything, but both scripts need to use the same broadcast.


http://i1067.photobucket.com/albums/u427/HulKDzN/RebornBlade.png

Offline

 

#6 2011-05-28 16:29:51

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: Help!

Here is an example project I made: http://scratch.mit.edu/projects/scmb1_prime/1068716
It changes backgrounds when the button is pressed.


http://i48.tinypic.com/2z5pqad.png

Offline

 

Board footer