Saturday, July 21, 2012

Embarrassing that there's still a bug in pathfinding, but I fixed it. (only applies to player commanded move, where a check was being made too early).


Annual End of Summer Development Pause

School is starting in August this year, so the development pause will begin a little earlier this year. I've already distributed a playable version to friends, but I'm hesitant to put it up on the web without knowing what I'm getting into. Development will be scattered if not nonexistant for a while again.

Friday, July 13, 2012

Added the first two gods, Arur and Obmzhgak!
Added the quest system and tested it with a single quest! (After worshipping Arur, find and kill his nemesis. Then bring back his heart as proof.)

Worked on lighting a little bit: expanded the light radius of fire and used the canSee line drawing algorithm instead of straight distance.

Thursday, July 12, 2012

Wall building is in.
Big code cleanup again.
Working on lighting map a little bit: fires now illuminate their own tile and the surrounding ones:




Wednesday, July 11, 2012

Added other sentient races: if you attack them they'll attack you back. If you give them enough items, they'll follow you and attack who you attack! Otherwise they just wander around. They also do the same actions for other NPCs.

Added a give command so that you can improve relations with sentient NPCs.

Played with river generation a little more.

Played with factions; need to globalize them rather than having them be individual to each NPC. Or maybe not? Might be interesting to just average all the faction data from each type of NPC to derive a global faction relationship list.

Maybe at entering a town of that NPC type reset factions for all NPCs to their aggregate averages.

Tuesday, July 10, 2012

Swapped to nonfixed update time. Seems to be more consistent and fixed the "slippage" issue.

Added evasion and randomness to attacks.
Tweaked some stats numbers.
Added a UI item for the current building item.
Added UI feature so that if you click on the message list it expands/shrinks.
Edited hunger so that a full bar is 10 minutes - chikkberries refill 1/3 of this.

Sunday, July 8, 2012

Played around with throwing items a little today.

There's something weird with XNA and C#; I'm suspecting that if the program doesn't reach its framerate requirements, code is just dropped. On a map with 50+ NPCs, reducing a NPC's HP to/below 0 registers a kill from the Player Object perspective, but doesn't reach the remove NPC from the total map's NPC content in the NPC setHP method. This is obviously a huge problem, so I'll be reading up on how XNA works in more detail.