Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do i kill a clone enemy with a clone projectile
- JonathanIsJony
-
Scratcher
1000+ posts
how do i kill a clone enemy with a clone projectile
please help
- -CyberVoid-
-
Scratcher
23 posts
how do i kill a clone enemy with a clone projectile
when green flag clicked
forever
broadcast [tick v]
end
when I receive [tick v]Hope this helps!
if <touching [projectile v] ?> then
delete this clone
end
- FancyTigerDustBall
-
Scratcher
100+ posts
how do i kill a clone enemy with a clone projectile
You would do something like this:
when I start as a clone
forever
if <touching [Projectile v] ?> then
delete this clone
end
...
end
- JonathanIsJony
-
Scratcher
1000+ posts
how do i kill a clone enemy with a clone projectile
sorry, but i'm not making a sprite just for the projectile, but i do appreciate the help!when green flag clicked
forever
broadcast [tick v]
endwhen I receive [tick v]Hope this helps!
if <touching [projectile v] ?> then
delete this clone
end
- FancyTigerDustBall
-
Scratcher
100+ posts
how do i kill a clone enemy with a clone projectile
If the projectile doesn't have a sprite how is it represented? Is it a coordinate rendered by pen?sorry, but i'm not making a sprite just for the projectile, but i do appreciate the help!when green flag clicked
forever
broadcast [tick v]
endwhen I receive [tick v]Hope this helps!
if <touching [projectile v] ?> then
delete this clone
end
- JonathanIsJony
-
Scratcher
1000+ posts
how do i kill a clone enemy with a clone projectile
no? i don't even know how to use a penIf the projectile doesn't have a sprite how is it represented? Is it a coordinate rendered by pen?sorry, but i'm not making a sprite just for the projectile, but i do appreciate the help!when green flag clicked
forever
broadcast [tick v]
endwhen I receive [tick v]Hope this helps!
if <touching [projectile v] ?> then
delete this clone
end
though i do suppose i need a new sprite
- BrainGamer1234
-
Scratcher
18 posts
how do i kill a clone enemy with a clone projectile
needs a new sprite for projectiles or you can detect touching a colour, but it would require said colour to be unique to said projectile,
- Discussion Forums
- » Help with Scripts
-
» how do i kill a clone enemy with a clone projectile