Attach fire onto player sprite on a dynamic point

How do I…

I am developing a game for sea battles. My player sprite is a gunship which is long. When it is hit by a cannon bullet, it will fire.

What is the expected result

The fire point shall be exactly where it is hit.

What is the actual result

I can only edit points on my player sprite manually to attach the fire object on it, but I cannot foresee where the hit point is. Is there any way to achieve this dynamically?

Thank you!

When the bullet hits the gunship, create the fire sprite at the location of the bullet sprite. Do this before you delete the bullet sprite.

MrMen told you what to do if your ship is not moving when taking hit

If fire should stick to your ship and that ship is moving you could try sticker extension

2 Likes