In this event-handler we add 1.5 pixels to the y position of the ball and it executes correctly.
But what does 0.5 pixel mean? How could it move 0.5 pixel?
In this event-handler we add 1.5 pixels to the y position of the ball and it executes correctly.
But what does 0.5 pixel mean? How could it move 0.5 pixel?
The canvas allows for the setting of decimal point positioning of objects.
The size of pixels depends on the resolution of the device/display.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.