# Idle games with high values

Get help using Construct 2

### » Thu Mar 30, 2017 12:52 am

Having finally finished my Action Space shooter (https://www.scirra.com/arcade/action-games/captain-doe-saves-the-universe-16468) that I started over two years ago to familiarize myself with C2 I am looking for a new project.
I think my next one will be a light weight idle game. I have come up with a pretty cool theme and examined the idle/clicker template from the Scirra store and as I thought its a pretty simple and straight forward build. However...

How do idle games ramp up to such crazy score totals? For fun I maxed a Construct 2 variable out with a x2 add event (in about 2 seconds) and it eventually just says "Infinity". I wouldn't think they use actual integer values but instead come up with their own system.. millions, billions, trillions, gazillions, aa, ab, ac, etc...

What would be easiest way to accomplish this?
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
68
S
17
G
8
Posts: 637
Reputation: 9,420

### » Thu Mar 30, 2017 1:36 am

I believe a single value in construct uses a 32 bit float, or roughly 2 billion. If you need more than that you can use a second value as a multiplier, so 2b squared. You can probably accomplish an infinitely scaling number system by pushing out an array whenever you need to. The bigger design decision for you would probably be how to represent this number on screen for the user.

Edit: never mind, construct uses doubles, so your maximum number is 9007199254740992.

After a certain point the lower digits won't be significant at all so it probably wouldn't matter anymore.
B
52
S
26
G
108
Posts: 1,606
Reputation: 61,133

### » Thu Mar 30, 2017 3:11 am

9G... I think I will just lower my cash flow and once you hit 1G set another var to 1 and reset primary counter... this will give me 999G which should be plenty for my little game. If i need more I can make a third var counter etc.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
68
S
17
G
8
Posts: 637
Reputation: 9,420

### » Sun Apr 09, 2017 3:48 pm

Only took a couple of weeks. Its a small scale clicker but it has all the elements you need.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
68
S
17
G
8
Posts: 637
Reputation: 9,420