Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / Text size in Virtual Buttons

Author
Message
pinete
12
Years of Service
User Offline
Joined: 28th Jul 2011
Location:
Posted: 30th Nov 2019 09:26
Hi!
Is there any way to modify or change the text in Virtual Buttones?
When I put them into the scene the text seems bigger but when I press Play icon, the text in the button get smaller...
Maybe it would be a good idea to let the users change the text size from any slider or box in the interface.
I really think this is a very important thing.
Thanks a lot!
DannyD
6
Years of Service
User Offline
Joined: 29th Aug 2017
Location:
Posted: 30th Nov 2019 13:18
Yes, I've also seen that aswell, just havn't had time to report it.

pinete
12
Years of Service
User Offline
Joined: 28th Jul 2011
Location:
Posted: 30th Nov 2019 18:28
Yeah
I think it's very important to be able to change text, size and font, in virtual buttons.
Otherwise they cannot be used for a bunch of things as their functionality is very reduced.
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 30th Nov 2019 20:40
The virtual buttons autosize depending on what text you add
I think if you use a custom text you can change the default size
but really if you want to do that its best to use your own images
that allows much more control and appeal
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
pinete
12
Years of Service
User Offline
Joined: 28th Jul 2011
Location:
Posted: 30th Nov 2019 21:46
That's for sure
BUT... as far as I guess, regarding one of the main reasons of the existence visual editor -save time with visual placement and depelopment-, to put the text in your own made graphic buttons is a step back, no doubt.
You have to invest lot of time with the buttons, traslating texts... is crazy...
To me, to be able to use seriously virtual buttons, text features and auto-highlights of button's states are more than a must.

Thanks a lot!
Loktofeit
AGK Developer
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location: Sarasota, FL
Posted: 30th Nov 2019 21:58
Virtual Buttons text size is determined by the height of the virtualbutton. See image below.

If you want control over the text of your buttons, your best bet is to include it in your button up and down images.



Attachments

Login to view attachments
pinete
12
Years of Service
User Offline
Joined: 28th Jul 2011
Location:
Posted: 30th Nov 2019 22:47
Thanks a lot for taking the time to bring the example much appreciated.
I get it, for sure.
But I think it would be needed to be able to deal with the text of a virtual button separately.
If for example, you're working on a game with a good number of buttons and you have to launch it in EFIGS languages, is not feasible to do it directly in graphics.. I mean, you can do it, but you're losing a lot of time.
Again, thanks so much for the screen
Loktofeit
AGK Developer
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location: Sarasota, FL
Posted: 1st Dec 2019 00:44
Good point about the EFIGS support. Localization is a lot easier with the button text. Didn't even think of that.

Login to post a reply

Server time is: 2024-03-29 12:32:55
Your offset time is: 2024-03-29 12:32:55