Shootorial #1: ActionScript 3
por Moly
Shootorial #1: ActionScript 3
Tags para Shootorial #1: ActionScript 3
Descrição
Este tutorial de nível inicial sobre criação de jogos em Flash cobre o movimento básico de sprites via teclado. Feito com permissão do Kongregate.
Como jogar
Complete os Shootorials e aprenda a criar seus próprios jogos em Flash.
FAQ
O que é Shootorial #1 (ActionScript 3)?
Shootorial #1 (ActionScript 3) é um jogo de tiro espacial baseado em tutorial, desenvolvido por Moly e hospedado no Kongregate, criado para ensinar o básico de como fazer um shooter com rolagem lateral usando ActionScript 3.
Como jogar Shootorial #1 (ActionScript 3)?
Em Shootorial #1 (ActionScript 3), você controla uma nave espacial que pode se mover para cima e para baixo, atirando para destruir asteroides enquanto evita colisões.
Quem desenvolveu Shootorial #1 (ActionScript 3)?
Shootorial #1 (ActionScript 3) foi desenvolvido por Moly como parte de uma série de tutoriais passo a passo sobre desenvolvimento de jogos.
Qual é o objetivo principal em Shootorial #1 (ActionScript 3)?
O objetivo principal em Shootorial #1 (ActionScript 3) é sobreviver o máximo possível destruindo asteroides e desviando de obstáculos, no formato clássico de arcade shooter.
Shootorial #1 (ActionScript 3) é voltado para desenvolvedores de jogos ou jogadores?
Shootorial #1 (ActionScript 3) é voltado principalmente para aspirantes a desenvolvedores de jogos que querem aprender a criar um shooter simples usando ActionScript 3, mas também pode ser jogado como um shooter espacial básico.
Comentários
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.