Adding explosions


show more Adding explosions provides you with in-depth training on Developer. Taught by Paul Trani as part of the Flash Professional CS5: Creating a Simple Game for Android Devices show less
please wait ...

Adding explosions

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...

Adding explosions
Video duration: 6m 26s 3h 35m Intermediate

Viewers:

Adding explosions provides you with in-depth training on Developer. Taught by Paul Trani as part of the Flash Professional CS5: Creating a Simple Game for Android Devices

please wait ...