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

#1 2008-11-25 19:16:31

Pacatafox
Scratcher
Registered: 2008-11-21
Posts: 25

help with bug

http://scratch.mit.edu/projects/Pacatafox/332308

can someone tell me whats wrong with this project? Also how do make it so when the red player touches any of the blues he changes costumes

Offline

 

#2 2008-11-25 20:35:50

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

Re: help with bug

Well, a couple of the players have their Point In Directions reversed...they are pointing in direction 0 when they should be pointing in 180.  Take a closer look at that.  As for making it so that the red guy changes costume when he touches any blue player, you should probably use the color sensing block:

[blocks]
<when green flag clicked>
<forever if><touching color[ Blue
<switch to costume[ Tackled
<wait( 2 )secsc>
<switch to costume[ Running
<end>

[/blocks]

... or whatever you want it to do


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

Offline

 

#3 2008-11-26 13:33:20

Pacatafox
Scratcher
Registered: 2008-11-21
Posts: 25

Re: help with bug

All the scripts for the blues are the exact same, but 2 of them get stuck in the wall.

Offline

 

#4 2008-11-26 14:44:33

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

Re: help with bug

Pacatafox wrote:

All the scripts for the blues are the exact same, but 2 of them get stuck in the wall.

When I looked at it, the two getting stuck in the wall had different scripts.  Try deleting their scripts and copying them from a blue one that works.


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

Offline

 

#5 2008-11-28 20:51:29

Pacatafox
Scratcher
Registered: 2008-11-21
Posts: 25

Re: help with bug

ty very much

Offline

 

Board footer