Hi
I have a Function that creates an object in X=200 Y=70
How can I add 100 px to Y everey time its created
Regards
Develop games in your browser. Powerful, performant & highly capable.
Make to local variables and make them static. Name them something like PosX and PosY. Set PosX to 200 and PosY to 70. Create your object at PosX, PosY location, then add 100 to PosX and PosY.
Got it ... THANKS