Sunday, July 8, 2012

Played around with throwing items a little today.

There's something weird with XNA and C#; I'm suspecting that if the program doesn't reach its framerate requirements, code is just dropped. On a map with 50+ NPCs, reducing a NPC's HP to/below 0 registers a kill from the Player Object perspective, but doesn't reach the remove NPC from the total map's NPC content in the NPC setHP method. This is obviously a huge problem, so I'll be reading up on how XNA works in more detail.

No comments:

Post a Comment