TileMap.compatibilityMode

If true, the compatibility with the tilemaps made in Godot 3.1 or earlier is maintained (textures move when the tile origin changes and rotate if the texture size is not homogeneous). This mode presents problems when doing flip_h, flip_v and transpose tile operations on non-homogeneous isometric tiles (e.g. 2:1), in which the texture could not coincide with the collision, thus it is not recommended for isometric or non-square tiles. If false, the textures do not move when doing flip_h, flip_v operations if no offset is used, nor when changing the tile origin. The compatibility mode doesn't work with the centeredTextures option, because displacing textures with the cellTileOrigin option or in irregular tiles is not relevant when centering those textures.

  1. bool compatibilityMode [@property getter]
    struct TileMap
    @nogc nothrow @property
    bool
    compatibilityMode
    ()
  2. bool compatibilityMode [@property setter]

Meta