Shootorial #6: ActionScript 3

Shootorial #6: ActionScript 3

di Moly
Segnala un bug
Segnala gioco
Loading ad...

Shootorial #6: ActionScript 3

Voto:
3.3
Rilasciato: August 10, 2009
Ultimo aggiornamento: September 20, 2009
Sviluppatore: Moly

Tag per Shootorial #6: ActionScript 3

Descrizione

Questo tutorial per principianti sulla creazione di giochi Flash copre la visualizzazione del punteggio, la barra della salute e il menu di game over con il pulsante "gioca ancora" e la logica di reset! Realizzato con il permesso di Kongregate.

Come si gioca

Completa i Shootorials e impara a creare i tuoi giochi Flash!

FAQ

Cos'è Shootorial 6 (ActionScript 3)?
Shootorial 6 (ActionScript 3) è un gioco sparatutto spaziale in Flash sviluppato da Moly come parte della serie tutorial Shootorial su Kongregate, pensato per insegnare lo sviluppo di giochi in ActionScript 3.

Come si gioca a Shootorial 6 (ActionScript 3)?
In Shootorial 6 controlli un'astronave usando la tastiera e devi distruggere ondate di navi nemiche evitando i loro attacchi, in uno stile arcade shooter classico.

Quali sono le caratteristiche principali di Shootorial 6 (ActionScript 3)?
Shootorial 6 aggiunge le vite del giocatore, la possibilità di ricominciare e un'interfaccia utente che mostra le vite rimaste, oltre a tutte le funzionalità dei tutorial precedenti come shooting e ondate di nemici.

Shootorial 6 (ActionScript 3) include sistemi di progressione o punteggio?
Sì, Shootorial 6 presenta un sistema di punteggio che premia i giocatori per aver distrutto i nemici e tiene traccia delle vite rimaste, offrendo una progressione base all'interno delle sessioni di gioco.

Su quale piattaforma puoi giocare a Shootorial 6 (ActionScript 3)?
Shootorial 6 (ActionScript 3) è disponibile su browser che supportano Flash tramite Kongregate, pensato principalmente per il gioco su desktop web.

Commenti

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