Simple bitmask calculation example for tiles
ushort bitMaskValue = left * 8 + down * 4 + right * 2 + up * 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ushort bitMaskValue = left * 8 + down * 4 + right * 2 + up * 1; |