Shootorial #1: ActionScript 3
di Moly
Shootorial #1: ActionScript 3
Tag per Shootorial #1: ActionScript 3
Descrizione
Questo tutorial base per la creazione di giochi flash copre il movimento base degli sprite tramite input da tastiera. Realizzato con il permesso di Kongregate.
Come si gioca
Completa gli Shootorials e impara a creare i tuoi giochi Flash.
FAQ
Cos'è Shootorial #1 (ActionScript 3)?
Shootorial #1 (ActionScript 3) è un gioco sparatutto spaziale basato su tutorial, sviluppato da Moly e ospitato su Kongregate, pensato per insegnare le basi della creazione di uno shooter a scorrimento laterale usando ActionScript 3.
Come si gioca a Shootorial #1 (ActionScript 3)?
In Shootorial #1 (ActionScript 3), controlli un'astronave che può muoversi su e giù e spari proiettili per distruggere asteroidi in arrivo evitando le collisioni.
Chi ha sviluppato Shootorial #1 (ActionScript 3)?
Shootorial #1 (ActionScript 3) è stato sviluppato da Moly come parte di una serie di tutorial passo-passo sullo sviluppo di giochi.
Qual è l'obiettivo principale in Shootorial #1 (ActionScript 3)?
L'obiettivo principale in Shootorial #1 (ActionScript 3) è sopravvivere il più a lungo possibile abbattendo asteroidi e schivando ostacoli, in un classico formato arcade shooter.
Shootorial #1 (ActionScript 3) è pensato per sviluppatori di giochi o per giocatori?
Shootorial #1 (ActionScript 3) è rivolto principalmente ad aspiranti sviluppatori di giochi che vogliono imparare a realizzare un semplice sparatutto con ActionScript 3, ma può essere giocato anche come shooter spaziale di base.
Commenti
Kriptonic
Jun. 06, 2010
It would be nice to see how to set up the Keyboard stuff. I know all you were doing was an AS2 to AS3 port, but can you please provide a good tutorial on how to set up the keyboard to work with MovieClips? Without that knowledge, a lot of people aren't even going to be able to do some of the most simple elements of flash games...
Gamer200
Jan. 02, 2012
If you are stuck at step 11 replace the "enterframe" with Event.ENTER_FRAME
Varilian
Feb. 25, 2011
As per SamWarrior's comment, one of the best parts about programming is being given a complete set of someone elses code. If people were truly inquisitive, they would delve into the Key.as file they are given. The ability to have a keyboard event handler is the subject of thousands of tutorials, but the people who read this would be much better off if they just looked inside of the code they are given! If you want fluid movement, you need to read inside of that Key.as, and learn to love it! I know it's long, but please give this a '+' so people can learn!
thelolcano
Aug. 10, 2011
i need help, im using cs5.5 and ac3, i just finished step 13, and decided to test my game, i have the codes exactly the same, and i dont get any errors, but my ship will not move, help please????
scientist102
Feb. 04, 2011
Sry, I meant:
Saying "paste the code below" and not explaining what it means is not really teaching you about AS3, but telling you what to do, rather.