Shootorial #6: ActionScript 3
por Moly
Shootorial #6: ActionScript 3
Etiquetas para Shootorial #6: ActionScript 3
Descripción
Este tutorial de nivel inicial para crear juegos en Flash cubre la visualización de puntuación, medidor de salud y menú de fin de juego con botón de “jugar de nuevo” y lógica de reinicio. ¡Hecho con permiso de Kongregate!
Cómo jugar
¡Completa los Shootorials y aprende a crear tus propios juegos en Flash!
FAQ
¿Qué es Shootorial 6 (ActionScript 3)?
Shootorial 6 (ActionScript 3) es un juego de disparos espaciales en Flash desarrollado por Moly como parte de la serie de tutoriales Shootorial en Kongregate, enfocado en enseñar desarrollo de juegos en ActionScript 3.
¿Cómo se juega Shootorial 6 (ActionScript 3)?
En Shootorial 6, controlas una nave espacial usando el teclado y debes destruir oleadas de naves enemigas mientras evitas ataques en un estilo clásico de arcade shooter.
¿Cuáles son las principales características de Shootorial 6 (ActionScript 3)?
Shootorial 6 añade vidas para el jugador, la capacidad de reiniciar y una interfaz de usuario para mostrar las vidas restantes, además de todas las funciones de los tutoriales anteriores, como disparos y oleadas de enemigos.
¿Shootorial 6 (ActionScript 3) incluye algún sistema de progresión o puntuación?
Sí, Shootorial 6 cuenta con un sistema de puntuación que recompensa a los jugadores por destruir enemigos y lleva el conteo de vidas restantes, proporcionando una progresión básica dentro de las partidas.
¿En qué plataforma se puede jugar Shootorial 6 (ActionScript 3)?
Shootorial 6 (ActionScript 3) está disponible para jugar en navegadores que soportan Flash a través de Kongregate, diseñado principalmente para juego en escritorio web.
Comentarios
asgerregsa
May. 11, 2013
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
Jun. 30, 2011
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
Mar. 08, 2010
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
Oct. 09, 2011
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Game()
polkadex
Nov. 11, 2010
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