Shootorial #6: ActionScript 3

Shootorial #6: ActionScript 3

by Moly
Report a bug
Flag Game
Loading ad...

Shootorial #6: ActionScript 3

Rating:
3.3
Released: August 10, 2009
Last updated: September 20, 2009
Developer: Moly

Tags for Shootorial #6: ActionScript 3

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! Made with permission from Kongregate.

How to Play

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

FAQ

What is Shootorial 6 (ActionScript 3)?
Shootorial 6 (ActionScript 3) is a Flash-based space shooter game developed by Moly as part of the Shootorial tutorial series on Kongregate, focusing on teaching ActionScript 3 game development.

How do you play Shootorial 6 (ActionScript 3)?
In Shootorial 6, you control a spaceship using the keyboard and aim to destroy waves of enemy ships while avoiding incoming attacks in a classic arcade shooter gameplay style.

What are the main features of Shootorial 6 (ActionScript 3)?
Shootorial 6 adds player lives, the ability to restart, and a user interface to display the player's remaining lives, as well as all previous features from earlier tutorials in the series, like shooting and enemy waves.

Does Shootorial 6 (ActionScript 3) include any progression or scoring system?
Yes, Shootorial 6 features a score system that rewards players for destroying enemies, and it tracks the number of lives remaining, providing basic progression within game sessions.

What platform can you play Shootorial 6 (ActionScript 3) on?
Shootorial 6 (ActionScript 3) is available to play in browsers that support Flash via Kongregate, designed primarily for web-based desktop play.

Comments

0/1000
asgerregsa avatar

asgerregsa

May. 11, 2013

3
0

I have a problem with the game over menu. I called it "GameOverMenu" and its export is "GameOverMenu" - just like in the tutorial. Now when I try to run the game, I get this error: "1120: Access of undefined property gameOverMenu." I get that error 8 times - the number of times "gameOverMenu" is written in my Game.as file. I tried changing "gameOverMenu" to "GameOverMenu" but that didn't help. Can someone please explain what the problem is?

Pengisimo avatar

Pengisimo

Jun. 30, 2011

7
1

For score format, the code is correct, but the score format code has to be before the score text code because if you are defining a default text format, you need to define it before drawing the text. ALSO, in order to define scoreText's text format, you have to create it first, so replace this line: static var scoreText:TextField; with this:static var scoreText:TextField=new TextField(); in your variables spot. Take that Cantor.

Cantor avatar

Cantor

Mar. 08, 2010

26
6

To answer the one question most people have for this tut, defaultTextFormat is WRONG! instead use: scoreText.setTextFormat(scoreFormat);

Quite a simple little error but causes so much frustration :P

damiller avatar

damiller

Oct. 09, 2011

1
0

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Game()

polkadex avatar

polkadex

Nov. 11, 2010

3
1

ty very much, :D, I really was in need of a way to show score on the screen. this works great for me. 5/5