Button Font Style

Get help using Construct 2

Post » Tue Feb 25, 2014 5:01 am

I was simply wondering if there was any way to change the font style of the text that shows up on button objects.
B
3
Posts: 2
Reputation: 712

Post » Tue Feb 25, 2014 6:48 am

Button objects aren't classic objects as they are native html form elements. Therefore, they are handled by CSS. You can set an ID in the button properties, and then apply a CSS style to it through your website. I don't know other methods for doing this.
Another solution would be not to use the default button object, but create a sprite and add everything that could make the user believe it is a button (some kind of hoover, a onclick, some visual effects, you could also use the spritefont, ...)
B
17
S
8
G
4
Posts: 473
Reputation: 6,211

Post » Fri Feb 28, 2014 3:10 pm

Thanks a bunch for the information. I ended up creating the sprite with the added effects in the end. I looked up CSS, but it seemed to get a bit complicated pretty fast. Either way, thanks for the info again!
B
3
Posts: 2
Reputation: 712


Return to How do I....?

Who is online

Users browsing this forum: dop2000, michaelverdi and 18 guests