Shootorial #6

Shootorial #6

by Kongregate
Report a bug
Flag Game
โญ Top
Learn to Fly 3
โญ Top
Retro Bowl
โญ Top
Epic Battle Fantasy 4
โญ Top
Escape Game - Computer Office Escape
๐Ÿ”ฅ Hot
NGU IDLE
โญ Top
Incremancer
โญ Top
UnpuzzleX
โญ Top
Kingdom Rush
โญ Top
Learn to Fly 2
โญ Top
Fleeing the Complex
โญ Top
Epic Battle Fantasy 5
โญ Top
Bloons TD 5
โญ Top
Kingdom Rush Frontiers
โญ Top
The Enchanted Cave 2
โญ Top
The King's League: Odyssey
โญ Top
Mutilate-a-Doll 2
โญ Top
Bloons Monkey City
โญ Top
SAS: Zombie Assault 4
โญ Top
Bit Heroes
โญ Top
Swords and Souls
Loading ad...

Shootorial #6

Rating:
4.0
Released: October 27, 2008
Last updated: October 27, 2008
Developer: Kongregate

Tags for Shootorial #6

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!

How to Play

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

Comments

0/1000
Mars83 avatar

Mars83

Oct. 20, 2010

74
2

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

chunygami avatar

chunygami

Dec. 10, 2009

29
1

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

Hobelbruder avatar

Hobelbruder

Apr. 22, 2010

40
2

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

iGreenPuffle92 avatar

iGreenPuffle92

Apr. 09, 2010

37
4

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.

3ndl3ss avatar

3ndl3ss

Jan. 12, 2013

5
0

"Now that we have a working health meter..."

โญ Top
Kongregate Stats API Tutorial: ActionScript 2
โญ Top
Kongregate Stats API Tutorial: ActionScript 3
โญ Top
Paintorial
Desktop Tower Defense Map Editor
Tutorial: How to make a basix Maze Game without any experience
How To Solve A Rubik's Cube!!
โญ Top
Flash Games Tut2
โญ Top
Flash Tutorial For Beginners
for god sake don't click!
how to make a basic adventure game using flash