4 ms·
Having given the apelife source a glance, it seems quite possible to me; it already shows you how to create a window on Win32. And SDL2 has already been ported
by gary_0 6y ago
Having given the apelife source a glance, it seems quite possible to me; it already shows you how to create a window on Win32.
And SDL2 has already been ported to Emscripten/WASM after all, and OpenGL is really no trouble, since it's usually accessed through a mostly platform-agnostic C API wrapper already (see for example, https://github.com/Dav1dde/glad https://github.com/Dav1dde/glad ).
And maybe you could use MinGW to support POSIX on Win32...