With basic math operations for things like score and global variables, you can use 21-bit values for the integer part. For entities, you should use 20-bit values for the integer part.

2618×2618 is 6,853,924. The limit for even a 21-bit value is 2,097,152, this is more than three times that. When squaring something, the numbers being squared must not reach or pass 1448.155. If it does, it'll return false values.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials