#AssetStore #unity #unity3d #new #asset #gamedev #indiedev #GameContentShopper

Publisher

Sina C

Please Note

This entry is from Wednesday October 16, 2024. The price of the asset may have changed since then.
Please visit our homepage for recent offers and sales. Official and private Unity Asset Store™ sales usually last about 14 days.

Overview

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.

X