Flash Test 001

game

[ ESPAÑOL / SPANISH ]

Tengo noticias para ustedes, gente... Estoy repentinamente interesado en aprender Flash.

Tengan miedo... Tengan mucho miedo... Ustedes no pueden siquiera imaginar todas las cosas que quisiera hacer en Flash... ahora es mi oportunidad de aprender a usarlo.

Estoy más interesado en el ActionScript, en realidad. Voy a necesitarlo para mis... ejem... planes (¿sigues sin asustarte?). Esto es el resultado final de mi primer trasteo con esta cosa: una simple animación donde TÚ controlas al "personaje", en este caso un círculo con una flecha.

Controles: Simplemente usa las flechas del teclado para acelerar el círculo en una dirección en particular. ¡A ver si pueden controlar esa cosa mientras se mueve! ;-)

A pesar de lo simple que se ve, esto contiene varias funciones que requieren de alguna experiencia. Tenemos detección de Teclas (para controlar el círculo), detección de bordes (en los bordes de la pantalla), efecto de aceleración (no es verdaderamente complicado, pero hay que tener la idea general) y detección de colisión.

Hasta el momento mi aprendizaje va bien. Existe, sin embargo, un molesto error si el círculo colisiona de forma especial con esas paredes verdes. Hace que el círculo se "pegue" a la pared. Es molesto de verdad. Estoy trabajando para descubrir cómo solucionarlo. Debería leer algunos tutoriales...

De todas formas, esto es sólo el comienzo. Planeo hacer más pruebas, ya que mis... ejem... planes son grandes. No daré adelantos por ahora; esto me tomará bastante tiempo, pero estoy dispuesto a perderlo. Los resultados pueden ser prometedores. ;-)

Tengan miedo... muajajaja...

¡Hay más que hacer en la Red de Redes!
(Megawacky Max)

[ INGLÉS / ENGLISH ]

I have news for you, people... I'm suddenly very interested on learning Flash.

Be afraid... Be very afraid... You just can't imagine all the things I would like to do in Flash... now it's my chance to start learning it.

I'm currently interested on the ActionScript, actually. I will need it for my... ahem... plans (still not scared?). This is the proper result of my first trashing at it: a simple animation where YOU control the "character", this time a green circle with an arrow.

Commands: Just use the arrow keys to accelerate the circle in a specific direction. Let's see if you can control it while moving! ;-)

Despite how simple this looks it contains several functions that require some experience. We have Key Detection (to control the circle), border detection (on the screen borders), acceleration effect (it's not really difficult, but you have to get the idea) and collision detection.

So far my learning seems okay. There is, however, a really annoying bug if the circle collides in a special fashion against those green walls (especially on the corners). It makes the circle "stick" to the wall. Really annoying. I'm working on trying to figure it out. I should read some tutorials...

Anyway, this is just the beginning. I'm planning more tests, because my... ahem... plans are big. No previews right now; this shall take me some sweet time, but I'm up to take that waste. The results could be promising. ;-)

Be afraid... bwahaha...

There's more to do in the Net of Nets!
(Megawacky Max)

Publisher: DeviantArt
Developer: megawackymax
Language: en
Year: 2006