I have this game I’m making that has an array of “falling” stars. The part where I want the stars to move looks like this:
function game():void
{
counter = 0;
do {
star[counter].y += .1;
counter++;
}while (counter < 56);
}
But this only moves one star at a time, causing the falling movement to be choppy. Any way I can move the entire array at once, keeping movement smooth?