Stu's Rusty Bucket

Tracking the Player

Did some minor work tonight, and got the NPC tiles animating, they will flip frames each second (regardless if the player moves 10 times in a second, the animation doesnt map to the player movement ticks).

Also got NPC’s tracking. Merchants will now track the player across the shopfront and serve you wherever you hit the counter at, and since NPCs and not the same as Events, the event attached to the NPC also has to move accordingly.

When NPC’s are added/created their start frame is randomised (zero or one) so when you have a line of menacing town guards, they are not all waving their arms in synchronisation (yeah I learnt right off it looks bad! lol).

Posted by on 09/08 at 09:10 PM    
Filed Under : ComputersDevelopmentFishguts
Comments are closed There are no comments on this entry.

Next entry: Sporting Clays

Previous entry: Inventory

<< Back to main