Hi,
Recently I was playing with my old BTCOD mod.
I found a way to load and display images in PNG format using SDL2 and SDL2_image libraries.
As a test I just converted one of the COMMANOD
animation frames to PNG image and displayed it on top.
Next on my list it to convert WAD file to series of PNG files and try to use it in the game engine.
I already found what needs to be modified, just need to double check if it will not crash the game engine.
Do you have any ideas how loading resources PNG format might be used?
I was also playing with adding scaling possibility to the game engine.
For now I can control size of each part of the game window separately.
My idea is to force map view to draw to separate buffer then scale this buffer and draw it in the game windows.
Edited by malik_cjm, 16 March 2025 - 09:06 PM.