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

#1 2012-05-20 21:50:43

Zparx
Scratcher
Registered: 2011-03-23
Posts: 500+

Help. (Advanced Scratchers Only)

Please if someone could help me I would be oh so grateful. Have a look at this picture, it explains everything: ***Click here to see the picture!*** Excuse my spelling. It was supposed to say "function"*** 


Thank you in advance!!!!!

Last edited by Zparx (2012-05-20 21:51:03)


http://images3.wikia.nocookie.net/__cb20101119183412/halo/images/4/43/Hero2.png
^ My rank on Halo: Reach :3

Offline

 

#2 2012-05-20 22:00:36

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: Help. (Advanced Scratchers Only)

Okay, try this:

when gf clicked
forever
switch to costume [costume2 v]
set [TouchCheckID v] to (join [Sprite] (pick random (1) to (10)))
if <touching (TouchCheckID)?>
switch to costume [costume1 v]
if <([bullet v] of [sprt2 v]) = [0]>
broadcast [boom v]
end
wait (1) secs
end
switch to costume [costume1 v]
end

Offline

 

#3 2012-05-20 22:05:25

Zparx
Scratcher
Registered: 2011-03-23
Posts: 500+

Re: Help. (Advanced Scratchers Only)

amcerbu wrote:

Okay, try this:

when gf clicked
forever
switch to costume [costume2 v]
set [TouchCheckID v] to (join [Sprite] (pick random (1) to (10)))
if <touching (TouchCheckID)?>
switch to costume [costume1 v]
if <([bullet v] of [sprt2 v]) = [0]>
broadcast [boom v]
end
wait (1) secs
end
switch to costume [costume1 v]
end

OHMSDHHKDHK THANK YOU SO MUCH! YOU ARE A GENIUS!


http://images3.wikia.nocookie.net/__cb20101119183412/halo/images/4/43/Hero2.png
^ My rank on Halo: Reach :3

Offline

 

Board footer