Ayer se publicó una nueva versión de la veterana biblioteca multiplataforma SDL.
Gracias a ella los programadores pueden desarrollar emuladores, game engines y videojuegos que funcionan con la misma base de código tanto en Linux como en multitud de plataformas. ¡En la versión 3.4.0 incluso incluye cambios para la PlayStation 2!
Podéis leer la lista de cambios directamente de la página de la release:
Question for you #SDL#SDL3 wizards and wizettes: I'm setting SDL_HINT_MOUSE_TOUCH_EVENTS, SDL_HINT_TOUCH_MOUSE_EVENTS, SDL_HINT_PEN_MOUSE_EVENTS, and SDL_HINT_PEN_TOUCH_EVENTS all to zero, but my program occasionally receives SDL mouse button and mouse moves events for some but not all touch events in addition to the expected correct behavior of actually receiving touch events. Is this, too, a linux, or did I screw up something somewhere?
an image of my game engine running in an itch.io page.
the engine primarily targets desktop & playdate using native code (C), which traditionally is harder to share with non technical users during development.
I was thinking of moving the #sdl3#vala vapis onto ether sourcehut or codeberg...
I mean if the main objective is to really divest as much as possible from big tech, github must be one of those.
I was thinking to leave codeberg for public projects and pay of sourcehut for private repos. Makes sense in general.
I would probably leave a github mirror for the vapis for the sake of availability, but in the end just trying to divest as much as possible from US hosted tech.
Decided to try writing a Wayland compositor for fun. Took me a few days to get things going to a video-able state.
This is scrollable tiling, heavily inspired by PaperWM (which I'm still using and very much enjoying). You've got an infinite strip of windows that you can scroll through.
It's also got dynamic workspaces which work like in GNOME Shell (the Correct™ way to do workspaces), but all monitors have workspaces.
Turns out that if you implement xdg-decoration in your compositor but tell clients that you want CSD, then SDL2 + libdecor clients will break due to a bug. The bug is already fixed, but the fix hasn't made it to any SDL2 release yet, let alone all the runtimes and vendored copies.