Discuss Scratch

dampag9
Scratcher
1 post

How do I make a projectile fire from my sprite?

I'm trying to make a game but I can't figure out how to make a projectile shoot without the projectile following the inputs of the sprite.
JacksterBobster
Scratcher
84 posts

How do I make a projectile fire from my sprite?

In the sprite for the projectile, have this script:

when I start as a clone
go to (player v)
point in direction ([direction v] of [player v])
repeat until <whatever makes the projectile get deleted>
move [whatever] steps
end
delete this clone

What is the minimum level of cyberbullying allowed on Scratch? There are some people I'd like to point and laugh at.
play sound [L4D hunter scream v]
if <(survivor) = [Coach]> then
say [Careful, y'all. Hunter around]
end
forever
play sound [L4D jockey giggle v]
end
Ghxstify2009
Scratcher
100+ posts

How do I make a projectile fire from my sprite?

To add on to the above comment you will have to associate a key with the attack.

Hello! I hope I helped answer your question.

Powered by DjangoBB