@psykose it works! And if it doesn’t, we consider it a bug to be fixed.
We have binaries for Loki games from 1999 working this way. :)
@psykose it works! And if it doesn’t, we consider it a bug to be fixed.
We have binaries for Loki games from 1999 working this way. :)
There is a massive document on everything you need to migrate from SDL2. It covers literally every symbol that changed from SDL2 to SDL3.
https://wiki.libsdl.org/SDL3/README/migration
And I plan to do some YouTube videos to show how to migrate your game. It took me about an hour of poking around to get ioquake3 ported last night, I'm going to do it from scratch tomorrow and record it, explaining the details as I go. Stay tuned. :)
Besides, don't you want to play with some of these new toys?
@Conan_Kudo It's ready, too! We built it in parallel from the start this time. :)
@vv221 @Conan_Kudo We learned a lot from sdl12-compat, among the lessons was that it was useful to a much wider audience than we expected--not just hacker hobbyist types, but literally entire Linux distros--and also that waiting years to start it was a massive mistake, because we had to figure out incompatibilities as we worked on it.
For sdl2-compat, whenever we broke compat in SDL3, we had to make a matching commit in the compat library to deal with it.
Smartest thing we ever did.
@dalias Getting a comment like this from the musl maintainer is like the most flattering compliment I've gotten in a long time. :)
SDL3 has hit ABI lock!
You can now trust the interfaces to stay stable. We will _add_ but not _remove_ or _change_ what's there, so it's safe to migrate your game to it!
https://github.com/libsdl-org/SDL/releases/tag/preview-3.1.3
We're rushing to an official release from here, but what's there has been battle-hardened in Steam and DOTA2 and CS2 for over a year now, across several platforms.
Don't care about the new toys but want your SDL2 program to have the power of SDL3? We built sdl2-compat in parallel with SDL3, so you can just drop a build into your app and go:
@olafurw I'm both honored and deeply humiliated that a lot of these comments are from me, from the original Linux port I did at Loki Software.
The _exit() is there specifically because C++ game code back in the day was loaded with static destructors that usually only did two things: deallocate memory, and crash. Since one was unnecessary and the other disastrous, we'd clean up just the crucial pieces and _exit() at the end to kill the process without running them.
@mtothevizzah @olafurw I'm guessing shared libraries used atexit() because Linux a.out format didn't have the equivalent of ELF's DT_FINI and we had all just barely made the migration to ELF at this point.
As SDL3 is officially launching REALLY SOON, Sam and I are going to do an AMA on /r/gamedev, this Saturday, the 30th, at 11am Pacific/2pm Eastern. I'll post the link here right before it starts!
Ask us about anything you like! SDL, gamedev, or our favorite pizza, it's all good!
Anyone at GDC? Apparently Sam and I are on one of the playing cards in the decks they hand out, and I'd like to grab a few copies. If you can grab me a deck, I'll pay for shipping. Hit me up!
Camera support just landed in SDL3: EyeToy, anyone?
This has @kenney's new art work available now!
@a1ba you’re talking about https://thoseawesomeguys.com/prompts/ … we’re working on converting those to SVG format now. :)
"But all SDL does is say 'I know this controller, here's where its equivalent of the Xbox Y button is' to the programmer, and not 'I know this controller, here's what it looks like' to the player.
I set out to change that."
I made a little video about how the new audio subsystem in SDL3 works! I think you're _really_ going to like it!
Looking to commission an artist for an extremely small job. Hit me up if you're interested:
https://cohost.org/icculus/post/2254515-artist-commission-re
Okay, you all seem energized, so here we go! This time, with feeling!!
The Icculus Microgrant has money to give out! If you have an OPEN SOURCE PROJECT OF ANY SIZE, you are eligible!
Just reply to this toot with your project(s) and I'll put you on the list!
You can nominate other projects, too. You do not have to be American to participate; I send money in lots of currencies around the world!
details: https://icculus.org/microgrant/
So I have this problem.
I've got thousands of dollars for this year's Icculus Microgrant, and, having tried a few times, _I can't get people to ask for the money_.
Where the hell is everyone? Twitter is apparently a ghost town now, but I've only gotten a few projects that replied at all on any social media site I've tried. How do I reach people in 2023?
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.