Discuss Scratch

EvilCookie36
Scratcher
100+ posts

I need someone to make a script for me

I need help scripting my project, someone who knows how to do this:
when green flag clicked
if <touching [particle]?>
bounce

…just with real blocks…
Thanks!

Last edited by EvilCookie36 (Jan. 30, 2014 18:51:56)


EvilCookie36 apologises for any mean/rude comments that may have been said above. He's a jerk.
Morfeus
Scratcher
16 posts

I need someone to make a script for me

when green flag clicked
if <touching [ particle]?> then

repeat (10)

change y by (10)
end
end

when green flag clicked
if <Sleeping> then
think [Here you have your dream about... Scratch!]
end
Morfeus
Scratcher
16 posts

I need someone to make a script for me

Morfeus wrote:

when green flag clicked
if <touching [ particle]?> then

repeat (10)

change y by (10)


end
repeat (10)
change y by (10)
end
end
end

Sorry, missed some blocks

Last edited by Morfeus (Jan. 30, 2014 19:13:38)


when green flag clicked
if <Sleeping> then
think [Here you have your dream about... Scratch!]
end
EvilCookie36
Scratcher
100+ posts

I need someone to make a script for me

Tried it, didnt work.
The particles keep moving in random directions, btw.

EvilCookie36 apologises for any mean/rude comments that may have been said above. He's a jerk.
scratchhacker3000
Scratcher
500+ posts

I need someone to make a script for me

when green flag clicked
if <touching [particle]?>
point in direction ((direction) + (180))
end

If you put this in your move scripts than the sprite will face in the opposite direction before moving again when it touches the particle.

Last edited by scratchhacker3000 (Jan. 30, 2014 22:21:18)


Want to know if you're a great scratcher? Take this test!

1. Are you kind?

If yes, you're a great scratcher!

Powered by DjangoBB