Create object list

Get help using Construct 2

Post » Wed Feb 17, 2016 10:42 am

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
B
33
S
17
G
11
Posts: 350
Reputation: 8,695

Post » Wed Feb 17, 2016 11:48 am

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.
Banned User
B
6
S
3
Posts: 105
Reputation: 1,170

Post » Wed Feb 17, 2016 2:10 pm

Got it ... THANKS
B
33
S
17
G
11
Posts: 350
Reputation: 8,695


Return to How do I....?

Who is online

Users browsing this forum: dop2000, TheCrazyPrince and 21 guests