How do I make a projectile fire from my sprite?
id: 749438
category: Help with Scripts
posts: 3
Mar 22, 2024 14:57:43
How do I make a projectile fire from my sprite?
view on scratch
view on legacy ocular
dampag9
loading
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.
Mar 22, 2024 15:00:21
How do I make a projectile fire from my sprite?
view on scratch
view on legacy ocular
JacksterBobster
loading
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
Mar 22, 2024 15:06:00
How do I make a projectile fire from my sprite?
view on scratch
view on legacy ocular
Ghxstify2009
loading
To add on to the above comment you will have to associate a key with the attack.