Thursday, May 27, 2010

Item System Running

The item system is up and running! It works on the same principle the monster and move system does. There is a file full of values and it gets interpreted in-game. With these down, the next logical thing to work on is the store system (so buying and selling), the inventory system, and then information for the player. Then after all that is said and done, the battle system!

In other news, the NPC glitch has been worked out. For some reason or another, the collision detection was knocking the NPC off of the 16x16 grid. Now there is code that makes sure it's on the grid, and if it isn't, it gets "bumped" back on to it. Thank you OldManClayton at The Daily Click for assistance!

2 comments:

  1. Good work ! Did you use external file for storing the data of items ? I think it's the best thing to do... 10x easier to manage.

    ReplyDelete
  2. Yeah, they are stored in an external file. This makes it very simple if you need to change anything.

    ReplyDelete