How do I Spawn objects randomly around the layout?

Get help using Construct 2

Post » Wed Apr 23, 2014 9:47 pm

I want to spawn objects in random coordinates around all the layout. But, out of layout.
Just one thing.. i'm using the wrap behavior on the objects.
And the layout is landscape 768x480.
Thanks
B
20
S
4
Posts: 387
Reputation: 2,274

Post » Wed Apr 23, 2014 10:41 pm

B
48
S
9
G
10
Posts: 200
Reputation: 8,268

Post » Wed Apr 23, 2014 10:53 pm


hehe thank you very much, luis :)
but what about top and botton of the layout?
in my tests, i made something similar to your example.

In my game, the asteroids direction depends of the spaceship position in viewport.
but i can't find a way to spawn the asteroids in anywhere out of layout.. :\
B
20
S
4
Posts: 387
Reputation: 2,274

Post » Thu Apr 24, 2014 4:02 am

upload the game here (dropbox or googledrive). or send me email with the .capx file to [email protected]
i fixed for you.
B
48
S
9
G
10
Posts: 200
Reputation: 8,268

Post » Thu Apr 24, 2014 2:58 pm

B
48
S
9
G
10
Posts: 200
Reputation: 8,268

Post » Thu Apr 24, 2014 6:09 pm


that's it
thank you, dude :)
B
20
S
4
Posts: 387
Reputation: 2,274


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests