airwinds
07-09-2008, 10:05 PM
Hello all,
I was playing this game "Squares 2" ( http://www.ebaumsworld.com/games/play/1073 ) and I was wondering if any of you knew how the random generation of the squares were done in AS3.
I created a class called "Squares", where I defined a random speed, X and Y position and I managed to make one square move across the stage. But how do I keep generating new squares and make them move across?
Thanks!
~Air
I was playing this game "Squares 2" ( http://www.ebaumsworld.com/games/play/1073 ) and I was wondering if any of you knew how the random generation of the squares were done in AS3.
I created a class called "Squares", where I defined a random speed, X and Y position and I managed to make one square move across the stage. But how do I keep generating new squares and make them move across?
Thanks!
~Air