Last updated
Last updated
The following layers must be assigned, make sure to write layers to correct numbers :
Ground(Layer 10): This layer represents the static ground objects that the player can walk on or interact with.
Player(Layer 11): This layer represents the player character and is used for interactions with other layers.
Moving Platform(Layer 12): This layer represents platforms that move and can be interacted with by the player.
Wall(Layer 13): This layer represents wall objects that the player can interact with, such as sliding or wall jumping.
Three layer masks are used for different calculations in the asset:
Ground Layer Mask: This layer mask is used for calculations related to the ground. Recommended layers: Ground, Moving Platform, Wall.
Head Bump Layer Mask: This layer mask is used for calculations related to head bump detection. Recommended layers: Default, Ground, Wall.
Wall Layer Mask: This layer mask is used for calculations related to wall interactions, such as wall sliding or wall jumping. Recommended layers: Wall.
By utilizing these layers and layer masks, the asset can efficiently handle physics calculations and create a more realistic and immersive experience in your 2D platformer-sidescroller game.