How do I fix text position?

Get help using Construct 2

Post » Fri Jul 01, 2016 7:09 pm

Sometimes the text shown in construct is quite different in terms of position compared to the browser, Chrome in my case.
How to fix this?
B
25
S
7
G
1
Posts: 201
Reputation: 2,532

Post » Fri Jul 01, 2016 8:10 pm

I noticed that also, it is different from browser to browser.

you could try to detect the user agent (but there will be many cases where this is not correct) and then set the position if the game runns in this browser:

UserAgent
Return the full user agent string for the browser, e.g. Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63.

regards
B
23
S
8
G
1
Posts: 225
Reputation: 2,757

Post » Fri Jul 01, 2016 9:50 pm

Ok, thanks!
B
25
S
7
G
1
Posts: 201
Reputation: 2,532


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 20 guests