Add Earth sprite to moon parallax background
Render earth.png as a non-tiling feature sprite in the moon sky, drawn between the far starfield and near crater terrain layers. Introduce ParallaxFeature struct for single-instance background sprites that scroll with the camera but never tile. Clean up the feature reference in parallax_free to prevent stale pointers between level transitions.
This commit is contained in:
BIN
assets/sprites/earth.png
Normal file
BIN
assets/sprites/earth.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
Reference in New Issue
Block a user