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
Hello, sorry to bother you, I noticed myself and other friends using your Python library that when we want to use pyxel.blt(x, y, img, u, v, w, h, [colkey], [rotate], [scale])
we do rotation = float.
but the program displays this error:
Process ended with exit code 1.
──────────────────────────────────────
could you tell us what to do if we made a mistake in the code? and if it is a bug, please give us an alternative that would work (we need it to study).
Thank you for your understanding and attention to my problem.
What's your Pyxel version? rotate is a recent addition, so if you're using a lower Pyxel version the keyword doesn't exist at all. Try updating your Pyxel distribution and retry, then let us know if it worked :)
Hello, sorry to bother you, I noticed myself and other friends using your Python library that when we want to use
pyxel.blt(x, y, img, u, v, w, h, [colkey], [rotate], [scale])
we do
rotation = float.
but the program displays this error:
pyxel.blt(self.player_x, self.player_y, 0, 0, 0, 8, 8, colkey=0, rotate=63.0, scale=1.0)
TypeError: blt() got an unexpected keyword argument 'rotate'
Process ended with exit code 1.
──────────────────────────────────────
could you tell us what to do if we made a mistake in the code? and if it is a bug, please give us an alternative that would work (we need it to study).
Thank you for your understanding and attention to my problem.
My code :
The text was updated successfully, but these errors were encountered: