Draw canvas circle?

Get help using Construct 2

Post » Tue May 14, 2013 4:05 pm

Hi everyone.

Im having a little problem drawing a canvas circle on multiple towers.

I want to draw the circle when i click the tower.
"But only on that tower" - not others.

Heres what i did:


B
34
S
8
G
7
Posts: 498
Reputation: 7,753

Post » Tue May 14, 2013 4:22 pm

Am i doing something wrong?
B
34
S
8
G
7
Posts: 498
Reputation: 7,753

Post » Tue May 14, 2013 5:16 pm

I can't see your image. It's not showing
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Tue May 14, 2013 5:19 pm

http://billedeupload.dk/images/pkFX.jpg

It should work
B
34
S
8
G
7
Posts: 498
Reputation: 7,753

Post » Tue May 14, 2013 5:23 pm

You have "pick a random instance" condition which only picks ONE instance. The next condition, for each, only has access to that random picked instance.Mipey2013-05-14 17:23:56
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Tue May 14, 2013 5:27 pm

But "Pick a random instance" Does that just pick a random one from all available?

I just need to show the circle on the item i click on. Not the rest (unless i click on another = show that ones range)

Its a bit confusing. :/
B
34
S
8
G
7
Posts: 498
Reputation: 7,753

Post » Tue May 14, 2013 5:39 pm



http://billedeupload.dk/images/kprzT.jpg

Here is an example.
I just clicked one tower, but it draws it on the second one too..
B
34
S
8
G
7
Posts: 498
Reputation: 7,753

Post » Tue May 14, 2013 6:13 pm

clear the second and third conditional and see if it helped.
ImageImageImageImageImageImage
B
93
S
20
G
12
Posts: 1,213
Reputation: 18,484

Post » Tue May 14, 2013 6:33 pm

Didnt work, it only shows the circle on the first created tower unfurtunatly..

Any other ideas anyone?
B
34
S
8
G
7
Posts: 498
Reputation: 7,753

Post » Tue May 14, 2013 6:42 pm

Can you make a sample CAPX with other graphics (if you desire) and share it?
ImageImageImageImageImageImage
B
93
S
20
G
12
Posts: 1,213
Reputation: 18,484

Next

Return to How do I....?

Who is online

Users browsing this forum: ibrahimtolaj, Unconnected and 16 guests