"The dwarves have slain the monsters inhabiting the tallest mountain and have embedded deep within it their fortified home. There, after endless refinement, they have recreated a legendary artifact of unfathomed power. The relic drives the dwarves mad with avarice, and news of their wondrous creation attracts trouble. Other races feel the draw of the artifact and lay siege to the fortress. Meanwhile, the gods frown upon such a presumptuous race, and ponder their divine genocide..."
Thursday, September 22, 2011
Wednesday, September 21, 2011
Added "fire" as a craftable item that repels wolves, but due to how pathfinding is specific to an exact coordinate, if that coordinate isn't movable to (e.g. a wall) the wolf just gets stuck.
Added "degrades" tag to items, so they expire over time.
"fire" has this tag, so you can craft it, repel wolves for a few seconds, then get eaten alive as the 10 wolves that are stuck around you get unstuck.
Also ran two stress tests:
200 deer all pathfinding at the same time: very choppy, but still runs.
Running for as long as it can: 30 minutes before the closedList of a pathfinding wolf threw an outofmemory exception, so I fiddled with that. Running it again as I post this (at 10 minutes right now).
Things I'm working on before it becomes a proper game: getting flee to work correctly for wolves, field-of-view to work correctly, tags for buildings/remaking the whole buildings thing, and then altars and gods.
Monday, September 19, 2011
Changed options for spritebatch draw to make zooming not blurry and added oryx's lofi font (thanks to poemdexter for showing me how to do the first and for the reordered bitmap font!)
Added messages (you killed a goblin, chopped a tree, etc.) box at the bottom.
NPCs/Players drop corpses on death, and are added to a "dead list" (again, thanks to poem for this idea. For his roguelike he was thinking about necromancy/zombies etc.)
Added fog-of-war to the game.
From a design standpoint, I wasn't really sure what I wanted from a roguelike or DFlike in general. After playing a little minecraft and DCSS today I came to the conclusion that exploration is interesting, and having the whole map revealed though convenient, is pretty boring. This is probably intuitive to anyone reading this, but it's not really something I thought about until now. Anyways, have a screenshot:
Also, added saving of turns (will be used for weather, tides, day/night cycles, and seasons.)
Still need to add saving of HP, inventories, and now the fow map.
Also need to add a more functional fow (walls should block vision).
Subscribe to:
Posts (Atom)