Trev13@programming.dev to Programming@programming.dev · 9 days agoBig Decimals: Stop Using Floats or Cents for Moneymedium.comexternal-linkmessage-square26fedilinkarrow-up174arrow-down12
arrow-up172arrow-down1external-linkBig Decimals: Stop Using Floats or Cents for Moneymedium.comTrev13@programming.dev to Programming@programming.dev · 9 days agomessage-square26fedilink
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up2·7 days agoThe physics starts to glitch out, or at least used to, until it got upgraded to doubles. I also use doubles for my game engine, as well as (optionally) limiting pixel-precise things within int.max and int.min.
minus-squareLowtierComputer@lemmy.worldlinkfedilinkarrow-up1·7 days agoDoes the world repeat after a set point?
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up2·7 days agoTechnically yes, and with tile layers, you can even set them repeating on a shorter area.
The physics starts to glitch out, or at least used to, until it got upgraded to doubles. I also use doubles for my game engine, as well as (optionally) limiting pixel-precise things within
int.max
andint.min
.Does the world repeat after a set point?
Technically yes, and with tile layers, you can even set them repeating on a shorter area.