godot-genre-idle-clicker
Installation
SKILL.md
Genre: Idle / Clicker
Expert blueprint for idle/clicker games with exponential progression and prestige mechanics.
NEVER Do (Expert Anti-Patterns)
Economics & Math
- NEVER use standard floats for currency; strictly implement a BigNumber (Mantissa/Exponent) system (e.g.,
1.5e300) to preventINFcrashes at 1e308. - NEVER use
Timernodes for revenue generation; strictly use a manual accumulator in_process(delta)to prevent drift during frame fluctuations. - NEVER hardcode generator costs or growth; strictly use an exponential formula:
Cost = BasePrice * pow(GrowthFactor, OwnedCount)(industry standard 1.15x). - NEVER evaluate exact float equality (
==); strictly useis_equal_approx()or>=to prevent "stuck" progress due to precision loss. - NEVER parse scientific notation strings with
to_int(); strictly useto_float()or a dedicated BigNumber parser.
Performance & Optimization
- NEVER update all UI labels every frame; strictly use Signals to update labels ONLY when values change, or throttle updates to 10 FPS.
- NEVER ignore Low Processor Usage Mode for mobile; strictly enable
OS.low_processor_usage_mode = trueto preserve battery life. - NEVER instantiate/delete hundreds of text nodes per second; strictly use Object Pooling or
MultiMeshInstancefor click-feedback. - NEVER update massive logs by modifying the
textproperty; strictly useappend_text()to prevent main thread blocking.