The 0x100 I think relates to the tile type; 0x1, 0x2, 0x4 and 0x8 are the directions. But yes, & is bitwise AND n' | is bitwise OR. This is setting flags that tell other parts of the game what we're colliding with and how. So, if we have PlayerTileCollis&1 == True, then we know the player...