Recommending a great article at moonside.games/posts/sdl-gp...
I was able to speed up my rendering code by over 3x today, thank you!!
Posts by Chris
Wait till you see Claude Code, a desktop terminal app written in, you guessed it, Typescript and React 😬
I'm not sure why the Zig team deciding to bypass kernel32.dll has made some people so incredibly upset... I didn't know the Microsoft fanboy still existed in the year 2026
Nobody liked my bird so now I drew a little dude
Gun is multishot tracking bullets
#gamedev #indiedev
And this is what it looks like from the other side.
GGPO and probably all modern games will intentionally stall the player on the right to match, but there definitely is something exploitable when you give the laggier player a better experience.
Something I discovered about rollback networking is that, counterintuitively, the laggier player has an advantage over their opponent. I put in a lag switch that stalls my game for a frame each time I press it, and notice the other player's view of my character degrading
To celebrate the release of DK Bananza I added fully destructible terrain to my game
Yep! I'm writing it in zig using SDL.
bonus: a shotgun that fires bullets that shoot shotgun lasers
I added a shotgunizer to my game, which turns any bullet you fire into a shotgun - even another shotgun...
#zig #ziglang #gamedev #indiedev
I was busy for a couple months moving (twice) but here's a clip of the laser beam I added to the game!
#zig #ziglang #gamedev #indiegamedev
Thanks, it's the best I can do 😅
Game progress, featuring bird + meatballs
#zig #ziglang #gamedev #indiegamedev
This week I added a game object system with components (health bars, bullets, player, enemy), collision, and level loading. It's finally starting to get somewhere haha
#zig #ziglang #gamedev #indiegamedev
Plus, it's very easy to use any C libraries from zig, so there's nothing stopping someone from using Raylib. Part of this project is also me wanting to experiment a little.
My engine code is on Github at github.com/christopherl...
I wanted to make a game using code (so no editors like Unreal, Unity, Godot) and C++ felt too complex - I would've went with C but zig is a lot like C with some modern features. Plus the zig build system is miles better than Cmake😅
I'm using SDL for the input and window management, everything else is from scratch 🥲
Yep, zig is a programming language like C or C++, I'm using it to write a game engine from scratch and been having a lot of fun with it!
In these past few weeks I implemented screenToWorldRay, an input system, entities, and post-process outlines. Hopefully I can start doing actual game stuff soon...
#zig #ziglang
Me after 200 commits: got a lot done today :)
The commits:
- rename lib to Lib
- rename Lib to Library
- rename Library to library
- delete library
- readd library
- rename library to lib
...
If you have a lot of shared libraries or generated files coming from a package that you'd like to use in your main zig package, here's how you can copy them using zigs dependency API.
chrislx.com/posts/how-to...
#zig #ziglang
working on writing a zig version of plf::colony makes me realize just how unreadable C++ template code is 🤢 what is this
My handle doesn't work