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

#1 2010-10-08 16:37:14

heXX
New Scratcher
Registered: 2010-10-08
Posts: 3

maze

im going to make a maze game but i go through . help, please

Offline

 

#2 2010-10-08 16:39:05

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: maze

Well, you're asking a pretty broad question. What do you need help with?

Offline

 

#3 2010-10-09 20:26:55

platform710
Scratcher
Registered: 2010-04-23
Posts: 100+

Re: maze

heXX wrote:

im going to make a maze game but i go through . help, please

what do you need help with? movement? level change?


http://i54.tinypic.com/2wn8hnb.gif

Offline

 

#4 2010-10-09 20:36:53

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: maze

You mean go through the walls?  I'll need to see your scripts but pretty much all you need to do is ad this inside every arrow script:

change (x,y) by (desired amount)
if <touching color (maze color)>
   change (x,y) by (desired amount x -1)
end if


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#5 2010-10-16 05:12:44

kitty_123
Scratcher
Registered: 2010-10-16
Posts: 1

Re: maze

How do i make a maze? i tried but my sprite just walked through the walls!
smile

Offline

 

Board footer