You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting a node position with gui.get_screen_position, and then placing another node at the returned position fails if the target device resolution is not 1:1 to game.project setting.
If your game is set to 720x1280 and your device is 720x1280 correct position is returned.
If your game is set to 720x1280 and your device is 360x640 returned position is scaled by 0.5.
If your game is set to 720x1280 and your device is 1440x2560 returned position is scaled by 2.0.
Investigate this, also mind backward compatibility if this is considered a bug fix.
2017-11-14 11:23:13 (Mattias.Hedberg)
(LINK REMOVED)
The text was updated successfully, but these errors were encountered:
britzl
added
bug
Something is not working as expected
engine
Issues related to the Defold engine
and removed
bug
Something is not working as expected
labels
May 23, 2019
Reported by Presto
Getting a node position with gui.get_screen_position, and then placing another node at the returned position fails if the target device resolution is not 1:1 to game.project setting.
If your game is set to 720x1280 and your device is 720x1280 correct position is returned.
If your game is set to 720x1280 and your device is 360x640 returned position is scaled by 0.5.
If your game is set to 720x1280 and your device is 1440x2560 returned position is scaled by 2.0.
Investigate this, also mind backward compatibility if this is considered a bug fix.
2017-11-14 11:23:13 (Mattias.Hedberg)
(LINK REMOVED)
The text was updated successfully, but these errors were encountered: