#spritebatching — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #spritebatching, aggregated by home.social.
-
I created a Simple Sprite Batcher for SFML. It batches them for you automatically and improves performance! Work with your normal sprites!
It's a part of my SFML Snippets repository on GitHub:
https://github.com/Hapaxia/SfmlSnippets
and also available on the SFML wiki:
https://github.com/SFML/SFML/wiki/Source:-Simple-Sprite-BatcherThe (small) class is there along with an example program.
Here's a video using it (excuse the compression issues):
Sprite batching in SFML https://youtu.be/2P13hhMgeFs?si=dbsmnlt7NqKhy4pJ