As I’ve been looking into the possibility of porting the Gamebuino META library, I’ve gotten this idea:
How about we create an abstract API, independent of the HW, which if used would allow compiling the game for most open consoles like Pokitto, Arduboy, Gamebuino, …?
Nowadays with each new platform we have to port a number of libraries there and back in order to port games. It’s not wrong, but mostly it’s an unnecessary amount of work.
The API that would be above all these libraries would probably have some limitations and wouldn’t allow exploiting the HW to the fullest, but it would suit most games. It would be like Unity/Godot for open consoles – write the code once and export to whatever platform, for a price of some performance and capabilities of course.
Now the good part would be this: the supported export platform would include the PC. Think about it: you could comfortably develop games in a way you’re used to, for each platform the same, even if it’s new and lacks a comfy emulator. Use your favorite debugger etc. And get a small PC game for free.
The library could also support settings that would allow interesting experiments – for example how to display a game that uses color on a black and white display – you could choose between dithering, “blinking” shades of grey and so on. Plus some higher level functions such as save game that could use each platform’s preferred way of doing so.
Just an idea to talk about. What do you think?