Spawn An Object on edge of Shap

Get help using Construct 2

Post » Sat Feb 22, 2014 9:36 pm

how i can spawn Object on edge of a shape randomly?
B
3
Posts: 15
Reputation: 332

Post » Sun Feb 23, 2014 4:22 am

A little unclear. Do you want to spawn an object along a line at random points? At the edge of an object (ie, at a point)?

Image points are probably your solution. You can have a few and pick them randomly by putting random(FirstImagePoint, LastImagePoint) in the image point field for spawning an object on another object.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Sun Feb 23, 2014 9:43 am

That won't make it spawn to last image point.
So make an extra image point,a useless one.
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Sun Feb 23, 2014 10:21 am

B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Sun Feb 23, 2014 1:19 pm

just to make things clear enough .
i have a circle and i want spawn a little triangle on the edge of circle randomly.
Last edited by Marwan on Sun Feb 23, 2014 1:24 pm, edited 1 time in total.
B
3
Posts: 15
Reputation: 332

Post » Sun Feb 23, 2014 2:05 pm

B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Sun Feb 23, 2014 11:17 pm



Thank You that did the trick
B
3
Posts: 15
Reputation: 332


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 47 guests