Are there tiles rotation/mirroring performance issues

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By aaschmitz
:warning: Old Version Published before Godot 3 was released.

Hi

Are there performance issues when using a tile with rotation/mirroring (using the built in editor tools, as Mirror X, Mirror Y or Rotate x degrees), or is better to use a tileset image repeating the same tile for each “rotation”?

PS: Using latest Godot 2.1 from GitHub

Thanks!

What performance issues? If they are serious enough, maybe you should submit an issue too?

Bojidar Marinov | 2016-04-01 13:04

I don’t detect a specific performance problem, just like to know if it can be a problem when using a map with many tiles “rotated” or “mirrored”.

What is the best practice for tilesets:

  • Big Tileset image with the “rotated” / “mirrored” tiles.
  • Litte Tileset image with “normal” tiles and using the Godot editor to rotate / mirror it.

Thanks!

aaschmitz | 2016-04-01 14:12

Ah right, I edited it to fit better.

Bojidar Marinov | 2016-04-01 15:41

:bust_in_silhouette: Reply From: Akien

I don’t think there are particular performance concerns about this, you can use tile rotation and flipping as much as you want.

If you do notice performance issues linked to this, please create an issue on GitHub, as it would be a bug.