I extracted my little sprite renderer I wrote some time ago into an example repo. It's written in @odinlang using @FlohOfWoe's sokol headers: it renders sprites to an 320x180 offscreen and scales it up to match the display. It was a fun introduction gfx programming! Link ⤵️

Jan 20, 2025 · 4:11 PM UTC

3
3
18
As seen in the README: I am new to this and gfx programming seems to be the deepest of rabbit holes! It solves my problem but I would love feedback if there is anything obvious I can do better, be it shaders or the source code. Thank you. I'm just getting started.🤠
1
2
Also, I am not sure how this runs on Linux. It should but I haven't tested it. It ran on my Windows and macOS machine when following the instructions in the README.
3
oooh this looks nice, finally there is a good example out there
1
4
Thank you! And thank _you_ for helping me with the instancing and removing the dynamic array 😎
1
I started on a similar thing but I haven’t gotten around to texture mapping yet. Will check out the repo later
1