Shootorial #3: ActionScript 3
di Moly
Shootorial #3: ActionScript 3
Tag per Shootorial #3: ActionScript 3
Descrizione
Questo tutorial per principianti sulla creazione di giochi Flash copre lo sparo dei proiettili! Realizzato con il permesso di Kongregate.
Come si gioca
Completa gli Shootorial e impara a creare i tuoi giochi Flash.
FAQ
Cos'è Shootorial 3 (ActionScript 3)?
Shootorial 3 (ActionScript 3) è un gioco sparatutto spaziale giocabile su browser, sviluppato da Moly come parte della serie tutorial Shootorial di Kongregate.
Come si gioca a Shootorial 3 (ActionScript 3)?
In Shootorial 3 (ActionScript 3) controlli un'astronave usando la tastiera per muoverti e sparare ai nemici in arrivo, in puro stile arcade shooter.
Qual è l'obiettivo principale in Shootorial 3 (ActionScript 3)?
L'obiettivo principale è sopravvivere il più a lungo possibile schivando i colpi nemici e distruggendo quante più navi nemiche puoi per ottenere un punteggio alto.
C'è un sistema di progressione o potenziamenti in Shootorial 3 (ActionScript 3)?
Shootorial 3 (ActionScript 3) si concentra sul gameplay shoot 'em up di base e non include sistemi di upgrade o progressione.
Su quale piattaforma puoi giocare a Shootorial 3 (ActionScript 3)?
Puoi giocare gratuitamente a Shootorial 3 (ActionScript 3) nel tuo browser web su Kongregate.
Commenti
KimmelGames
Jul. 22, 2011
@ Orangatang91:
The code "Keyboard.SPACE" finds the position in the array (don't quote me on that, It might not be an array) "Keyboard" ("Keyboard" is from that one line "import flash.ui.Keyboard") that is defined by the string "SPACE". At that position is a number. That number is 32. So, using "Keyboard.SPACE" is the same as using "32". So, when you type Key.isDown(32) it goes to the "Key" class that was defined and runs the function "isDown" with the parameter "32". Function "isDown" then returns a boolean value (boolean means true or false). *SOOO*, *if you want to use, say, "X" instead of "SPACE"* then you would have to look up some chart on the internet (I like http://preview.tinyurl.com/3o2wmgm). So instead of using "Keyboard.X", you must use "88" (Why 88? Who knows!). "Key.isDown(88)" is the line of code for you. Don't worry, it's a mistake that just about everyone has made, and I'm no exception. Please rate up if this was helpful.
UnknownGuardian
Aug. 10, 2009
The developer has permission to use these. Written Permission.
randomcomm3nt
Mar. 17, 2011
Dear author: please put your opening brace of a function on the line after the declaration. That is all. (Thanks for the tutorials though) :)
pwnedtyler
Jul. 23, 2010
Great Tut's Moly, its about time someone made an as3 shootorial. I mean Why would Kongregate? Almost all of their new API is AS3 exclusive. So good work 5/5
izanami
Jul. 31, 2010
better use a KeyboardEvent listener..