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

#1 2008-08-10 02:32:31

bevsta
Scratcher
Registered: 2008-08-10
Posts: 6

Help with a script

hey all, im doing an assessment on scratch, well im stuck on this, and wondering if anyone can
help me?
well  i this and it dont work

when i receive level2
<switch to background - level 2>
wait 4 secs
switch to bacground -game 2.



when my broadcast comes up "background level2" comes up but doesnt go to "background game 2 after 4 secs,

what am i doing wrong? thanks

Offline

 

#2 2008-08-10 02:41:52

deatheater
Scratcher
Registered: 2008-04-11
Posts: 1000+

Re: Help with a script

set the "4" in "wait 4 seconds" to how long u want to wait till it changes

Offline

 

#3 2008-08-10 03:31:17

bevsta
Scratcher
Registered: 2008-08-10
Posts: 6

Re: Help with a script

i did that, but it only goes to my first background, it doesnt change after 4 seconds

Offline

 

#4 2008-08-10 03:35:27

deatheater
Scratcher
Registered: 2008-04-11
Posts: 1000+

Re: Help with a script

could there be another script intefering etc, u accidentally put switch to bacground -game 2. on a
<when I receive[ level2
<forever>
<end>
script

Offline

 

#5 2008-08-10 04:05:43

bevsta
Scratcher
Registered: 2008-08-10
Posts: 6

Re: Help with a script

i wish it was but its not, i checked it,  sad

Offline

 

#6 2008-08-10 04:12:09

TheCatAndTheBanana
Scratcher
Registered: 2008-03-21
Posts: 1000+

Re: Help with a script

try having the level as a difrent sprite, it worked on a platformer i never shared...
in the level sprite enter


<when green flag clicked>
<forever>
<switch to costume[ bacround # of stage.
<end>

Last edited by TheCatAndTheBanana (2008-08-10 04:16:13)


My Newest Project!
Ceta? wat r u doin? CETA! STAHP!

Offline

 

#7 2008-08-10 04:18:38

bevsta
Scratcher
Registered: 2008-08-10
Posts: 6

Re: Help with a script

Thanks guys  big_smile   big_smile   big_smile  i figured the problem, silly mistake, i  had the it
switch to background 2
wait4secs
switch to background 2

Offline

 

Board footer