Trev13@programming.dev to Programming@programming.dev · 1 month agoBig Decimals: Stop Using Floats or Cents for Moneymedium.comexternal-linkmessage-square50linkfedilinkarrow-up132arrow-down10
arrow-up132arrow-down1external-linkBig Decimals: Stop Using Floats or Cents for Moneymedium.comTrev13@programming.dev to Programming@programming.dev · 1 month agomessage-square50linkfedilink
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up2·30 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·29 days agoDoes the world repeat after a set point?
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up2·29 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.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.