Загрузка...

Scion2D C++ Game Engine | Ep. 101 – Migrating to SDL3 from SDL2 (Part 3 – Audio & Final Fixes)

🎮 Scion2D Update – SDL3 Migration Finished!

Welcome back everyone, my name is Dustin!

In this episode, we wrap up the SDL2 → SDL3 migration and get our Asteroids game fully working again inside Scion2D.

The biggest hurdle in this one was audio. We refactored the engine to use the new AudioPlayer system and handled the differences between SDL2_mixer and SDL3_mixer — which are very different under the hood. The API changes required some restructuring, but after cleaning things up and adapting the engine architecture, we finally got everything playing nicely again.

In this video we:
* Integrate the new AudioPlayer into the engine
* Adapt to the SDL3_mixer API changes
* Fix sound effects and playback issues
* Get the Asteroids project running properly on SDL3
* Finalize the migration process

With rendering, input, windowing, and now audio working, Scion2D is officially running on SDL3!

This migration sets us up for future improvements, better long-term support, and continued engine refinement.

Let me know in the comments if you’ve migrated your own projects yet — especially if you’ve worked through the SDL_mixer changes!

Alright, take it easy.

🔗 GitHub Repository
Explore the project here:
https://github.com/dwjclark11/Scion2D

📚 JadeiteLite Tutorial Repository (New!)
https://github.com/Jadeite-Games-Studios/JadeiteLite

🎓 Support the Channel – My Udemy Course
Build Games in the Browser with C++ and WebAssembly
https://www.udemy.com/course/build-games-in-the-browser-with-cpp-and-wasm/

💸 Discount Coupon (Helps Support Me Directly!)
https://www.udemy.com/course/build-games-in-the-browser-with-cpp-and-wasm/?couponCode=D3EE8E2F1EAA8E8D676B

💬 Join the Community
Chat, give feedback, or get help on Discord:
https://discord.gg/tC3vdee5u8

📺 Watch the Full Playlist
Catch all the videos in the series:
https://www.youtube.com/playlist?list=PL3HUvSWOJR7XRDwVVQqqWO-zyyscb8L-v

👍 Like the video and subscribe for updates!
💬 Questions or ideas? Drop a comment below — I’d love to hear your thoughts and suggestions.

Видео Scion2D C++ Game Engine | Ep. 101 – Migrating to SDL3 from SDL2 (Part 3 – Audio & Final Fixes) канала JADE-ite Game Development
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять