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
Describe the bug
The top left screen coordinates are 1,1 not 0,0. The lower right corner is 160,120. I would expect it to be at 159, 119 if 0,0 is the top left.
The documentation for set position states.
The x position of the sprite can have a value that is greater than the width of the screen. It can also have a value that is less than the left side of the screen (the left of screen is 0 and the value of the x position of the sprite in this case is negative). When this happens, some or all of the sprite isn’t visible on the screen.
Similarly, the y position of the sprite can have a value that is greater than the height of the screen. It can also have a value that is less than the top side of the screen (the top of screen is 0 and the value of the y position of the sprite in this case is negative).
To Reproduce
Steps to reproduce the behavior:
Create a 1 x 1 pixel sprite
place that sprite at 0,0
observe the sprite
place the sprite at 1,1
observe the sprite
Expected behavior
I expected to see the sprite when placed at 0,0. I didn't.
Screenshots
Desktop (please complete the following information):
OS: Chrome os
Browser Chrome
Version 130.0.6723.84 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered:
Describe the bug
The top left screen coordinates are 1,1 not 0,0. The lower right corner is 160,120. I would expect it to be at 159, 119 if 0,0 is the top left.
The documentation for set position states.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected to see the sprite when placed at 0,0. I didn't.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: