Scripting API

Scripting API

TileCollision

Enum in Abyss.Core, from Abyss.Core.

How Physics 2D's Tilemap Collider 2D meets a tile of a slice: as solid ground, not at all, or as a one-way platform met from above alone. Kept with the slice in its image's sidecar.

public enum TileCollision

Values

NameValueDescription
Solid0Met from every side: ground, a wall.
None1Not met at all: a background tile, grass, a torch.
OneWay2Met from above alone: a platform jumped up through and landed on.