Wednesday, April 18, 2012

Inventory management.

More code done and more design patterns to figure out. My current goal is to figure out basic selection and swapping of items on a character. This is leading to some interesting problems. The testbed for most of this inventory programing is the RPG idea I've been toying with but I've started importing a few of the necessary items over to legend, that being threading items.

The long short is every interaction I add I have to nest a little bit more and keep some more variables and states tracked. As well as be careful from having the threads lock input out of the game. I can tell doing this for a single entity instead of a party will be much easier but I'm already thinking of better ways to go about this, slightly more fancy than I should but it just seems easier.

3 comments:

  1. You make my head hurt. I never even considered the complication of an inventory system.

    ReplyDelete
  2. That sounds like a LOT of work.

    ReplyDelete
  3. Interesting. Keep up the awesome work!

    ReplyDelete