Hey,
Thanks for the reply, I am using an integer for the variable. I am not certain it is 1billion exact that causes the issue. I added a key press function that adds 1billion to the money amount with each press. I was doing this really just to see how that amounts of characters affected the HUD space. However when I pressed the button a few times the number just jumped all over the place, from -1 to 14,000,000 to -274,000,000, ETC.
The game I am making at the moment is a business management sim, during the opening part of the game this kind of figure will be out of reach, but in the latter/final stages of the game I would imagine players could be going up and down in billions every quarter. I would expect players to be dealing in the 10’s if not 100’s of billions later on in the game cycle. The idea of the business is to make money and constantly expand in order to make more money. So having a limit on that could be an issue.
I just wondered if there were other people doing games where a variable had to store N billions as a constant flow (up/down) and how they track that flow if you can’t have over 2147483647.