First post, by Fabrizio Caruso
Hi everyone,
I am the author of Cross-Lib (https://github.com/Fabrizio-Caruso/CROSS-LIB/).
Cross-Lib is a universal 8-bit framework to develop retro-games in C for about 200 different vintage consoles, computers and all sort of other devices (arcade boards, hacked toy computers, hand-helds, etc.). Cross-Lib is WORA, i.e., write once, (compile it) and run it anywhere. The *very same code* is capable of auto-adapting to all systems despite the hardware differences (colors, graphics, sounds, screen size, etc.). Cross-Lib supports simple graphics, roughly similar to that of a Sinclair ZX Spectrum or MSX 1 computer.
The way this is done, for the most part, is by providing an abstraction layer (a library with common APIs for all targets). Cross-Lib also uses scripts to handle graphics assets and automatically convert them for any system. Cross-Lib also include some scripts to produce template game code to speed up the initial development of a game.
So far I have written 5 games with it.
For example:
Cross Horde: https://github.com/Fabrizio-Caruso/CROSS-LIB/ … s/tag/XHorde1.0
Cross Snake: https://github.com/Fabrizio-Caruso/CROSS-LIB/ … s/tag/XSnake2.0
Other binaries are in:
https://github.com/Fabrizio-Caruso/CROSS-LIB/releases