Profile avatar
davidpol.bsky.social
Handcrafted game programming and custom game engines. https://innercomputing.com
40 posts 244 followers 82 following
Regular Contributor
Active Commenter

😍 frame.work/blog/introdu...

Just finished with the implementation of the 2D sprite renderer for my course. It uses the new GPU API in SDL 3, which is very nicely done. Now moving on to writing how it all works! ✍️ #gamedev #c #sdl

Putting the final touches on the entity systems chapter of the course. It covers data-oriented programming and the implementation of an ECS in C, which is a very interesting exercise in terms of design decisions and data structures. #gamedev #indiedev #gameengine #c #sdl

SDL 3.2.0 is out! This is the first stable release of SDL 3, containing many notable changes and improvements. A particular highlight of mine is the new, compute-ready GPU API. #gamedev #indiedev #gameengine #c #sdl github.com/libsdl-org/S...

I wrote some more detailed notes on single translation unit builds in C that might be useful if you are interested in keeping a simple workflow. Sometimes, the best build system is having no build system in the first place. #c #gamedev #indiedev www.innercomputing.com/blog/single-...

Designated initializers and compound literals are awesome features of C99 that almost turn C into a new language, so I wrote a small blog post explaining how they work in order to spread the word. #c #gamedev #indiedev www.innercomputing.com/blog/designa...

SDL 3.1.8 is out! This pre-release version adds many goodies: • Asynchronous I/O • Main thread dispatching • Desktop tray API • Support for format strings in debug text rendering #gamedev #indiedev #gameengine #c #sdl github.com/libsdl-org/S...

I wrote some notes on how to get started with C programming. The process can be a bit overwhelming if trying to learn it all at once, and I have found that focusing your efforts on a smaller and more modern subset can be really helpful. #c #gamedev #indiedev www.innercomputing.com/blog/how-to-...

Today I realized my Linux machine had been stuck with an older kernel version ever since I did the upgrade from Fedora 40 to 41. 'Manually messing with the kernels' rite of passage is now complete. #framework #linux #fedora

I am really enjoying writing the chapter on memory management; it has become its own little mini-course within the main course. It goes from explaining the very basics of what memory is to writing your own custom memory allocators from scratch. #gamedev #indiedev #gameengine #c #sdl

Christmas time is an opportunity to read great books. This year, I am revisiting 'The Rules of Programming' by Chris Zimmerman. It contains excellent advice from the trenches, with many useful examples drawn from the Ghost of Tsushima codebase. #gamedev #indiedev #gameengine

Code hot-reloading for Linux is in. I also unified my Neovim configuration so that switching between platforms is more seamless. The thing I am missing the most so far when working in Linux is having access to the RAD Debugger (but an official port is on their roadmap). #gamedev #c #sdl #linux

Hot-reloading of code for Windows is in. I have also set up a few custom commands to build, launch the RAD Debugger and reload directly from Neovim, which is a really nice workflow. Next step is Linux! #gamedev #c #sdl

Just finished writing the chapters on SDL fundamentals, so I thought it would be cool to add a bonus lesson where we "port" Doom to SDL 3. It is not an actual, full port of the game (it uses doomgeneric), but serves as a practical and fun way to put everything together. #gamedev #c #sdl

I have been daily driving a Framework 13 laptop as a Linux-only machine for a few days. My main goal here was to make sure all my code works well on Linux but, not having used the OS for the past 20 years or so, I have to say... it is actually getting there? #gamedev #c #sdl #linux #framework

Having so much fun at the moment as I prepare the upcoming lessons of my game programming course. Writing about the basics of animation seemed like the perfect excuse to pay homage to the Fire demo originally programmed by @thejare.bsky.social in 1993 and recreate it with SDL 3. #gamedev #c #sdl