Trev13@programming.dev to Programming@programming.dev · 1 month 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 · 1 month agomessage-square54fedilink
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up6·1 month 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·1 month agoDoes the world repeat after a set point?
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up3·1 month 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.maxandint.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.