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:
Thomas
2026-03-01 17:49:14 +00:00
parent 6c4b076c68
commit fdba6ef077
3 changed files with 50 additions and 3 deletions

BIN
assets/sprites/earth.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB