I use it in my game so that no background tiles are left non-visible. Obviously a character will rarely line up exactly with an even number of background tile, and its important that any half tiles are shown. So a decimal number is not useful, and you can only show a rounded number of tiles, and you dont want to cut off any visible tiles.
0
22 Apr 2018 20:59
u/meowman9000
in v/programming
I use it in my game so that no background tiles are left non-visible. Obviously a character will rarely line up exactly with an even number of background tile, and its important that any half tiles are shown. So a decimal number is not useful, and you can only show a rounded number of tiles, and you dont want to cut off any visible tiles.