Benjamin Tucker
banner
nenofite.cc
Benjamin Tucker
@nenofite.cc
I enjoy writing code that generates worlds, and occasionally I get together with friends to make video games.

he/him
sqlite is really neat :3 I'm using it to store all my game data, not just character progress but also game elements like cards in the deck and potential outcomes of actions.

One fun result of that is I can edit the DB using existing sqlite tools and see the content update live in the game
February 27, 2025 at 6:27 AM
Also if you switch to dark mode then the map will follow suit :)
November 25, 2024 at 8:24 PM
It's live!

At first the Wasm was sloooow. The map uses 16-bit floats for elevation, but Wasm only supports 32/64-bit floats! So the compiler was emulating 16-bit floats using integer arithmetic, which unsurprisingly is way slower. I switched to 32-bit floats and now it's fast🎉 #zig #wasm #procgen
November 25, 2024 at 8:21 PM
Feeling good about the map generator now :) I updated the color palette, added lakes, and made the whole thing run in a loop so it generates a new map every few seconds.

The goal is to run this on my website, so next step is to get it working in Wasm! #procgen #zig
November 18, 2024 at 11:03 PM