Play: Shootorial #6

Tutorials

Game info loaded

loading
 

Shootorial #6

Created by:

Kongregate_chat Kongregate

Rating:

  • Currently 0.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

4.0 (2920 ratings)

Click star to add your rating.

Published:

2008-10-27

Game Plays:

  • Add to Favorites
  • Report a bug
  • Flag game

Description

This beginning level Flash game making tutorial covers score display, health meter, and game over menu with “play again” button and game reset logic!

Instructions

Complete the Shootorials and learn to make your own Flash games!

Best (see all)
avatar for Mars83
Mars83

Oct. 20, 2010

Under rating threshold (show) My healthMeter wasn't working until I added "resetHealth();" in the "function onLoad()" [--> Ship.as]. Perhaps this could help somebody.

+ - !

(47)

avatar for chunygami
chunygami

Dec. 10, 2009

Under rating threshold (show) Okay there how i solved my problem with health bar: 1.Create the healthMeter layer (i'll call it hMl) 2.On the hMl, create a New Symbol(Insert>New Symbol).Name it "HealthMeter"(Movie Clip that's all anything else) and click Ok. 3.Now "HealthMeter" is in your library, double click on it.You'll go inside. 4.There is a empty layer, just create 2 others and you'll have 3.Name them from upper to bottom:border,bar,backdrop. 5.Draw your Healthbar now: -On border layer: draw only border without anything inside.you can draw it with flash tools but you can import from png file too. -On bar layer:you have to draw the green rectangle with Flash. -On backdrop layer:draw a white rectangle or obmit it if you want it transparent (this layer isn't important).

+ - !

(17)

avatar for Hobelbruder
Hobelbruder

Apr. 22, 2010

Under rating threshold (show) if your health meter doesn't move, also make sure that your healthmeter on the scene has got the instance name 'healthMeter'. check this in it's properties. i needed 3 hours to find that out -.-

+ - !

(25)

avatar for iGreenPuffle92
iGreenPuffle92

Apr. 09, 2010

Under rating threshold (show) nvm, I got it to work, I just followed the tutorial all over again and it worked! by the way, Putting health=100; in the onLoad function works like a charm.

+ - !

(25)

avatar for joeharner
joeharner

Mar. 14, 2011

Under rating threshold (show) guys, kongregate forgot this in their last tutorial, but before any time you call removeMovieClip() inside your enemy class, you need to remove it from your array of enemies. Otherwise, bullets will continue to try running checks on the nonexistant objects, and the array will just grow longer and longer. i created an index variable inside the enemy class that I update whenever things are removed from the array and use before .removeMovieClip() like this: _root.(array name).splice(index, 1);

+ - !

(12)

see all comments
  • add a comment

Game Spotlight

Sponsored Listings