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

#1 2012-03-07 07:22:01

Lith_decim
New Scratcher
Registered: 2012-03-07
Posts: 5

School project HELP ME

Hi, I am new to scratch and I am making a project at school and I am basing it on Toss the turtle another flash game, I want to make it so if script 1 touches a colour it will move script 2 PLEASE HELP ME!

Lith.

Offline

 

#2 2012-03-07 09:44:45

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: School project HELP ME

Hi Lith_decim!
It looks like what you want is the

<touching color [#6A0B18]?>
to sense when one is touching. After that, you should use a broadcast.  smile

Offline

 

#3 2012-03-07 10:10:04

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: School project HELP ME

First of all, it's Sprite, not Script. Sprites are the moving images, scripts are the blocks stacked, the code.

What you want to do would be accomplished by:

when gf clicked// in sprite 1
forever if <touching color [#00FF00]?>
broadcast [move it! v]

when I receive [move it! v]// in sprite 2
move (10) steps//or whatever motion you need
wink


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4 2012-03-07 11:47:57

162597
Scratcher
Registered: 2011-08-17
Posts: 15

Re: School project HELP ME

When gf clicked
forever
if <touching color [#00FF00]?>
broadcast [move] and wait
end
end
When I Recieve [move]
move (10) steps

Last edited by 162597 (2012-03-07 11:49:30)


Check me out! I am 162597 and I have a Heim Productions Gallery because that is who I am. (I also have good games) http://www.scratch.mit.edu/users/162597

Offline

 

#5 2012-03-07 11:58:47

Overture
Scratcher
Registered: 2012-01-09
Posts: 91

Re: School project HELP ME

If you're recreating Toss the Turtle, you should probably take out the inappropriate bits if you're planning to upload it to the site


http://img856.imageshack.us/img856/4728/overt.png

Offline

 

#6 2012-03-07 15:33:23

turkey3
Scratcher
Registered: 2011-12-04
Posts: 500+

Re: School project HELP ME

162597 wrote:

When gf clicked
forever
if <touching color [#00FF00]?>
broadcast [move] and wait
end
end
When I Recieve [move]
move (10) steps

This one is right

Offline

 

#7 2012-03-09 05:22:08

Lith_decim
New Scratcher
Registered: 2012-03-07
Posts: 5

Re: School project HELP ME

Thanks guys  smile

Offline

 

Board footer