jonoxia / rpgbase

Generic Node.js/HTML5 role-playing game client/server
8 stars 6 forks source link

NPCs use incorrect number of animation frames when walking #36

Closed jonoxia closed 11 years ago

jonoxia commented 11 years ago

this is because it's currently using the number hard-coded in npcClasses.js, when it should be using the samenumber of frames that PCs use. Seems like this should be set on the base class MapSprite at the same time as the default sprite picker function is set.