SampleProvider / Meadow-Guarder-old

A free browser RPG game, with monster fighting, quests, and crafting.
http://meadowguarder.herokuapp.com/
GNU General Public License v3.0
10 stars 9 forks source link

Suggestion: stop making NPC walk into random object, even if they are dumb. #135

Closed ghost closed 3 years ago

ghost commented 4 years ago

image

ghost commented 4 years ago

I also extend this to NPC walking into random structures like houses.

SampleProvider commented 4 years ago

The Npc pathfinding algorithm isn't very smart. It just chooses a random place to walk to. But I did improve it a bit, so it might be better.

SampleProvider commented 3 years ago

The Npc has been changed to walk better.