Hi, i'm going to create an "asteroid remake", but i have another question.
I created the space shuttle and i made the random spawn of the rocks, but i wonder how to move the rocks all in the center of the screen, this is the code that i wrote for the random spawning:
TouchAdd(0,0,50,50,rotasinistra,0);
TouchAdd(430,0,50,50,rotadestra,0);
int randomnumber=rand() % 480+1;
int randomnumber2=rand() % 480+1;
int randomnumber3=rand() % 480+1;
int view2;
int view3;
int view4;
view2=ViewAdd("Images/rocks.png",randomnumber,310);
view3=ViewAdd("Images/rocks.png",randomnumber2,310);
view4=ViewAdd("Images/rocks.png",randomnumber3,310);
Thanks