Showing posts with label animation. Show all posts
Showing posts with label animation. Show all posts

Sunday, April 28, 2013

Heart Realm Update #004

This past week's focus has been on getting weapons into the game. Like the previous update where I focused on importing armor items into the game, I did the same this week but with weapons. Weapons were a little different in that I also had to come up with a way to import animations and store them in memory while the game was running.

So far I've got a data set of armor, weapons, and animations as far as content that I've loaded via XML files and stored for easy access during run-time. Like the armor, I also had an overlay on the player's sprite for the weapon. Unlike the armor, the weapon overlay also animates with the body, while the armor overlays are just a single frame, though that may change as I introduce more animations for the player. Other than that weapon importing wasn't too bad as I had the armor importing as reference so not too much extra work.