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
I don't understand. But it causes some result that is IMO not expected, for example:
setRotationStyleLeftRightsetHeadingfloat64(Left) // spx will render the sprite facing rightsetHeadingfloat64(Down) // spx will render the sprite facing leftsetHeadingfloat64(Right) // spx will render the sprite facing rightsetHeadingfloat64(Up) // spx will render the sprite facing right
I think it is reasonable to adopt the same logic as Scratch.
As discussed, we should adopt the same logic as Scratch.
The text was updated successfully, but these errors were encountered:
In Scratch, for a sprite with
rotationStyle: left-right
:heading: [0, 180]
is considered facing rightheading: (-180, 0)
is considered facing leftWhile in spx, the logic is strange:
spx/spgdi.go
Lines 72 to 79 in 72b5b4f
I don't understand. But it causes some result that is IMO not expected, for example:
I think it is reasonable to adopt the same logic as Scratch.As discussed, we should adopt the same logic as Scratch.
The text was updated successfully, but these errors were encountered: