arocnies
06/16/2020, 4:26 AMDeactivated User
06/16/2020, 7:43 AMarocnies
06/16/2020, 1:54 PM1.13.2.3
And the code to generate the circle is:
stage.circle(stage.width / 2, color = Colors.YELLOW).anchor(0.5, 0.5).position(stage.width / 2, stage.height / 2)
RezMike
06/16/2020, 1:56 PMstage.width
try to use stage.virtualWidth
anchor
or position
but not bothDeactivated User
06/16/2020, 5:27 PMstage.width
before 1.13.3.0 was stage.actualVirtualWidth
(that changes depending on the window size), changed after that version to avoid this kind of problems.
https://github.com/korlibs/korge/commit/ad6173dc27801b2c103615710f44eb1269e0df5d#diff-c553c1062490fbfda39a291b5714f74eL33-R33