formula-module

Official

Design scalable upgrade cost formulas.

Authorpunkfuncgames
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Designers and developers need reliable, configurable formulas to compute upgrade costs and effect scaling for idle and incremental games without hand-tuning every level; this Skill provides clear reference and configuration patterns to produce predictable progression curves and milestone behavior.

Core Features & Use Cases

  • ScriptableObject-based formula types for Unity that compute numeric values for a given level, including polynomial, exponential, and milestone-driven exponential curves.
  • Configurable parameters such as base values, multipliers, milestone intervals, soft caps, and options to use level as an exponent, enabling flexible balancing for clickers, generators, and prestige systems.
  • Editor-friendly preview and description methods plus integration examples showing how to wire formulas into upgrade definitions to compute costs and effects at runtime.
  • Use case: create a SimpleExponentialConfig for generator cost scaling, a SimplePolynomialConfig for linear stat growth, or a MilestoneExponentialConfig to add milestone bonuses and soft caps for late-game balance.

Quick Start

Create a SimpleExponentialConfig ScriptableObject with Base 10 and Multiplier 1.15 and assign it to your upgrade cost field in the Unity inspector.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: formula-module
Download link: https://github.com/punkfuncgames/tetris-clone/archive/main.zip#formula-module

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.