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

#1 2011-01-10 16:07:34

madkin
Scratcher
Registered: 2011-01-05
Posts: 2

How to Create Maze? Variable Trouble

I have the main part down, but how would I configure the variable so that when it touches the one part, it stops moving?  I did it right, but it's not configured.

Thank You  smile

Offline

 

#2 2011-01-10 16:52:02

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: How to Create Maze? Variable Trouble

I'm not sure I understand.  It sounds like the variable is moving, and I don't think that's possible with Scratch.

Last edited by MoreGamesNow (2011-01-10 16:52:13)


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#3 2011-01-11 10:02:25

madkin
Scratcher
Registered: 2011-01-05
Posts: 2

Re: How to Create Maze? Variable Trouble

It is, I basically copied another maze that works like that, and they used variables.  I did what they did but it still didn't work.

Offline

 

#4 2011-01-11 10:04:02

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: How to Create Maze? Variable Trouble

madkin wrote:

It is, I basically copied another maze that works like that, and they used variables.  I did what they did but it still didn't work.

Have you shared your project to the website?  It's a lot easier to figure out what might be wrong if we can look at the scripts.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#5 2011-01-12 22:33:19

kingofdallamas
Scratcher
Registered: 2010-03-07
Posts: 500+

Re: How to Create Maze? Variable Trouble

I'm not sure what you are trying to say, but try using this:
The sprite or color is the thing you are saying when touching the certain thing to make the main sprite stop.

When touching <sprite> or <color>
<stop all>
or <stop script>

<stop script> will allow the movement of the sprite to be halted at that point.

Again, this is what I think you are trying to say. Hope this helps!   smile


http://i853.photobucket.com/albums/ab99/Gilgamesh1192/Ninja%20Saga/ElementalJutsus2.gifhttp://i27.photobucket.com/albums/c192/BoomKaTish/GIF/thgfhgfhfhgf.gif
ハロー友だち!

Offline

 

#6 2011-01-12 23:01:47

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: How to Create Maze? Variable Trouble

you can use this.
just change the script whenever you see bright green to the color of your wall
or change your wall to that color.

Offline

 

Board footer