How do I create object based on loop number in variable?

Get help using Construct 2

Post » Fri Mar 28, 2014 1:11 pm

Hello, this is really first time I use Construct 2.

I want to create object that puts in random position limited by amount of a variable. But each time I use "for", everything is ended on infinite loop.

Following this tutorial
Image

...but I still getting an infinite loop.

Did I miss something?

Here is my event:
Image

Thank you.
B
3
Posts: 1
Reputation: 177

Post » Fri Mar 28, 2014 2:19 pm

You need to try a few more tutorials. C2 is a repeating script - your event sheet runs every tick, so your event is being repeated constantly. For now add 'On start of layout' and drag your event as a sub-event of it. It will then just run once.
ImageImageImage
B
71
S
22
G
248
Posts: 3,760
Reputation: 138,071


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 28 guests