Shootorial #1: ActionScript 3
par Moly
Shootorial #1: ActionScript 3
Tags pour Shootorial #1: ActionScript 3
Description
Ce tutoriel de création de jeux Flash niveau débutant couvre les bases du déplacement de sprite via le clavier. 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 #1 (ActionScript 3) ?
Shootorial #1 (ActionScript 3) est un jeu de tir spatial basé sur un tutoriel, développé par Moly et hébergé sur Kongregate, conçu pour enseigner les bases de la création d'un shooter à défilement horizontal avec ActionScript 3.
Comment jouer à Shootorial #1 (ActionScript 3) ?
Dans Shootorial #1 (ActionScript 3), vous contrôlez un vaisseau spatial pouvant se déplacer verticalement et tirer des projectiles pour détruire les astéroïdes tout en évitant les collisions.
Qui a développé Shootorial #1 (ActionScript 3) ?
Shootorial #1 (ActionScript 3) a été développé par Moly dans le cadre d'une série de tutoriels de développement de jeux étape par étape.
Quel est l'objectif principal dans Shootorial #1 (ActionScript 3) ?
L'objectif principal est de survivre le plus longtemps possible en détruisant des astéroïdes et en évitant les obstacles dans ce format classique de shooter d'arcade.
Shootorial #1 (ActionScript 3) s'adresse-t-il aux développeurs de jeux ou aux joueurs ?
Shootorial #1 (ActionScript 3) s'adresse avant tout aux développeurs en herbe souhaitant apprendre à créer un jeu de tir simple avec ActionScript 3, mais il peut aussi être joué comme un shooter spatial basique.
Commentaires
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.