How do I

Get help using Construct 2

Post » Sun Apr 23, 2017 9:14 pm

Hello There :
any help about how to make system create many number of a sprite with random position without make it go out screen

i need system create a sprite 10 times at the same time but every time i try it creates only one and it goes out of screen also how to make them in rows or randomly position if i need

thanks in advance
B
22
S
8
G
2
Posts: 78
Reputation: 2,703

Post » Mon Apr 24, 2017 3:20 am

system (repeat 100 times) -> create object (sprite) with a position of (random(0,Layoutwidth), random(0, LayoutHeight)

this will keep them all within the viewport
B
90
S
44
G
17
Posts: 1,012
Reputation: 18,527

Post » Mon Apr 24, 2017 12:24 pm

@justifun thanks i will try this :)
B
22
S
8
G
2
Posts: 78
Reputation: 2,703


Return to How do I....?

Who is online

Users browsing this forum: adelwich, kizlengames, matriax and 6 guests

cron