~(64-1) = ~$3f = $ffffffc0 (where ~ means bitwise-negate)
But if you don't understand binary tricks, you can just go back to the good old division, round and multiplication tricks.Y = (Y div 64) * 64;
So I will need "68" in the $fffffffd0 notation?
Do you perhaps know any converter or so?
Well, I think I need 68 because:
- The tile size is: 32x32
- The character size is: 64x64 (well, a bit smaller, so it could fit in a gap between 2 (32x32) blocks?
So to check or collision under the player, it has to be y = 68 right?
Then I need that in the $fff notation.
I'm sorry, I'm not good at maths at all, and when I do: (68 div 64) * 64 it just returns 68 again, and not sure how to set that in the notation anyway.