Hello, this is me.
I’ve started an experimental project: SAF (Small Abstract Fish). It is like a super simple SDL for open consoles, it is a suckless portable interface, you can even see it as a fantasy console. It should prevent the pain of always having to port games between platforms: with SAF you write the game once and can immediately compile it for Pokitto as well as other consoles like Arduboy and also PC, web browser etc. Basically generalizing what I’ve done with Anarch.
Some basic features of the SAF console:
- 64 x 64 pixel 256 color display (332 palette) running at fixed 30 FPS.
- 8 buttons.
- Simple speaker.
- 32 bytes for save/load.
- Built-in 4x4 font (the one from Anarch).
- Resources (RAM, CPU frequency, cores, …) are not limited.
- Of course everything will be in a single header, CC0, super simple. There will be all you need for simple games (image drawing, sin/cos etc.).
There should be more advantages, for example I’ll create a script that will be able to merge multiple SAF games into one program that will let you choose which one to play from the menu. I can also add functions that emulators have (time manipulation, demo recording etc.).
Don’t know where it will go or if I abandon it but I am sharing to get some ideas and feedback. It is not usable yet but most functions are implemented already.
I’ll create some example programs if this continues so a byproduct should be a few simple games and programs.
It lives here:
Thanks