Here's a cool ting I managed to do for #gamedev in #vala with #sdl3
Here's a screenshot of a simple SDL3 hello world. I know it doesn't look like much but the cool thing is that I managed to this from Vala, emitting C code, and then compiling with emcc.
Now, there are caveats:
1. Used "profile=libc" so it strips glib.h from the code.
2. Used -DSDL_MAIN_USE_CALLBACKS when compiling, the SDL3 callback structure. This allows me to avoid empcripten binding (you could create one tho)


