How do I Make an image be a button

Get help using Construct 2

Post » Fri Apr 28, 2017 6:06 am

[b]How do I put any image, turn a button, when that button, will change layout[/b] :roll:
B
4
S
1
Posts: 2
Reputation: 304

Post » Fri Apr 28, 2017 2:30 pm

Add the mouse object. It has the ”on object clicked" condition where you can specify the sprite you want to be your button. Action change layout.
Mistakes were made.
B
49
S
24
G
107
Posts: 1,581
Reputation: 60,303

Post » Fri Apr 28, 2017 4:07 pm

So, the problem is that I make the conditions for the sprite, and at the time of the test in the browser, when I click the button nothing happens
B
4
S
1
Posts: 2
Reputation: 304

Post » Fri Apr 28, 2017 5:23 pm

Can you maybe show the event you used? (just write it down like: when... pressed. etc)

Normally you have a sprite you want to use somewhere on the screen. Then, add the "mouse" object and go to the event sheet. When you select the mouse object, there is something like "on object clicked..."
B
13
S
2
Posts: 78
Reputation: 817

Post » Sat Apr 29, 2017 10:37 am

B
16
S
7
G
3
Posts: 395
Reputation: 3,693


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests