Shootorial #6: ActionScript 3

Shootorial #6: ActionScript 3

par Moly
Signaler un bug
Signaler le jeu
Loading ad...

Shootorial #6: ActionScript 3

Note:
3.3
Sortie : August 10, 2009
Dernière mise à jour : September 20, 2009
Développeur: Moly

Tags pour Shootorial #6: ActionScript 3

Description

Ce tutoriel Flash pour débutants couvre l’affichage du score, la barre de vie et le menu de fin de partie avec bouton « rejouer » et la logique de réinitialisation ! Réalisé avec l’autorisation de Kongregate.

Comment jouer

Terminez les Shootorials et apprenez à créer vos propres jeux Flash !

FAQ

Qu'est-ce que Shootorial 6 (ActionScript 3) ?
Shootorial 6 (ActionScript 3) est un jeu de tir spatial en Flash développé par Moly dans la série de tutoriels Shootorial sur Kongregate, axé sur l'apprentissage du développement de jeux avec ActionScript 3.

Comment jouer à Shootorial 6 (ActionScript 3) ?
Dans Shootorial 6, vous contrôlez un vaisseau à l'aide du clavier et devez détruire des vagues d'ennemis tout en évitant leurs attaques, dans un style de shooter d'arcade classique.

Quelles sont les principales fonctionnalités de Shootorial 6 (ActionScript 3) ?
Shootorial 6 ajoute des vies au joueur, la possibilité de recommencer et une interface affichant le nombre de vies restantes, ainsi que toutes les fonctionnalités des tutoriels précédents comme le tir et les vagues d'ennemis.

Y a-t-il un système de progression ou de score dans Shootorial 6 (ActionScript 3) ?
Oui, Shootorial 6 propose un système de score qui récompense les joueurs pour la destruction d'ennemis et suit le nombre de vies restantes, offrant une progression basique pendant la partie.

Sur quelle plateforme peut-on jouer à Shootorial 6 (ActionScript 3) ?
Shootorial 6 (ActionScript 3) est jouable sur navigateur compatible Flash via Kongregate, principalement sur ordinateur.

Commentaires

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