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
19
S
8
G
2
Posts: 73
Reputation: 2,616

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
83
S
40
G
15
Posts: 993
Reputation: 16,909

Post » Mon Apr 24, 2017 12:24 pm

@justifun thanks i will try this :)
B
19
S
8
G
2
Posts: 73
Reputation: 2,616


Return to How do I....?

Who is online

Users browsing this forum: NN81, sublimate and 7 guests