Button do not look correct on smartphone

Discussion and feedback on Construct 2

Post » Sun Dec 09, 2012 7:38 pm

Hello,

When I place a button on the screen and view it on a PC the button looks fine.

When I view it on a smartphone, the text inside the button is offset.

I have also seen times when I have to press the button multiple times on a smartphone before it shows the next screen.

Thanks

Tim
B
4
Posts: 16
Reputation: 857

Post » Mon Dec 10, 2012 1:07 am

I usually make sprite buttons instead of using the button object. This way you can just type the text right on your button with your choice of image editors so that it's always centered. Also by using sprites as buttons will increase your games performance on mobile devices.

Here is an example .capx of how I use sprites as buttons:

Sprite Buttons Example

I make my buttons with Photoshop but if you don't have photoshop you can use Gimp. Gimp is free, and there are plenty of tutorials out there on how to make buttons with Gimp.Wink2012-12-10 02:27:52
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Mon Dec 10, 2012 1:23 pm

Thank you for response and example. Very helpful.

Tim
B
4
Posts: 16
Reputation: 857


Return to Construct 2 General

Who is online

Users browsing this forum: Eisenhans, humanescape, Triforce and 4 guests