Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Another question, just out of curiosity, what's the integer limit for the money count? I know it's not a 16-bit integer limit, as I've gotten above 32767. Is it a 32-bit one? I know it's gotta be a signed one, because otherwise having negative money doesn't function. I'm just curious, because I wanna know if I could theoretically get above 2147483647 ingame.

(1 edit)

You really are very curious.

I have not developed games with Renpy, but I know it uses Python code. In python 2 (which Renpy 7 uses) integer type is processor word size, which nowadays usually is 64 bit. There is data type long, which should always be at least 64 bits.

I’m just curious, because I wanna know if I could theoretically get above 2147483647 ingame.

I’m quite sure you can, just keep earning money.

In Python 3 which Renpy 8 uses, integer type is unlimited. When game is ported to that new Renpy version you can have unlimited amount of money!

More information can be found with Internet Search Engines or a book about Python. I did not include links here, I do not want this message blocked as SPAM.

Ah, thanks. Just was curious if it was theoretically possible to get richer than Trenero ingame.