I'm building what a sprite instancing system, which means I'm building a particl...
aeva @aeva@mastodon.gamedev.place
I'm building what a sprite instancing system, which means I'm building a particle system. I'm tracking their positions in a repeating coordinate space such that they can move and scroll past endlessly. These are drawn with pre-multiplied alpha blending and sorted in back-to-front order.
However, because the sprites can overlap, the draw order can change as they move. As a work around I made it so they only re-sort when out of view, but that can lead to oddities when the camera moves.