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

#1 2012-06-28 11:50:08

Frankie101
New Scratcher
Registered: 2012-06-28
Posts: 28

Changing levels

Hi, just wondering if any one knows how to change backgrounds after, say, someone is splat with a tomato? Sorry thats a bit random :L Because I need to know by Sunday as a school project is due monday  hmm  Thanks x

Offline

 

#2 2012-06-28 11:57:25

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: Changing levels

use broadcast and receive blocks
when the tomato hits the guy, make it so it broadcasts, say, "tomatohit" and when the stage receives "tomatohit" the background changes

Offline

 

#3 2012-06-28 12:04:28

Frankie101
New Scratcher
Registered: 2012-06-28
Posts: 28

Re: Changing levels

How do I do that? I'm not used to Scratch, sorry!  hmm

Offline

 

#4 2012-06-28 12:47:04

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Changing levels

when gf clicked
wait until <touching [tomato v]>
broadcast [tomatohit v]

when I receive [tomatohit v]
next background


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#5 2012-06-28 12:51:36

Frankie101
New Scratcher
Registered: 2012-06-28
Posts: 28

Re: Changing levels

Thankyou!  smile

Offline

 

Board footer