Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
You can’t perform that action at this time.