The one year game develpoment duel
Oct

22

2014

Core Improvement

This post is a status update, which is how I track progress specific to my game. Check out my timeline to see what I've recently accomplished.

    Key Events
  • Scene Management
  • Loading and Saving
  • View on iPad

As planned after the last update, I was able to add scene management, loading and saving functionality, and the ability to view the game on a physical device. There are also some pretty cool new battleground maps and my first character sprite .png animation to check out below.

Character Sprites

The first character sprite .png files for the runemage character arrived and I’m very pleased with how they turned out. The first batch of images are just test files (not fully detailed) for walk, die, hit and idle animations. Here’s a demo of the die animation.

Scene Management

Corona uses their composer functionality for scene management, and that allows you to easily transition between scenes. In my video example you can see how I transition between the world map scene, which is always running and loaded into memory, and battleground scenes, which are loaded and destroyed dynamically.

I also started tracking memory usage and the so far I’m well under the most commonly used mobile devices memory limits. I did have to go through my code and ensure that memory is being freed up when scenes, sprites, audio, etc. are destroyed, but so far Corona has made that pretty easy to handle.

Viewing on an iPad

This is just a single item but it took me way too much time to get the demo running on an iPad. From getting a business dev license (needed a DUNS number), to having Corona make a proper build (needed to upgrade to a paid plan), to debugging basic issues (needed to fix code issues), it took awhile to get this thing running. But I can play the demo on my iPad now and that process should go much smoother from here on out.

Loading and Saving

Character attributes and game state can now be loaded and saved, which will be necessary for the real game.

Next Time Around

I’ll continue to add any animations as they come in, but I’m going to continue down the path of adding core functionality to the game. This work is a little boring and not flashy, but it needs to get done. The features I hope to get to are:

  • Saving Files to a Device (this is a little different from the dev environment)
  • Character Management Screen
  • Character Dialogue
  • Code to Show Cut Scenes

Speak freely