kupo15
Member
I'm trying to revamp my replay code. Instead of being like:
left = t/f
right = t/f
down = t/f
etc...
It'll be much more effecient if I use one variable and assign as bit flags like
directional = 1101101;
but I'm not sure how to do this. How do I create these values and then read them?
left = t/f
right = t/f
down = t/f
etc...
It'll be much more effecient if I use one variable and assign as bit flags like
directional = 1101101;
but I'm not sure how to do this. How do I create these values and then read them?