Join Paul Trani for an in-depth discussion in this video Adding explosions, part of Flash Professional CS5: Creating a Simple Game for Android Devices.
Let's go ahead and take a look at where this game currently is in…its development stage.…I'm going to click Play, and if I move this SWF over a little bit, notice that…there is a couple of collisions going on here, these lasers with these UFOs, and…we should see these trace statements appearing.…So I need to actually have an explosion when these lasers hit the UFOs and when…these UFOs hit the bottom or hit my player.…So I need to attach this explosion from the library in a particular position.…
So let's go ahead and go to the Library panel, because in the Library is…going to be this explosion movie clip.…I'll just double-click on it.…Notice it contains a couple of frames of this explosion.…So this is what I want to attach to the stage and then play, and then this last…frame is just a stop action so it doesn't continually loop, but that's…basically what my explosion movie clip is.…I am going to go back to Scene 1, and in this first frame of this Actions layer…is where I want to add a code snippet.…
- Designing for mobile platforms
- Creating and optimizing game graphics
- Adding random movement and interactivity
- Moving players based on the accelerometer
- Using gestures
- Detecting collisions
- Implementing audio
- Adding scoring and levels
- Implementing a high score screen
- Publishing an app on both Mac and Windows
- Uploading to the Android Market
Skill Level Intermediate
1. Introduction to Mobile
Understanding the user4m 2s
2. Mobile Game Setup
3. Basic Game Movement
4. Advanced Interactivity
6. Mobile-Specific Functionality
7. Optimizing for Mobile Devices
9. Uploading to the Android Market
Next steps1m 22s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.