forked from pyrex/chameleonic
PICO-8 game: you're a chameleon with rope physics
Kistaro Windrider
fe3a68284f
integers in the range [0, 15] fit entirely in the bit mask 0x000F. integers out of that range will have at least one bit 0x0010 or higher, or will have the sign bit 0x8000 set. so to find out if one of two numbers is out of range [0, 15], we can check the bit mask of their bitwise or. this saves tokens and cycles. it is also completely illegible. very in the spirit of Pico-8, I love it. |
||
---|---|---|
chameleonic.p8 | ||
README.md |
EAT BUGS, SPACE SCUM