How to spawn another "independent" instance

Get help using Construct 2

Post » Sun Aug 26, 2012 11:12 am

Hi all,

I have a picture of a table consists of equal white squares

I also have a black square, whose size is equal to those in the table, that sticks to the cursor. The black square will snap to the grid above.

I want that a black square is spawned whenever I click on a square in the table. My previous solution is to create a lot of sprites that look like a black square and place each of them in where users choose to.

I would like to take a different approach to the problem, using instances. Now when I click, the new square will also stick to the mouse, while I want it to stay in the background to mark where user has clicked.

I have read about UID, IID,
this thread but I have not found anything promising.

Can you please help?
Thank you very much
B
5
Posts: 17
Reputation: 509

Post » Sun Aug 26, 2012 11:19 am

link to my previous solutionTriet Chau2012-08-27 09:37:47
B
5
Posts: 17
Reputation: 509

Post » Sun Aug 26, 2012 10:50 pm

Your file is quite big, could you reduce it to something smaller?
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Sun Aug 26, 2012 10:57 pm

It's a psd file. Guess he linked the wrong thing.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,000

Post » Mon Aug 27, 2012 9:36 am

So sorry, I have fixed the linkTriet Chau2012-08-27 09:38:30
B
5
Posts: 17
Reputation: 509


Return to How do I....?

Who is online

Users browsing this forum: jul, TELLES0808, Yahoo [Bot] and 20 guests