godot-genre-idle-clicker

thedivergentai/gd-agentic-skills

Idle/кликеры: большие числа, экспоненциальный рост, офлайн-прогресс и престиж.

Звёзды975
Форки62
Авторthedivergentai
Обновлёнокт 16 2026

Установка

SKILL.md

Godot 4.7 Baseline

  • Expert patterns in this skill target Godot 4.7+ (stable, 2026-06-18).
  • Consult the Godot 4.7 migration guide when upgrading projects from 4.6.
  • NEVER assume 4.6 defaults (stretch mode, audio area_mask, RichTextLabel percent flags) without checking 4.7 migration notes.

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 prevent INF crashes at 1e308.
  • NEVER use Timer nodes 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 use is_equal_approx() or >= to prevent "stuck" progress due to precision loss.
  • NEVER parse scientific notation strings with to_int(); strictly use to_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 = true to preserve battery life.
  • NEVER instantiate/delete hundreds of text nodes per second; strictly use Object Pooling or MultiMeshInstance for click-feedback.
  • NEVER update massive logs by modifying the text property; strictly use append_text() to prevent main thread blocking.

Player Experience & Persistence

  • NEVER ignore Offline Progress; strictly calculate seconds_offline * total_revenue using system UNIX timestamps (Time.get_unix_time_from_system()).
  • NEVER make the "Prestige" reset feel like a loss; strictly provide a global multiplier that makes the next run significantly faster (2-5x).
  • NEVER calculate offline time using Time.get_ticks_msec(); strictly use Persistent UNIX timestamps as ticks reset on app restart.
  • NEVER use Node hierarchies for raw data; strictly use RefCounted or Resource objects for lightweight, serializable logic.

🛠 Expert Components (scripts/)

MANDATORY reads before implementing the matching system:

  1. big_number.gd — mantissa + exponent beyond float INF
  2. generator.gd — exponential cost / rate units
  3. scientific_notation_formatter.gd — K/M/B/T + scientific display
  4. offline_progress_calculator.gd — UNIX offline catch-up (not ticks_msec)

Original Expert Patterns

  • big_number.gd - Mantissa + Exponent math for e308+ scales.
  • generator.gd - Exponential cost units and production rate calculation.
  • scientific_notation_formatter.gd - Readable K/M/B/T and scientific suffixes.

Modular Components

  • offline_progress_calculator.gd - Real-world delta tracking using UNIX timestamps.
  • functional_income_reducer.gd - Fast income summation patterns.
  • threaded_catchup_simulator.gd - WorkerThreadPool background catch-up.
  • precision_cost_validator.gd - Cost curve / affordability checks.
  • scientific_notation_math.gd - Shared mantissa helpers for formatters.
  • idle_performance_setup.gd - low_processor_usage_mode + signal-throttled UI.
  • decoupled_economy_signal_bus.gd - Throttled economy→UI signals.
  • lightweight_upgrade_resource.gd - Upgrade .tres pattern.
  • big_int_save_parser.gd - Persist big numbers safely.
  • thread_safe_ui_updater.gd - Deferred UI after threaded catch-up.

Core Loop

  1. Click → 2. Buy generators → 3. Idle income → 4. Upgrade → 5. Prestige

Decision Trees

Numbers & display

NeedAction
Values past ~1e308MANDATORY big_number.gd
Labels / abbreviationsMANDATORY scientific_notation_formatter.gd
Cost curve ~1.15^ngenerator.gd + precision_cost_validator.gd

Offline & perf

NeedAction
Offline catch-upMANDATORY offline_progress_calculator.gd (UNIX time)
Long catch-upthreaded_catchup_simulator.gd
Battery / idle CPUidle_performance_setup.gd

Do not re-inline BigNumber/Offline tutorials in the skill body — load the scripts above.

Skill Chain

PhaseSkillsPurpose
1. Mathgodot-gdscript-masteryBig-number arithmetic
2. UIgodot-ui-containers, labelsScientific / suffix labels
3. Datagodot-save-load-systemsOffline timestamps + prestige
4. LogicsignalsThrottled economy UI
5. Balancegodot-monte-carlo-balancerMinutes-to-milestone bands

Common Pitfalls

PitfallSolution
Wrong Expert Component hrefsLinks above point at canonical big_number / generator / formatter
Time.get_ticks_msec offlineUse UNIX via offline calculator
UI every frameSignal-throttle via economy bus / performance setup

Expert knowledge (on demand)

LLM-ignorance rule: If a general agent would not know it before reading, load the reference — never delete expert deltas.

  • expert-idle-clicker-patterns.md — restored baseline pedagogy (architecture, WHY, implementation depth)
  • big_real.gd
  • offline_progression_manager.gd
  • click_juice_manager.gd

Reference

Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.

