Discuss Scratch

IAmNagg
New Scratcher
2 posts

How do i make a projectile appear in front of a sprite?

So when you press Space, you shoot a shuriken. But if you turn around, the shuriken appears behind you. Is there a way to make it appear where the sprite is facing?
Robot732
Scratcher
47 posts

How do i make a projectile appear in front of a sprite?

Yes, there is a way. When you shoot the shurkin, you can check which direction the cat is facing. If the cat is facing to the right, then you position the shurkin to the right, and if the cat is facing to the left, then position the shurkin to the left.

If you would like any help, feel free to ask!

Last edited by Robot732 (May 28, 2023 11:23:33)

cooldude-222
Scratcher
100+ posts

How do i make a projectile appear in front of a sprite?

Yes. Can you share your project so I can see the code you have so far.

Powered by DjangoBB