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.
One thing that will really help in development of any project in Flash will be to use the Code Snippets panel. If you go to Window, open up Code Snippets, notice that there are already these folders filled with all these great Action- Script code snippets that you can use in your project. And for this title and this game, what I'm going to do is I am going to go ahead and load in some code snippets that I already have prepared. And this Code Snippet file is available for free on the lynda.com web site, associated with this course.
So if you select the flyout menu, go to Import Code Snippets XML. And inside of the Assets folder, there's a Code Snippets folder, and just select MobileGame.xml. So with that file selected, click Open, and you can see that it loads in this new folder called Mobile Game, and it's filled with code snippets. Very powerful, and I can add any one of these easily, just by double-clicking on it.
As I do that, it adds that code snippet to the Actions layer in my Timeline. Okay, so I have just added this ActionScript code snippet. I'll just delete that because, again, I don't need it right now. But really using the Code Snippets panel it's as simple as adding the code snippet and customizing it specifically for your use. But I'd say Flash Professional CS5 is all set up, and I am actually to further the development of this game.
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.