I think I've managed to successfully work on Crawle productively for more than 2 consecutive days :o.
Anyway, I've been trying to integrate the collision system into the NPC AI and I think it works so here's a screenshot of NPC's not walking into walls in dungeons:
I've also decided to be nice and give you a way out of the dungeon:
Finally I've finally centered NPC names:
Changelog:
0.2.5 --> 0.3.0
# GRAPHICAL CHANGES
- New bars.
# FIXES
- Fixed sound and music (lol).
- Fixed sound and music options (lol again).
- Fixed the camera system!
- Fixed the merchant not changing to his zombie sprite at night.
- Fixed NPC names not centering.
# CHANGES
- New random generation.
- Reduced Merchant spawn rate.
- Increased disease rate.
- Going below 50% hunger or thirst will drain your health.
- Dungeons are no longer saved in the world file.
- All worlds except Unforgiving worlds are now based on 'death chances':
- Die once: sent back to respawn point.
- Die twice: lose items, exp, etc.
- Die three times: like Unforgiving mode, your world is deleted.
- Hard mode only has two chances: lose items, exp, etc and permadeath.
- Reverted dungeons back to old maze format, temporarily.
- Even more code cleaning!
- NPCs now respawn every 30 seconds.
- Improved NPC AI to comply with the new collision system.
- Folder cleaning.
- Added more NPCs to dungeons.
# ADDITIONS
- Walking sound.
- Health bar.
- Holes now teleport you to dungeons.
- Collisions.
- EXP bar.
- You now gain 15 EXP per day and 30 EXP per week.
- Very minimal and temporary combat system.
- NPC health bars.
- Dungeon portals to teleport you back home.
Test version should come out soon. I.e. when I finish the NPC side of combat.
looking good keep it up =)