Trev13@programming.dev to Programming@programming.dev · 7 days agoBig Decimals: Stop Using Floats or Cents for Moneymedium.comexternal-linkmessage-square54fedilinkarrow-up1104arrow-down13
arrow-up1101arrow-down1external-linkBig Decimals: Stop Using Floats or Cents for Moneymedium.comTrev13@programming.dev to Programming@programming.dev · 7 days agomessage-square54fedilink
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up6·6 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-up2·5 days agoDoes the world repeat after a set point?
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up3·5 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.