How do I give buttons simple images?

Get help using Construct 2

Post » Sat Apr 09, 2016 2:42 pm

I could perhaps use CSS, thats annoying, I just want to append a sprite image as the buttons face. Anyway to do it? Could the CSS sheet load an image from my game folder? or no?

How do we do this? Seems like a important feature, how have all of you been making UI? Just sprites?
B
5
S
1
Posts: 68
Reputation: 515

Post » Sat Apr 09, 2016 3:05 pm

you can try:
Files----> Import files
Image

but..Yes..I think most people use custom sprites for UI...
B
66
S
24
G
7
Posts: 1,514
Reputation: 11,039

Post » Sat Apr 09, 2016 9:50 pm

Have you tried to create a sprite and set an event that says "on click on sprite X"?
Riding the Rainbow for all the eternity
B
10
S
5
Posts: 31
Reputation: 934

Post » Fri Apr 15, 2016 1:46 am

Thats what I had to do, create a sprite "class" as a "button" class basically. Thanks.
B
5
S
1
Posts: 68
Reputation: 515


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 25 guests