PICO-8 game: you're a chameleon with rope physics
Go to file
Kistaro Windrider fe3a68284f
replace comparisons with bit math bullshit
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.
2022-12-22 22:49:27 -08:00
chameleonic.p8 replace comparisons with bit math bullshit 2022-12-22 22:49:27 -08:00
README.md Initial commit 2022-12-17 12:16:18 -08:00

EAT BUGS, SPACE SCUM