How do I Align Touch Controls Correctly

Get help using Construct 2

Post » Sat Dec 20, 2014 9:17 pm

I've followed @Ashley tutorials among others for mobile touch controls and they are on screen but when i preview on mobile they don't align correctly.

There are 4 controls: up, down, left, right. They appear far from their respective edges: i.e - the left and right controls are about 192 pixels from the left edge and the up and down are the same from the right edge, even though they are only 32 pixels from their edges in the layout: Left/right and bottom. And if I rotate my mobile they stretch upwards and look distorted. The layout/window size is 1280 X 768.

Things I've tried: Anchor to the edges: bottom, left/right respectively, bottom AND right/left.
Creating a transparent layer with the controls same size as layout.

Can anyone explain to me what i'm doing wrong so i can correct this?

https://www.dropbox.com/s/7mdq9gwgdabnb7a/MyGame_Touch.capx?dl=0

Thanks for any help.
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, Jackriduk, NN81, Username05 and 26 guests