This time, i will try to write in english. Sorry about my possible mistakes.
Since i’ve been uploading source code for a month, is time to do a compilation with a litle description, for all my readers that are not able to read spanish.
NOTE: all the examples includes a link o the source code, it can be a zip, or just the code to copy and paste. Link with FLA is usually at the bottom, in CS3 format.
The first example, is basicall a ball who follows another one. Is really simple and it works with a few lines of code. Main idea is to introduce constraints.
LINK: http://alejandroquarto.com/2007/11/07/como-hacer-que-una-movie-siga-a-otra-a-la-distancia-deseada/
Then, i’ve tried to extend the math Object to be able to handle another methods. Is a bit frustrating for me to deal with radians and degrees all the time. Also i’ve made an useful method to determine two points distance(Pitagoras).
LINK: http://alejandroquarto.com/2007/11/10/algunos-metodos-utiles-para-manejo-de-numeros-en-flash/
The next example, is similar than the first ball example. Main difference is that now we have a couple of balls, and a complex constraint system compared to the first one. By the other side you will see the new Math2 implementation.
LINK: http://alejandroquarto.com/2007/11/11/un-poco-mas-sobre-el-seguimiento-de-movieclips-ahora-con-restricciones/
Trying to take distance of balls, i made a litle experiment with Fractal Graphics. I have to say, is not really easy to understand, but the code is clear i think, and is easy to tune to see differents pics from the Mandelbrot Set (one of the most commons sets in Fractals).
LINK: http://alejandroquarto.com/2007/11/12/graficos-fractales-y-flash-mandelbrot-ataca-cpu/
This example is possible the best one. If you like game development, im sure you played some good games at WWW.TEAGAMES.COM. Really good games, playing with physics. My first attemp was to re-create part of the logic implemented in those games. Again: Balls! and constraints, mixed with some math functions.
I hope to see this exampled in a “game” format soon :D
LINK: http://alejandroquarto.com/2007/11/20/colision-en-flash-la-prehistoria-de-juegos-como-los-de-tea/
Last example so far, is a Snake Game also with source code, based on Nokia Series 40, specially Nokia 5200 and 5300. Game have some bugs, cos it was a few hours experiment when playing with my cell phone. All the art is code based, so you will have to change some stuff to make it look prety..or you can draw better than me with Flash Primitives :D
LINK:http://alejandroquarto.com/2007/11/22/snake-100-code-based-para-nokia-5200-5300-y-algunos-serie-40/
Finally you can see my actionscript.org tutorials at
http://www.actionscript.org/resources/authors/446/Alejandro-Quarto
I hope you enjoy some of this stuff, feel free to contact me, or to post comments.
Leave a Reply
You must be logged in to post a comment.
