Multiple single big images vs many small images for parallaxing stars? ✨

Just wondering in general what is a better strategy for optimization for a parallax background in a space shooter game.

I can do two big sprites that are larger than the height of the screen that just scroll infinitely, which would require less sprites on screen but would mean more screen updates, or i can dynamically generate stars, which would be many smaller sprites but less overall screen updates.

1 Like