How do I fix touch offsetting

Get help using Construct 2

Post » Thu Dec 25, 2014 12:47 am

Hi currently ive been working on a side scrolling shooter and until now ive had problems with an object set to the touch x and touch y offsetting and not being in the center of the touch. Ive checked the image point orgin and its set to the middle. To get the capx click here https://www.dropbox.com/s/jmi92banpjnmv ... .capx?dl=0 when you run the layout click anywhere for the rectile object to appear and it will position itself to the touch.
B
10
S
3
Posts: 14
Reputation: 1,140

Post » Thu Dec 25, 2014 1:03 am

Go to your Project properties and set "Fullscreen in Browser" to "Letterbox Scale"
It looks like "Scale Outer" makes some problems there.

Read this:
https://www.scirra.com/tutorials/73/sup ... reen-sizes
and then this:
https://www.scirra.com/tutorials/1126/m ... le-devices
Read this:
yeah, i really like to say that you should "Read this:"
B
12
S
5
Posts: 138
Reputation: 1,490

Post » Thu Dec 25, 2014 2:21 am

Thanks for responding so fast and for the links certainly helps me with supporting multiple screen sizes
B
10
S
3
Posts: 14
Reputation: 1,140


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests