|
Post by incendie on Nov 18, 2017 1:06:08 GMT
i have a problem with phone that have a navigation bar. My script runs perfectly at 1920x1080 but on a 1920x1080 phone with navigation bar the screen size drops to 1810x1080 and the region gets pushed upper right.
How do I realign the region on 1920x1080 to match the region on 1810x1080?
|
|
|
Post by AnkuLua on Nov 18, 2017 1:13:38 GMT
There are many solutions. 1. Make your region larger to cover both 2. Make regions bases on an anchor. 3. Create region based on the app usable screen dimension.
|
|
|
Post by incendie on Nov 18, 2017 1:19:33 GMT
i'm looking for a math solution to re-set all the regions. something like x = x*(1920/1810). but i can't figure it out.
i know ff brave exvius does something similar. anyone got the time to post the math solution
|
|
|
Post by AnkuLua on Nov 18, 2017 8:14:36 GMT
It depends on the game on how to scale. There is no general function for all games.
|
|