Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/7

InfiniCoin is a numeric class for incremental games.
By using InfiniCoin, you can keep track of vastly large numbers for any use such as scoring or for in-game currency.


To see the InfiniCoin asset in action, download the game InfiniCube for Android and iOS, available here. InfiniCube uses InfiniCoin as the number class for scoring and cube powers, so that the classical 2048 game takes an infinite turn.


While working with human readable values such as a million or a trillion, the naming conventions are standard. It is possible to store and display the score, when it is within the range of comprehensible numbers.


What if you want to develop an infinite idle game that has a structure where the score and, by extension, the upgrade costs constantly increase? InfiniCoin provides a system for exactly that.


InfiniCoin registers the power of 1000 and the base value of the number, and this way the class can represent values up to 999 x 1000 ^ 2 ^ 64.
Considering that the number of atoms in the observable universe is estimated to be between 10^78 to 10^82, saying that InfiniCoin can represent astronomically large numbers, would be an understatement.


InfiniCoin supports comparisons and operations with other InfiniCoin objects, as well as other standard numeric classes, so that you can build your game engine easily and modularly.


By using the Configuration class, the ICConfig, you can set the naming system for large numbers, define how to print the numbers, override names or even create your own naming systems.


The demo folder in this package contains 4 demos, displaying various use cases, starting from very basic initializations and operations, to a demo idle game that uses InfiniCoin objects to record and track ever increasing values for the budget, asset prices, upgrade costs and production values.


This asset package contains the following items
- InfiniCoin number class and a custom inspector drawers for ease of use.
- ICConfig static class for configuring the InfiniCoin behaviour.
- ICConfigurator module for a visual interface for the ICConfig object.
- A demo scene that displays all the operations and comparisons available to the InfiniCoin class.
- A demo scene that displays how to use the ICConfig functionality.
- Two demo scenes that display how to setup your own naming system.
- A template incremental, idle game that makes use of all the features of the InfiniCoin class, called the Improbable Idle.


A very quick troubleshooting
Does your game work fine in the editor but fails to build with the error:
"ArgumentException: The Assembly UnityEditor is referenced by GR_InfiniCoinDrawer"?
Make sure the "GR_InfiniCoinDrawer.dll" is set to only be included in Editor under it's settings in the Inspector pane. You can see the details in the documentation

If you have any questions, send me an email at unity@rect.dev.

InfiniCoin

(not enough ratings)
29 users have favourite this asset
(29)
$29.99
Taxes/VAT calculated at checkout
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
263.5 KB
Latest version
1.2
Latest release date
Dec 9, 2024
Original Unity version
2020.1.1
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR