home.social

#sdl3 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sdl3, aggregated by home.social.

fetched live
  1. Juha 'capehill' Niemimäki has released version 3.4.14 of the SDL multimedia library for AmigaOS 4.

    amiga-news.de/en/news/AN-2026-

  2. Progress update on Principia touch support: All TMS_BACKEND_PC (and _MOBILE) compile-time ifdefs that primarily gated touch code exclusive to Android are now completely gone!

    Now your experience on touchscreen Linux devices should be about on par with the Android version of Principia when you tick "Enable touch controls" in the settings. This also goes well with the new `use_gles` in settings.ini to switch to OpenGL ES without recompiling!

    New release coming soon but I would appreciate if people could also build and test master to see if I've missed anything (we've also upgraded to #SDL3 so plenty that can go wrong). I should hopefully also try to get Principia packaged in #AlpineLinux in time for the next release. You know where I'm going with this! :) (ooo... #postmarketOS ...)

    #foss #opensource #gaming #mobilelinux #linuxmobile

  3. For the past couple days I have been working on migrating Principia to #SDL3. I did a first pass on the migration a while back but with some things stubbed out.

    There's... not much to show now that everything works like it should, but plenty of code cleanups as a result! Some functions that have been replaced with new SDL3 functions, the main entrypoint code has been rewritten to use SDL3's callbacks meaning less per-platform stuff for the web version, and so on. Very satisfying.

    #foss #opensource #gamedev #sdl

  4. RE: mastodon.gamedev.place/@0x0961

    So for those who are interested how I achieved such numbers.

    First of all I implemented a thing very heavily inspired by Doom Eternal's rendering solution. So they have a thing called "dynamic draw call merging" where they run a compute shader that looks at a huge buffer containing all the geometry data and then they produce index buffer and push it into GPU.

    simoncoenen.com/blog/programmi

    #gamedev #graphicsprogramming #sdl3 #odin #vulkan

  5. Juha 'capehill' Niemimäki has released version 3.4.8 and version 2.32.10 of the SDL multimedia library for AmigaOS 4.

    amiga-news.de/en/news/AN-2026-

    amiga-news.de/en/news/AN-2026-

  6. RE: mastodon.gamedev.place/@Smohc_

    After four months, I've finally worked out all the audio bugs and all I had to do was completely rewrite my entire code base.

    Instead of focusing on X11, I decided to just let SDL3.0 handle all the cross-compatibility nonsense. Now I have access to Windows, Linux, Android and WebGL implementations.

    My triangle wave generator was broken though. Nothing on stack overflow worked. Here's the REAL formula I used to fix it: mathworld.wolfram.com/Triangle

    #programming #solodev #indiedev #devlog #SDL3

  7. When you're working with SDL3 there are extra headers that aren't included. Image, mixer, ttf, and net are seperated out. These are official extensions to the library, so I'm a little curious why. Except for ttf, everything is under the zlib license so it's not that. Maybe someone out there has more information...

    #programming #solodev #devlog #sdl3

  8. One common issue I see online is that people don't always have the package for SDL that matches mingw. I see a lot of complaints about the problems but no one has a general solution.

    32-bit windows exe:
    mingw-w64-i686-gcc
    mingw-w64-i686-sdl3

    64-bit windows exe:
    mingw-w64-x86_64-gcc
    mingw-w64-x86_64-sdl3

    64-bit windows ucrt (for when your using native windows cmd):
    mingw-w64-ucrt-x86_64-gcc
    mingw-w64-ucrt-x86_64-sdl3

    #programming #solodev #devlog #sdl3

  9. Today I ran into two issues with the SDL3 documentation.

    First is the intro to mingw. It guides the user to ucrt. Works great for x86_64 but the i386 libraries don't exist. Compiling with -m32 everything breaks.

    So you might as well compile SDL yourself. Great... except you have to know the secret to debloat the executable.

    Check this link out for more info:
    voxelmanip.se/2024/12/14/sdl-l

    #programming #sdl3 #devlog #solodev