SDL2 có 2 cách render: surfaces và textures. Text rendering thường dùng SDL2_ttf (surface). Bây giờ có hàm mới tải glyphs trực tiếp vào texture bằng FreeType, chuyển đổi pixel buffer, cho hiệu năng tốt hơn so với SDL2_ttf + chuyển surface sang texture. #SDL2 #GameDev #C #FreeType #LậpTrình #đồ_họa

https://www.youtube.com/watch?v=W8-06L0e_2U

Text rendering with SDL2 but without SDL2_ttf or surfaces

YouTube
I've just come across a very interesting series about making a GUI application with SDL. https://youtube.com/watch?v=6hIaEHzlmFc. Despite the fact that #SDL2 is used, the code can be easily ported to #SDL3. Thank you @icculus!
Writing a simple media player with SDL, part 1.

YouTube

Hi, folks! ✌️ I'm here to share you that I'm totally rewriting of Crisps Chat 🍟

If you want to checks the status of the app, you can visits its Codeberg page 🏔️👉 https://codeberg.org/xolatgames/Crisps-Chat

Thanks for attention! 😄 And I wish you a good day 😉

#cplusplus #cpp #sdl #sdl2 #imgui #chat #chats #messaging #MessagingApp #communication #app #apps #soft #software #opensource #codeberg #git #codelite #inkscape #chatting #development #dev #devlog #cmake #rewriting

P.S:

You can view the game's source code on its Codeberg page 🏔️👉 https://codeberg.org/xolatgames/Birdy-wants-crisps

Or download the game from here 👉 https://codeberg.org/xolatgames/Birdy-wants-crisps/releases/tag/v1.3.0

You can also find 🔍 this game on my website 🌐👉 https://xolat.games/

It has "C++", "Singleplayer" and "Open-Source" tags 🏷️

#development #gamedev #dev #games #game #opensource #cpp #cplusplus #sdl #sdl2 #box2d #codeberg #git #2d #inkscape #TiledMapEditor #codelite #adventure #MiniGames #breakout #arcade #action #devlog #cmake

Birdy-wants-crisps

This is a story about the bird Birdy 🐦. Help him to find some crisps 🍟

Codeberg.org

Hi, folks! 👋 I'm here again 😜. How are you?

I updated the game about the bird Birdy 🐦, and now he has Crisps 🍟 those was dropped on the level. You can try to collect them. But don't forget to complete the Mini-Games, because for completing the game, you will need to collect all Crisps 🍟 in this game.

https://fediverse.tv/w/gCgGWRtbHmPNGEnmQ1ZoLj 🎬

And that's all. See you later, folks! ✌️😉

#opensource #codeberg #cpp #sdl #gamedev #games #2d #game #development #dev #devlog #sdl2 #box2d #inkscape #cplusplus #git

Birdy wants crisps! 🐦 version 1.3.0

PeerTube

Urgh... i know its super embarassing to ask but i am so close to the finish line and still struggling with the basics it seems... -.-

Basically i am trying to make my Snakes Body Segment grow Bigger and all i got was this Jarbeld Mess of Flickering Sprites and a Crash when collecting any Apples -.-

Basically i really need help with this stupid Thing :(

#sdl2 #programming #cpp

Okay so my side quest this month is making a small pixel art looking game in C with SDL2, I want it to be pixel perfect, so does anyone know the right way to follow this up?

I know about SDL_RenderSetLogicalSize, but I wanna be aware of more stuff that could help me on achieving this.

#GameDev #SDL2 #Programming

Trying to build #SDL2 for #solaris 8 today. There's really no better way to spend a dark Sunday afternoon.

#retrocomputing