|
Post by heronomex on Oct 26, 2017 15:50:53 GMT
|
|
|
Post by AnkuLua on Oct 27, 2017 1:15:57 GMT
You should use both Settings:setScriptDimension() and Settings:setCompareDimension(). Or the scripts will fail on devices with different widths. Please update your script to join the activity.
|
|
|
Post by heronomex on Oct 27, 2017 7:17:02 GMT
You should use both Settings:setScriptDimension() and Settings:setCompareDimension(). Or the scripts will fail on devices with different widths. Please update your script to join the activity. Thanks I really appreciate the help, is the current implementation fine?
|
|
|
Post by AnkuLua on Oct 28, 2017 0:23:39 GMT
You should not set any dimension according to the user's device.
screenW = screen:getX() screenH = screen:getY() compareW = 1920 compareH = 1080 Settings:setScriptDimension(true, screenW) Settings:setCompareDimension(true, compareW)
Just set it according to the device that is used to develop the script.
Settings:setScriptDimension(true, 1920) Settings:setCompareDimension(true, 1920)
|
|
|
Post by heronomex on Oct 28, 2017 8:55:33 GMT
Added this yesterday, so I think it should be alright now.
function setDimension16by9() local screen = getAppUsableScreenSize() screenW = screen:getX() screenH = screen:getY() compareW = 1920 compareH = 1080 Settings:setScriptDimension(true, screenW) Settings:setCompareDimension(true, compareW) end
|
|
|
Post by AnkuLua on Oct 28, 2017 10:06:29 GMT
Use following script instead
function setDimension16by9() Settings:setScriptDimension(true, 1920) Settings:setCompareDimension(true, 1920) end
You should not set any dimension according to the user's device. Just set it according to the device that is used to develop the script.
|
|
|
Post by heronomex on Oct 28, 2017 13:29:08 GMT
Use following script instead function setDimension16by9() Settings:setScriptDimension(true, 1920) Settings:setCompareDimension(true, 1920) end You should not set any dimension according to the user's device. Just set it according to the device that is used to develop the script. Thanks, I misunderstood before, I've changed it now.
|
|
|
Post by AnkuLua on Oct 29, 2017 0:19:24 GMT
Congratulation for winning two Pro2 licenses. Please PM us the account to authorize the licenses. It could be authorized and recommended to the same account. Please register and active the account with Pro2 first.
|
|