Project "builder" devlog 2024-04-03

today i did. some stuff. idk i'm sleepy lol

yesterday i made a little guy, a "walker", who wanders around roads on the grid. it's programmed not to go back where it came from, so it does circuits quite nicely. It picks a random direction if there's more than one place to go.

Today i made a building that consumes a resource, and the walker replenishes the resource while it's close by. (the function to consume the resource isn't being called yet but whatever). there was something weird happening, it's supposed to work when the walker is 2 spaces away but for one of the buildings it was only working when it was 1 space away. silly grid.

p.s. it's pretty nice to just work on functionality and use generic shapes for everything. prototyping! for once.