So far the work on Amoebacane has been setting up proper navigation; I took a hint from my previous work and set the visual background as an ExternalClip (object for clips externally taken from an swf file) and made a CityScreen to jump in and out of. Not having too much time today, I mainly spent time on ensuring that the city screen would have its proper event listeners (made sure to create particularly different ones so it wouldn't fire off the GameOver in the current PlayScreen or anything) and allowed jumping back and forth. So far our plans for the main citywork and attacking are still not set in stone, so I decided to jump forward with a basic meter aspect.
How does one set a visual in the game to show feedback without numbers? So far, the simple way would be to show a struggle between two meters as progress moves forward. Set the boundaries correctly and you get a similar scenario like this test file I whipped up to see if it works:
The boundaries are currently a single object, but I may set them into two separate files to ensure that they are directly on top of their respective rectangles. I also have to put on a flag that points toward the winning team, in case good or evil has ownership.
I also got my first code review today; what insight! Mainly addressing my habit of putting magic numbers in constructors. We'll make sure not to do that again.
No comments:
Post a Comment