OGWPlatformerMapBits Constants Reference
Declared in | OGWPlatformerMapBits.h |
OGWPlatformerMapBits
Collision map bits used by the Platformer game.
Definition
typedef NS_OPTIONS(uint32_t, OGWPlatformerMapBits ) {
OGWPlatformerMapBitNone = 0,
OGWPlatformerMapBitFullyBlocked = ( 1 < < 0 ),
OGWPlatformerMapBitOneWayBlocked = ( 1 < < 1 ),
OGWPlatformerMapBitSlopeDownLeft = ( 1 < < 2 ),
OGWPlatformerMapBitSlopeDownRight = ( 1 < < 3 ),
OGWPlatformerMapBitDoesDamage = ( 1 < < 4 ),
};
Constants
OGWPlatformerMapBitNone
-
No collision bits set.
Declared In
OGWPlatformerMapBits.h
. OGWPlatformerMapBitFullyBlocked
-
This tile is completely blocked.
Declared In
OGWPlatformerMapBits.h
. OGWPlatformerMapBitOneWayBlocked
-
This tile is blocked only when falling onto it, but can be passed through from the sides and below. This makes it a one-sided platform.
Declared In
OGWPlatformerMapBits.h
. OGWPlatformerMapBitSlopeDownLeft
-
A horizontal slope that goes down to the left side.
Declared In
OGWPlatformerMapBits.h
. OGWPlatformerMapBitSlopeDownRight
-
A horizontal slope that goes down to the right side.
Declared In
OGWPlatformerMapBits.h
. OGWPlatformerMapBitDoesDamage
-
A tile that does damage (instantly kills).
Declared In
OGWPlatformerMapBits.h
.
Declared In
OGWPlatformerMapBits.h