Sébastien de Graffenried
banner
sebdegraff.bsky.social
Sébastien de Graffenried
@sebdegraff.bsky.social
280 followers 540 following 340 posts
Game dev, working on Terraformers terraformers-game.com Game jams, homemade game engine dev. Sometimes streaming on youtube: 🔴 https://www.youtube.com/@seb_degraff/streams Also on mastodon: 🐘 http://mastodon.gamedev.place/@seb_degraff
Posts Media Videos Starter Packs
Pinned
Here is my in-game profiler.
It's very useful to quickly find and fix inefficiencies. I recently implemented zoom to cursor, and it's a joy to use now. Another handy feature is CTRL-click on a profiler marker to jump to the code location.
There’s got to be a bach.js lib somewhere
Oh no! Resist the urge!
Just hardcode the rotation of the clock handles
Reposted by Sébastien de Graffenried
Hey look, Israel broke the cease-fire, twice, in two different ways, within 24 hours - again.
NEW: Israel informed the UN it will permit only 300 aid trucks into Gaza daily, not the 600 mandated by the ceasefire it just signed.
Wonder if it would make sense to always have a scope following defer, e.g.
open_file()
defer close_file() {

} // close file executes at that point
That’s a good point. Thinking about it, there’s another construct that breaks linearity: the for loop with its increment expression. I think it’s less shocking because of the attached scope and the closing brace.
Reposted by Sébastien de Graffenried
Yeah, we only had 1 week of break between AI crawler attacks. This one is even hungrier than the last one.
Reposted by Sébastien de Graffenried
Hi, @jay.bsky.team my name is Alex Goldman and I'm a journalist. I host a podcast called @hyperfixedpod.bsky.social and I'd love to talk to you about Bluesky if you'd be willing to talk.
Absolutely! Can’t wait to ditch unity completely
I love this! I usually stick to programming but that makes me want to paint and model
Some are speculating it's going open source. I'm not holding my breath...
reimporting the project, it's been stuck on this for 30 mins. Took me a while to realize that it's processing the same atlas in a loop. Trying to kill and restart 😒
At least the patcher tool seems to work. Seems like we're going to add a step to the build process then
"Just patch the game" they said. "It will be easy" they said.
Added a histogram. It accumulates the durations of all zones that have the same name as the selected one
Reposted by Sébastien de Graffenried
A bit technical thread 🧵

I’ve been improving the in-game ambient occlusion system - and ended up with something I call:
Blob-based Analytical Ambient Occlusion on Primitives

Here’s what it does to the final image:
(more examples later in the thread)

(1/16)
Then if you want to provide strided arrays on top of that, there could be mesh.GetStridedVertices() that returns a struct of strided arrays for pos, normals, uvs etc.

But people can already use the VertexBufferData if they want to access vertex data without the compaction step
I don’t know, that seems like more magic to me. What’s wrong with mesh.GetPositions() and mesh.SetPositions() as a more explicit mesh.vertices?

Deprecate mesh.vertices with a message that says to use GetPositions(), but leave it in there for the next 10 years :)
Very cool to see Eike's progress on his project, and the sheer speed at which he's working. Also I find impressive how the smooth web build is. Try it!
This is 8-bitBot: A programming puzzle game that I am working on and aiming to release in December.
There is much to do still, but it is coming nicely along so far.

Steam wishlisting: store.steampowered.com/app/3959370/...
Playable demo on my website (a bit outdated): quakatoo.com/projects/cod...
Reposted by Sébastien de Graffenried
Another attempt to upload this video to Bluesky!

Halloween is coming and there is so much left to do!

Like, for instance, wish listing 8-bitBot: store.steampowered.com/app/3959370/...

#gamedev #raylib #solodev
Reposted by Sébastien de Graffenried
New blog post! In "Billions of triangles in minutes" we'll walk through hierarchical cluster level of detail generation of, well, billions of triangles in minutes. Reposts welcome!

zeux.io/2025/09/30/b...
That's (apple) clang. I was already passing -Wall and -Wextra, so it seems -Wundef was not included in these. Same with zig cc.
-Wundef where have you been all my life?