bug in my clicker game, help!

Get help using Construct 2

Post » Wed Apr 19, 2017 5:42 pm

I am making a clicker game an I want there to be buffs that you unlock when you have certain amount of clicks. The buffs work, and appear when they should, but the player can click them when they are invisible. Can I have some visual aid?
B
2
Posts: 2
Reputation: 154

Post » Wed Apr 19, 2017 6:18 pm

Moved from Bugs to 'How do I', please see the bug report guidelines for posting in the Bugs forum.
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,756

Post » Wed Apr 19, 2017 6:40 pm

Add condition: Buff is visible to your On Clicked Event.
Mistakes were made.
B
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

Post » Wed Apr 19, 2017 6:57 pm

oosyrag wrote:Add condition: Buff is visible to your On Clicked Event.
I did that. but its still clickable when it is not visible
B
2
Posts: 2
Reputation: 154

Post » Wed Apr 19, 2017 7:27 pm

Without seeing an example of what you have done, all I can say is that a mistake was probably made.
Mistakes were made.
B
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

Post » Wed Apr 19, 2017 8:21 pm

Mistakes were made.
B
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

Post » Wed Apr 19, 2017 8:23 pm

If you are doing the visibility check on the click correctly already, you might want to check that the object is actually set to not visible and not just opacity at 0 - I believe the latter will still register as visible. Check in the debugger to confirm.
B
19
S
8
G
3
Posts: 426
Reputation: 3,970


Return to How do I....?

Who is online

Users browsing this forum: David181, dop2000, namaewayukidesu and 11 guests