Official Documentation

  • Idle and physics processing — Revenue must accumulate in _process(delta) (or a fixed sim tick), not drifting Timer nodes, so generators stay frame-rate independent.
  • Time — Offline catch-up uses Time.get_unix_time_from_system(); never get_ticks_msec(), which resets when the app restarts.
  • Saving games — Persist currency, generator counts, prestige multipliers, and last-save UNIX timestamps so welcome-back earnings survive restarts.
  • Data paths — Keep save blobs under user:// so offline timestamps and big-number strings remain writable across platforms.
  • Resources — Generators, upgrades, and prestige curves belong as .tres Resources so designers retune cost_growth_factor without code changes.
  • GDScript exports — @export base costs, revenue rates, and growth factors so balance sheets stay Inspector-driven.
  • Using signals — Emit currency_updated only when balances change so HUD labels do not rewrite every frame.
  • OS — Enable OS.low_processor_usage_mode (and sleep usec) for mobile idle sessions that spend most time waiting on generators.
  • Using multiple threads — Long offline catch-up sims belong on WorkerThreadPool; UI must not block while thousands of ticks replay.
  • Thread-safe APIs — Marshaling sim results to Labels requires call_deferred / main-thread rules from this page.
  • Formatting strings — K/M/B suffixes and %.2fe%d scientific display depend on correct format strings (and String.num_scientific when appropriate).
  • RefCounted — BigNumber and upgrade payloads should be lightweight RefCounted/Resource data, not Node trees.

Related Skills

Prerequisites

  • godot-gdscript-mastery — Mantissa/exponent classes, pow growth, and precision-safe compares (is_equal_approx) are core GDScript patterns before building idle economies.
  • godot-resource-data-patterns — Generator and upgrade definitions should be Resource-first so balance curves stay data-driven .tres assets.
  • godot-signal-architecture — Decoupled currency buses must signal up to UI and never let Labels mutate the simulation wallet.
  • godot-save-load-systems — Offline progress and prestige state need versioned save handlers that store UNIX timestamps and big-number strings safely.

Complements

  • godot-economy-system — Soft-currency wallets, sinks, and transaction APIs compose with idle generators when the game grows shops or prestige shops.
  • godot-ui-containers — Generator lists and upgrade grids are GridContainer/VBoxContainer layouts bound to throttle-friendly labels.
  • godot-ui-rich-text — Scientific notation, suffix strings, and append-only logs belong in Label/RichTextLabel patterns rather than rebuilding huge text blobs.
  • godot-performance-optimization — Low-processor mode, UI throttling, and pooled click-juice keep idle loops battery-friendly on mobile.
  • godot-autoload-architecture — Simulation managers and economy buses that survive scene reloads should follow Autoload ownership rules.
  • godot-particles — Click-feedback bursts should use batched GPUParticles2D.emit_particle rather than spawning Label nodes per tap.

Downstream / consumers

  • godot-monte-carlo-balancer — After cost curves and prestige multipliers are Resource-driven, Monte Carlo career sims prove minutes-to-milestone bands (not win%) before shipping growth factors.
  • godot-platform-mobile — Shipping idle on phones consumes low-processor mode, background resume, and offline catch-up patterns from this genre skill.

Master

  • godot-master — Library router and mirrored module entry; use when discovering peer skills or syncing shared script mirrors after Domain Skill edits.

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: godot-genre-idle-clicker](https://darkplay.ru/ai/skills/thedivergentai-gd-agentic-skills-godot-genre-idle-clicker)

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

gamedevgamedev-skills · Всё вместе: мастер-роутер и все 66 навыков геймдева по движкам, жанрам и процессам.
134 комп.
genresgamedev-skills · Шаблоны жанров: платформер, рогалик, RPG, FPS, tower defense, карты, визуальная новелла.
134 комп.
godotgamedev-skills · Навыки для Godot 4.x: GDScript, ноды, физика, шейдеры, экспорт, C#.
134 комп.
ariaanthropics · Пошаговый workflow релиза музыки для артистов и лейблов: от идеи до публикации и…
38 комп.
claude-5h-window-spreadanthropics · Анализирует ваш рабочий ритм и рассчитывает оптимальные cron-пинги, чтобы распределить…
38 комп.
claude-code-tab-titleanthropics · Заголовки вкладок терминала показывают, над чем работает каждая сессия Claude Code.
38 комп.
claude-ghost-writeranthropics · Плагин Claude Code для написания книг: онбординг, структурированная работа над…
38 комп.
claude-musicanthropics · Фоновая музыка разных жанров прямо в терминале для сессий Claude Code, без настройки.
38 комп.
cmux-ultimateanthropics · Полная интеграция cmux для Claude Code: CLI, автоматизация браузера, оркестрация агентов…
38 комп.
code-musicanthropics · Фоновая музыка в терминале во время работы ИИ-агентов: lo-fi, джаз, эмбиент и ИИ-диджей.
38 комп.

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8