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
399
S
236
G
89
Posts: 24,543
Reputation: 195,430

Post » Wed Apr 19, 2017 6:40 pm

Add condition: Buff is visible to your On Clicked Event.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,699
Reputation: 64,446

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
53
S
27
G
114
Posts: 1,699
Reputation: 64,446

Post » Wed Apr 19, 2017 8:21 pm

Mistakes were made.
B
53
S
27
G
114
Posts: 1,699
Reputation: 64,446

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
21
S
9
G
4
Posts: 473
Reputation: 4,285


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 32 guests