How do I spawn more objects on a grid?

Just started using Construct 2? Post your questions here

Post » Sat Mar 21, 2015 7:26 pm

Hello to all
i have a very simply question for who have patience to answer
i have a grid 32x32 pixels, with 5 columns and 5 rows
i need to spawn 10 or "variable" instances of a objects in random position
the problems is that i cannot say to C2 how to "check if a position x,y the objects already exists"
:?

Image
(in this screenshot is clear that the trees in red circle are in the same position)

Image

thanks in advance

p.s i get a MSSQL error when i try to attach images
B
8
S
1
Posts: 17
Reputation: 503

Post » Sun Mar 22, 2015 11:08 am

Hi,

I would do something like this
Image
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Sun Mar 22, 2015 1:39 pm

beufreecasse wrote:Hi, I would do something like this


thanks, beufreecasse, i'll give a try ;)
B
8
S
1
Posts: 17
Reputation: 503

Post » Wed Mar 25, 2015 11:34 am

i think this is easyer

Image
B
8
S
1
Posts: 17
Reputation: 503


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests