Jetpack « Game Cartoon « Flash Tutorials

Home
Flash Tutorials
1.Actionscript Programming
2.Animals
3.Animation
4.Colors
5.Design
6.Effects
7.Game Cartoon
8.Humans
9.Models
10.Nature
11.Operations
12.Shapes
Photoshop Tutorials
Maya Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
Flash Tutorials » Game Cartoon » Jetpack 

Hello, this is the second part for the jetpack game tutorial things. In this tutorial I will show how to make some platforms and walls and that. Easy as pie

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 7: Operator '=' must be followed by an operand fly.onEnterFrame = function() {

This piece of code just looks if the jet pack man is colliding with the spikes, and if it is, it takes away a bit of the health, and calls updateHealth();. We could add a game over-screen to it too. While you are at the main stage, press F7, or click insert>Timeline>blank keyframe. Then the stage should be… blank. Whilst having the frame selected, open the properties window, and type in gameover into the frame name window: After that, open the actions window there, and type in

w__ww___.__j___a_v_a_2__s__.c__o___m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.