How do I repeat an object spawning,and rotating the next one

Get help using Construct 2

Post » Sat Dec 27, 2014 11:53 pm

I am trying to programmatically create a barrier around an object. I want to spawn an object, set the rotation value to X amount before spawning the next object and repeat Y times.

I have tried variations of this, but always end up with just one object.
https://onedrive.live.com/redir?resid=9A47B0C4B5BF4E2E!216104&authkey=!AG7JzA_2--hJDwg&v=3&ithint=photo%2cpng

Image

Any assistance is appreciated.
B
35
S
12
G
3
Posts: 92
Reputation: 4,752

Post » Sun Dec 28, 2014 12:04 am

Aaaannnd of course I finally figure it out after posting, even though I had been trying for hours.

I used a WHILE loop instead and a global variable for the count.

Image
B
35
S
12
G
3
Posts: 92
Reputation: 4,752


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 4 guests