Understanding the Game Concept
The game we will build in this chapter makes use of one of the strongest aspects of Adobe Animate, and that is the ability to create assets with visual tools and then program them with code directly within the same application. The game concept is very simple: you control a kitty that can walk back and forth across the screen and shoot energy balls upward. Enemy pigs are dropping from above and the kitty must ensure that none reach the ground by blasting them out of the sky. If three pigs get past the kitty, it’s game over.
We wrote a good amount of raw JavaScript in the previous chapter and generated visuals from code alone. We’ll be dealing with a lot of code in this chapter as well… but will be doing so using assets that exist on the stage or within the Library. Because of this, first, we’ll step through the visual portions of the game and slowly build up to the programming aspects. Even when in the thick of development...