Weird behaviour with Sprite Buttons

Get help using Construct 2

Post » Sat Aug 29, 2015 7:40 am

Morning guys,

Just intro.. not gonna post the capx due to the large number of events, around 1000 - don't wanna bother anyone with them!
So, I've done a clicker game with 1 Layout and 4 buttons on the bottom, who're gonna open 4 different menus.
The first 2 button on the left are always working, while, the others, sometime are not working - or maybe are working after I click on them 10 times.
Does anyone have the same problem? Just to make sure it's not 'normal', in order to review all the lines of the game!

Thanks guys! ;)
B
5
S
1
Posts: 10
Reputation: 397

Post » Sun Aug 30, 2015 1:52 am

I don't understand your question
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,293

Post » Sun Aug 30, 2015 5:52 am

Simply not all the buttons are responsive at the first click. Maybe I need to click 4 or five times to open them!
B
5
S
1
Posts: 10
Reputation: 397

Post » Sun Aug 30, 2015 6:57 am

I'm pretty sure it has to do with your code
It's time for me to return the favor :)
B
32
S
9
G
9
Posts: 132
Reputation: 5,375

Post » Sun Aug 30, 2015 8:41 am

Hard to tel without looking at your events… :o
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Sun Aug 30, 2015 9:30 am

first check the button-collision polygon..

Image
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Sun Aug 30, 2015 1:42 pm

hi can u please put a screenshot of the button events?? so i can see the problem?
C2 Intermediate Developer
Feel free to contact me
B
7
S
2
Posts: 111
Reputation: 908

Post » Sun Aug 30, 2015 3:44 pm

Ua... thanks all guys.. was the collision point!

Dunno why.. with other games, without using the photo editor of C2, I didn't have these problems.. maybe, due to transparency.. it did it automatically! Anyway, problem solved... You're amazing ;)
B
5
S
1
Posts: 10
Reputation: 397

Post » Sun Aug 30, 2015 5:41 pm

korbaach wrote:first check the button-collision polygon..

What an instinct…! I guess you got through this kind of issues before :mrgreen:
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Sun Aug 30, 2015 6:11 pm

several times @Coin-coin le Canapin :lol:
this usually happens when I cut the buttons from sprite sheet...

Image
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 31 guests