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

#1 2010-01-31 14:17:20

M4573r
Scratcher
Registered: 2010-01-31
Posts: 12

Problem scripting

I have to do a school project adn I am doing a game. I have run into a problem with the scripting that would change the stage from one type to another. The doors are red. Here is the script:

<when green flag clicked>
<forever>
<if><(  <{ vs }><=> 0 )>
<if><(  <{ gs }><=> 1 )>
<forever if><( <{ RV }> <>>0  )>
<if><touching color[ red ]
<change{ RV }by( 1 )
<end>
<end>
<else>
<broadcast[ NDS ]
<end>
<else>
<set{ RV }to(54)
<end>

Offline

 

#2 2010-01-31 14:50:42

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Problem scripting

That script is really confusing me, it seems to be more complicated than necessary. Can you post it in a project so that I can see the problem?


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#3 2010-01-31 19:40:17

M4573r
Scratcher
Registered: 2010-01-31
Posts: 12

Re: Problem scripting

Sure how do I post my project???

Offline

 

#4 2010-01-31 19:46:32

M4573r
Scratcher
Registered: 2010-01-31
Posts: 12

Re: Problem scripting

I posted my project! Plz give help advice.

Offline

 

Board footer