Ferby's Blog
These are just some random ramblings, because I have nothing better to do with my time.

Thursday, September 27, 2007

Chatty Entities

By John, Annie, Lucy and the Woof-Woofs at 6:29 PM

Like I said last time I got portals working and while doing so I refactored code a bit which produced a familiar bug that entities would move a few pixels every time I'd move and then snap back to their tile. This was a familiar bug, one I had fixed with a couple of methods that would check direction and adjust the entity's position accordingly. It seems that when I refactored the code those methods were no longer needed. So now the drawing works like it should have before without the hacks.

You can now talk to Npcs and they will cycle through their dialog. I also have some more collision detection in to make sure that you don't run over an npc. Now if only they'd be so nice to check to make sure you're not where they want to walk before they run over you.

 
Category:

0 comments so far.

Something to say?