05-04-2020, 07:44 AM
Tip for porting:
The built-in windowing module that uses SDL2 to manage the window and input, is an isolated component, independent from the rendering engine itself. Tilengine was designed to be used as a backend renderer for any host application providing its own framework. You can easily discard Window.c and use any native environment these devkits provide instead. Of course you'll lose window features (input handling, CRT effect...) but you should be able to integrate it wherever you need.
Here is the documentation explaining how to use it as a stand-alone renderer without its own windowing system:
http://www.tilengine.org/doc/autotoc_md31.html
The built-in windowing module that uses SDL2 to manage the window and input, is an isolated component, independent from the rendering engine itself. Tilengine was designed to be used as a backend renderer for any host application providing its own framework. You can easily discard Window.c and use any native environment these devkits provide instead. Of course you'll lose window features (input handling, CRT effect...) but you should be able to integrate it wherever you need.
Here is the documentation explaining how to use it as a stand-alone renderer without its own windowing system:
http://www.tilengine.org/doc/autotoc_md31.html