Benjamin Tucker @nenofite.cc · 27/02/2025sqlite 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 010 1
Benjamin Tucker @nenofite.cc · 14/02/2025Is the ?? a placeholder for a sprite, or is that part of the game (like some unknowable thing is lurking there?) 110 1
Benjamin Tucker @nenofite.cc · 08/02/2025I started playing with bearlibterminal recently, it makes me so happy! ASCII graphics but with full control over colors, fonts, and mouse input I've been using it to make a boardgame-inspired space trader 030 3
Benjamin Tucker @nenofite.cc · 05/12/2024The bike is faster so the thoughts can’t catch up to you 110 1
Benjamin Tucker @nenofite.cc · 28/11/2024Hope you figure it out 😵💫 Is the map generated ahead of time or on the fly? 110 1
Benjamin Tucker @nenofite.cc · 28/11/2024Nice! Does one screen store the values it generated along its edge so the next screen can fit to them, or is the continuity achieved based on a shared noise function or something? 110 1
Benjamin Tucker @nenofite.cc · 25/11/2024Also if you switch to dark mode then the map will follow suit :) 000 0
Benjamin Tucker @nenofite.cc · 25/11/2024It'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 150 5
Benjamin Tucker @nenofite.cc · 19/11/2024Thanks! Briefly it's: 1/ form continents from voronoi cells; 2/ treat each cell as a tectonic plate moving in a random direction, and form mountain ranges wherever two plates collide; 3/ set elevation based on distance to mountain/ocean; 4/ flow all potential rivers and keep only the longest ones 000 0
Benjamin Tucker @nenofite.cc · 18/11/2024Feeling 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 5464 46
Benjamin Tucker @nenofite.cc · 01/11/2024Loving this series :) Btw what tools do you use for pixel art? I've mostly used Piskel in the past but curious what else is out there 120 2
Benjamin Tucker @nenofite.cc · 31/10/2024A little map generator I wrote this past week. Right now it's on the desktop but eventually I want to compile to Wasm and embed it on my website. This is my first time using Zig for anything other than Playdate, and it's been surprisingly pleasant :) 020 2
Benjamin Tucker @nenofite.cc · 23/10/2024Great talk and very cool demos! When you add in forests as you mentioned, do you think their occurrence would be determined by the CA rules from earlier in terrain formation? It seems like those CA rules give a great starting point (eg the spongy areas might have wetlands or mangroves) 110 1
Benjamin Tucker @nenofite.cc · 22/10/2024I love the scroll effect on herdling.game it’s neat and unobtrusive (Also very excited for the game itself, I loved Far and Firewatch both!)herdling.gameHerdlingHerdling is a brand new adventure from Okomotive, creators of the atmospheric and acclaimed FAR games, and Panic, publishers of Firewatch. 020 2
Benjamin Tucker @nenofite.cc · 22/10/2024Beautiful! Very useful that it includes all the symbols too 010 1
Benjamin Tucker @nenofite.cc · 22/10/2024👋👋👋 I’ve yet to combine the two directly (past worldgen projects have been C# and OCaml) but I’ve been thinking of making one in Zig so I can run it in the browser via wasm Any Zig libraries you’d recommend for worldgen stuff? 100 1
Benjamin Tucker @nenofite.cc · 20/10/2024👋 Hi I’m new here. Things I like: procgen, TTRPGs (most recently Root RPG), making games, sketching (poorly), capybaras, raccoons Recently I’ve been working on making a Playdate game using Zig. You fly a blimp through a cave, avoid spikes, and collect treasure #introduction 120 2