Dawn of Bronze is an open-world roguelike about hunting, gathering, and stealth, set in the late neolithic - most conflict is between the player and various animals, but an underlying theme is the transition from hunter-gatherer lifestyles to agriculture, the establishment of militarized city-states, the early domestication of horses, and the origin of smelting.
- Built with rot.js
- Project stubs bootstrapped from Mizar999's rotjs-typescript-basics
- Drawing on procedural map gen techniques from Red Blob Games and Here Dragons Abound
- Did some preliminary work on map gen in d3.js, notebooks viewable here: https://observablehq.com/d/b3ca2e42cae284b6
----
Good progress for day 1. Started project setup around 11:15 AM Saturday (US Central Time), got scaffolding in place and ready to start coding at 12:01 PM, so I'll consider my pencils-down time to be noon on Saturday the 11th.
Got about 5 solid hours of coding in yesterday, the biggest obstacle so far, but also the biggest boost, has been TypeScript. The type checking and tooling in VSCode is amazing compared to plain javascript, and it's a lot easier for me to work in a language with types. But all my algorithmic prep work was in d3.js via Observable - d3 itself wasn't too bad, but getting my implementations of Perlin noise and Poisson disk sampling ported over and situated right in the project took up most of my time. I had to give up on getting fast-2d-poisson-disk-sampling working, and used Mike Bostock's implementation here https://observablehq.com/@mbostock/poisson-disk-sampling instead.
Now that we're over that hump, the basic world map is working, roughly matches what I had in my prep notebooks, and looks good, and I can move my @ character around it.
The goal for today is to add a zoomed-in view, and play around with a few different levels of detail to see what feels right. I'm thinking of a proportion where a full screen of the tactical map corresponds to like 4 x 3 squares on the world map grid, which would mean most biomes are 4/5 screens across, and the whole world is about 30 x 20, 40 x 25, something like that. Maybe add fog of war/map reveal if I make good progress.