Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
In Flash Professional CS5: Creating a Simple Game for Android Devices, author Paul Trani shows how to translate existing Flash skills from the web to mobile devices while designing a game in Flash and publishing it as an AIR for Android app. The finished application includes collision detection, random enemy creation and movement, shooting capabilities, multiple levels, and even a high score screen. This course also goes beyond game functionality and shows how to use mobile capabilities such as the accelerometer and gestures to control graphics, use the hardware keys to activate menus, and also how to optimize content so it plays well on mobile devices. Also included are instructions for distributing an app through the Android Market. Exercise files are included with the course.
Let's start off by reviewing the final game. So, this is what we're going to make in this course. It's called Doodle Galaxy Invaders, and I am just going to go ahead and run this file in Flash. Here it is. We have a nice animated intro. I can have whatever I want here, if I need to any sort of rules or anything like that, it would obviously go on this screen. It is a space-invaders-type game. I'm going to be controlling this spaceship by moving my mouse if I'm viewing it on the Desktop. Or if it's on the device, as I tilt the device, this ship will move in the direction of the tilt.
He will automatically fire at these various spaceships that are going to come down from the top. Each time I hit one, it's going to be added to my score, and I've got to make sure three of these guys don't hit the bottom or hit me because if three do, then the game is over. And if I did well, I get a chance to entering in my name as the High Score Leader. So that's what the game play is going to look like. I am juts going to click Play and then play the game. You can see, he follows my mouse, automatically fires.
(gunshots) All right, so three of them either landed or hit me, and you can see that my score of 15 does not beat the previous score of 20 by Paul, okay. So that's how the game works. That's how it's set up. It seems pretty fun. It's easy to interact with. The automatic firing is easy, and in general, I think it's a pretty fun game, and it's set up and structured nice and neat.
So let's go ahead and dive into how this game was made, and really, how to make a game like this.
There are currently no FAQs about Flash Professional CS5: Creating a Simple Game for Android Devices.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.