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

#1 2010-12-12 13:36:34

nonpowner
New Scratcher
Registered: 2010-12-11
Posts: 12

Kills

For those of you who have read my posts, This is to do with the space shooter

I tried having a go at making kills, I Put on the opponant "if touching color yellow (which is the color of my lazers) change kils by 1 "

ANd nothing happens? Am I doing somthing wrong here?

Offline

 

#2 2010-12-12 13:39:18

StrykerV
New Scratcher
Registered: 2010-06-15
Posts: 51

Re: Kills

Did you put a forever block?


99.9999% Crazy, 0.0001% Hamburgeh Makeh  smile

Offline

 

#3 2010-12-12 13:46:30

nonpowner
New Scratcher
Registered: 2010-12-11
Posts: 12

Re: Kills

No,  now I have another prob  I have 2 lazers, And I need them to like if they touch the opponents, kill goes up by one, Code you do one of those picture codes for me Im a newb here

Offline

 

#4 2010-12-12 13:49:54

StrykerV
New Scratcher
Registered: 2010-06-15
Posts: 51

Re: Kills

Try putting the scripts in the two lazers
When Green Flag Clicked
Forever
If touching color of enemy
Change kills by 1
wait until not touching color of enemy

Put this is both of the lasers.


99.9999% Crazy, 0.0001% Hamburgeh Makeh  smile

Offline

 

#5 2010-12-12 14:00:19

nonpowner
New Scratcher
Registered: 2010-12-11
Posts: 12

Re: Kills

How Do I gety  a "not" button for Untill not touching color of enemy?

Offline

 

#6 2010-12-12 14:05:15

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: Kills

Like this:
[blocks]<wait until> <not> <touching color[ yellow >>[/blocks]

Offline

 

#7 2010-12-12 14:13:06

nonpowner
New Scratcher
Registered: 2010-12-11
Posts: 12

Re: Kills

Thanks, yet another prob now, I got kills to work and everrything now But when I kill them they hide for a few seconds problem is I can still shoot it and get a score from it, can like somhow make it tempararily invincible for the time that it is hiding, or can you tell me some way to get around this problem?

Offline

 

Board footer