Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

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?

(-1)

what do u mean like in game or when your making your map

I have the same question, how do I adjust the rotation of a sprite Ex: make the character face a different direction like 45*

(+3)

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.