Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+3)(-2)

I think I broke something, my character now weighs -2,125,407,000 wobbs. she was over 2 billion when all the sudden her weight inverted and i was told to downsize to a smaller room.

(+1)

You have exceeded the Integer.Max value, which results in the sign being flipped, making everything negative. A common issue with any program has some form of accumulating growth.

There are work arounds, such as capping how big the numbers get. But to allow arbitrary large values above that will likely require the dev to do a big refactor and use some variation of BigNumber throughout their code.