Button problems

Get help using Construct 2

Post » Tue Oct 13, 2015 7:33 pm

Trying to make a button that goes back to the home menu, i'm using the demo version of Construct2,
it's the second button that was created and the events are in a group: "on button clicked: Go to this layout."

The button is not working, it's not even clicking in.
B
15
S
3
Posts: 45
Reputation: 1,040

Post » Tue Oct 13, 2015 8:03 pm

Did you use a Sprite as your button or the actual Button object?

If you used the Button object, then you would need to use it's own 'On Clicked' condition.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Tue Oct 13, 2015 10:11 pm

zenox98 wrote:Did you use a Sprite as your button or the actual Button object?

If you used the Button object, then you would need to use it's own 'On Clicked' condition.


It's a button, not an object, and I am using a click function but it's not proceeding with the action.
B
15
S
3
Posts: 45
Reputation: 1,040

Post » Wed Oct 14, 2015 7:28 am

Unfortunately your answer still isn't clear.

Are you saying you have added a Sprite Object and are using that as your button? If so, the standard Mouse Object or Touch Object events would handle the click.

If you used the actual Button Object, then you must use the Button Object's own events.

The quickest way to resolve this would be for you to save your project as a single .capx file and upload it here, via one of the many free hosting companies such as Dropbox.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Wed Oct 14, 2015 7:59 am

zenox98 wrote:Unfortunately your answer still isn't clear.

Are you saying you have added a Sprite Object and are using that as your button? If so, the standard Mouse Object or Touch Object events would handle the click.

If you used the actual Button Object, then you must use the Button Object's own events.

The quickest way to resolve this would be for you to save your project as a single .capx file and upload it here, via one of the many free hosting companies such as Dropbox.


I figured it out, it was an event that holding me back, I don't get how but I fixed it, thanks for the help! :mrgreen:
B
15
S
3
Posts: 45
Reputation: 1,040


Return to How do I....?

Who is online

Users browsing this forum: blissfulwizard and 12 guests