I want to rotate the tilemap sprites or character sprites, but the word "rotate" is only mentioned once in the entire documentation. Is it even possible?
Viewing post in Coding with Pixelbox.js
Sprites can only be rotated by 90° increments using flip flags.
A work-around to make 45° rotation would be to draw another version of your sprite.
For those wondering, I've figured it out.
In the editor, at the top of the tile sheet, there's three buttons for flipping sprites horizontally, vertically or rotating it 90 degrees. You can use that if you want to flip tiles and place them inside the map.
In the code, there are additional arguments for flipping for sprite and draw functions. Check the documentation under the Drawing Graphics category.