Is there a way to make bitwise operations in pico8?
Otherwise, I don't understand how btnwe are supposed to use the bitfields returned by the functions btn() and fget(n).
Shouldn't we be able to do something like :
flag2_set = fget(tile) & 2
I know fget(tile, 2) would work, but I don't see how to use the bitfield. Am I missing something obvious?
[Please log in to post a comment]