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.

No comments:

Post a Comment