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: 200
Reputation: 2,530

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
19
S
7
G
1
Posts: 222
Reputation: 2,546

Post » Fri Jul 01, 2016 9:50 pm

Ok, thanks!
B
25
S
7
G
1
Posts: 200
Reputation: 2,530


Return to How do I....?

Who is online

Users browsing this forum: Ashley, dop2000, MathNook, tarek2 and 32 guests