Godot Sprite2D Flips but the Muzzle Stays Put
Use an asymmetric sprite and a Marker2D to verify texture facing, spawn position and shot direction separately.


The turret now faces left but the projectile still spawns on the right. Sprite2D.flip_h changes the drawn texture. Check the child marker in the scene before assuming it followed the artwork.
Make the test visibly asymmetric
Use a centered asymmetric texture with zero sprite offset. Add a child Marker2D named Muzzle at local (12, -3). Record its world position and toggle only flip_h. The texture should turn while the marker retains its local coordinates and, with the same node transforms, its world position.
Check where the shot starts and where it travels
For a symmetric setup, keep the base muzzle position and derive (12, -3) for right and (-12, -3) for left. Derive from the base rather than repeatedly negating the current coordinate. Spawn using the marker’s global position. Compute the firing direction separately, and convert the local direction to world space if the parent rotates.
Fire in both directions and test once with a rotated parent. A correct spawn heading the wrong way points to direction logic. An incorrect spawn with the correct heading points to marker placement, trim or sprite offset. Prepare the art with the sprite sheet packer and make the final check in the Godot scene.
Recommended tools

Sprite Sheet Splitter Guide: Extract Animation Frames for 2D Games
Learn how a sprite sheet splitter extracts clean animation frames from character sheets, VFX sheets, tiles, UI sprites, and AI-generated game assets.

Best Sprite Sheet Packer Settings for Indie Game Assets
A practical SEO-friendly guide to sprite sheet packer settings, including atlas size, padding, trimming, extrude, rotation, metadata, and recommended export settings for 2D game assets.

Smart Sprite Sheet Packer: A Practical Guide for 2D Game Developers
Learn how a smart sprite sheet packer helps indie game developers combine PNG assets into clean texture atlases with metadata for Unity, Cocos, Godot, and custom 2D game engines.
Ready to try "Godot Sprite2D Flips but the Muzzle Stays Put"?
Use our online tools to apply this tutorial to your indie game project right away.
