Image Button ???

Get help using Construct 2

Post » Mon Dec 10, 2012 12:08 am

This may be a dumb question, but, I created a custom graphic
that I want to make function like a button...

Is there a way to load an image into a button?

or

Is there a way to may graphic object click like a button???

Mouse click ???
B
5
Posts: 58
Reputation: 916

Post » Mon Dec 10, 2012 12:14 am

Add it as a normal sprite object and use the Mouse condition "On object clicked".

Edit: Make sure you add the Mouse object to the project firstNimtrix2012-12-10 00:17:05
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Mon Dec 10, 2012 12:34 am

You should check the "How do I FAQ" for those kind of questions.

You would have found the item "Making a button using a sprite (and handle clicking on it) - LINK".Kyatric2012-12-10 00:34:45
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Mon Dec 10, 2012 1:10 am

Here is a quick example I just made for someone else:

Sprite Buttons Example

This example shows how I give my sprite buttons a mouse over hover effect.Wink2012-12-10 01:34:18
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Mon Dec 10, 2012 3:13 am

Thanks guys....
I appreciate it....
B
5
Posts: 58
Reputation: 916


Return to How do I....?

Who is online

Users browsing this forum: claurent9, imothep85 and 27 guests