godot-genre-battle-royale

thedivergentai/gd-agentic-skills

Схема Battle Royale: сужающаяся зона, сетевая синхронизация, десант, лут, оптимизация.

Звёзды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: Battle Royale

Expert blueprint for Battle Royale games with zone mechanics, large-scale networking, and survival gameplay.

NEVER Do (Expert Anti-Patterns)

Networking & Scale

  • NEVER sync all 100 players every frame; strictly use a Relevancy System to sync high-freq data only for players within ~100m. Far players sync at ~5Hz.
  • NEVER use TRANSFER_MODE_RELIABLE for movement data; strictly use Unreliable to prevent packet backup and network congestion.
  • NEVER focus on client-side hit detection; strictly use Authoritative Server Validation where the server confirms "Did it hit?" based on state history.
  • NEVER trust the client for game state; strictly validate all movement, looting, and inventory changes exclusively on the authoritative server.
  • NEVER run a dedicated server with visuals; strictly use Headless Mode (--headless) or dummy drivers to save massive CPU/GPU resources.
  • NEVER call RPCs before connection; strictly wait for the connected_to_server signal before attempting synchronization logic.

Mechanics & Performance

  • NEVER pick a fully random center for the Safe Zone; strictly target centers that ensure the new circle is completely contained within the current one.
  • NEVER allow "Storm Tunneling"; strictly use a Distance-to-Center calculation rather than a simple collision perimeter to prevent skips at low tick rates.
  • NEVER spawn loot without Object Pooling; strictly pre-instantiate and toggle visibility/collision to avoid GC spikes during dense spawns.
  • NEVER ignore VisibilityNotifier3D; strictly disable AnimationPlayer, _process(), and heavy AI logic for players that are not visible to the observer.
  • NEVER print in tight server loops; strictly avoid print() as console I/O is blocking and will tank server performance in high-player-count matches.

Available Scripts

MANDATORY: Read the appropriate script before implementing the corresponding pattern.

Zone / Storm

storm_system.gd

MANDATORY for any zone/storm work — phase radii, contained next-center selection, distance-to-center damage (anti-tunneling). Do not paste inline zone_manager tutorials.

Networking & Multiplayer

kill_feed_bus.gd

Global elimination signal bus with match stat tracking.

headless_branch_logic.gd

Expert dedicated server initialization that branches logic based on headless execution and server-specific feature flags.

enet_br_server.gd

High-player-capacity ENet server setup optimized for 100+ concurrent peers over UDP.

state_replication_unreliable.gd

Pattern for synchronizing player transforms via TRANSFER_MODE_UNRELIABLE to minimize network congestion in large matches.

authoritative_looting.gd

Authoritative server-side validation logic for preventing cheat-based item collection and infinite looting.

targeted_rpc_relay.gd

Optimized communication pattern using rpc_id() to target specific peers and reduce wasted packet broadcasts.

server_state_buffer.gd

Handling network jitter and out-of-order UDP packets via sequential state buffering and tick-based sorting.

Performance & Optimization

rid_loot_spawner.gd

Bypassing the node hierarchy for massive loot density. Uses RenderingServer directly to eliminate CPU overhead for item drops.

async_map_loader.gd

Non-blocking map sector streaming using ResourceLoader background threads for seamless open-world exploration.

multimesh_vegetation.gd

Drawing dense foliage and environment assets (100k+ instances) via MultiMeshInstance3D to maximize rendering performance.

threaded_ai_manager.gd

Offloading server-side bot behavior and pathfinding logic to the WorkerThreadPool to prevent main-thread stalling.

Restored from baseline

  • lag_compensator.gd - Server transform history + hit timestamp rewind validation.
  • monster_synchronizer.gd - MultiplayerSynchronizer delta/on-change replication setup.

NEVER Do in Battle Royale

  • NEVER export mobile clients without the INTERNET permission — Communication will silently fail on Android/iOS if the manifest is missing the networking permission.
  • NEVER use get_var(true) on untrusted data — Deserializing arbitrary objects allows attackers to execute remote code on the server or other clients.
  • NEVER synchronize Object or Resource types over network — Use the MultiplayerSynchronizer strictly for base types (int, float, vec).
  • NEVER assume UNRELIABLE packets arrive in order — Design state interpolation carefully to handle missing or out-of-order ticks.
  • NEVER leave multiplayer_poll false without manual calling — If using custom threads, failing to call multiplayer.poll() freezes all traffic.

Core Loop

Deploy → Loot → Move with storm → Engage → Last standing.

Skill Chain (GDSkills peers only)

PhaseSkillsPurpose
1. Netgodot-multiplayer-networkingAuthoritative server, relevancy, RPCs
2. Mapgodot-3d-world-building, godot-genre-open-worldTerrain scale, streaming, HLOD
3. Itemsgodot-inventory-systemBackpack / attachments / armor
4. Combatgodot-genre-shooter, godot-combat-systemHitscan/projectile + damage validation
5. ZoneMANDATORY storm_system.gdStorm phases / DPS / contained centers
6. Balancegodot-monte-carlo-balancerZone DPS, loot rarity, TTK bands

Decision Trees (strip inline deploy/loot/zone tutorials)

Zone / Storm

NeedAction
Phase shrink, contained centers, distance DPSMANDATORY storm_system.gd
Storm wall VFXInverted SphereMesh + unshaded cull_disabled shader driven by storm radius

Loot

NeedAction
Dense dropsrid_loot_spawner.gd + pooling
Anti-cheat pickupMANDATORY authoritative_looting.gd
Tables / rarityData Resources + peer inventory — not instantiate() loops in SKILL.md

Deploy

NeedAction
Plane → freefall → parachute → groundedFinite state on player controller; server validates landing inventory
Map sectorsasync_map_loader.gd

Networking

NeedAction
100+ peersenet_br_server.gd + headless_branch_logic.gd
Movementstate_replication_unreliable.gd
RelevancyNear ~20Hz+, far ~5Hz; replication_interval / interest management
Targeted messagestargeted_rpc_relay.gd
Jitter bufferserver_state_buffer.gd

Advanced (keep elite, no deploy/loot re-tutorials)

Lag Compensation

Server keeps transform history; validate client hit timestamps against rewound poses (authoritative). Pair with shooter/combat peers.

Delta-Patching

MultiplayerSynchronizer + REPLICATION_MODE_ON_CHANGE for health/inventory; ALWAYS only for hot transforms. Cap with delta_interval.

Zone Visualizer

Unshaded, cull_disabled spatial shader on inverted sphere scaled by storm_system.gd.

Common Pitfalls

  1. Too much loot → pool + RID spawner
  2. Camping → storm forces movement (storm_system.gd)
  3. Client hit authority → server validate with history

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-battle-royale-patterns.md — restored baseline pedagogy (architecture, WHY, implementation depth)
  • lag_compensator.gd
  • monster_synchronizer.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

  • High-level multiplayer — RPC authority, peer lifecycle, and visibility-aware sync patterns for 100-player relevancy instead of full-mesh broadcasts.
  • ENetMultiplayerPeer — UDP host/client peer sized for high concurrent match populations without TCP head-of-line blocking.
  • MultiplayerPeer — Reliable vs unreliable/unordered transfer modes so movement snapshots never back up the channel.
  • MultiplayerSynchronizer — Property replication, replication_interval / on-change deltas, and per-peer visibility filters for interest management.
  • MultiplayerSpawner — Spawn/despawn replication for players, loot drops, and late-join scene graph consistency.
  • Command line tutorial — --headless and multi-instance CLI launches for dedicated match servers.
  • Exporting for dedicated servers — Server export presets and feature tags that strip client-only rendering/input paths.
  • Occlusion culling — Bake occlusion for dense building clusters so large BR maps stay GPU-viable.
  • Mesh level of detail (LOD) — Distance LODs for terrain props and structures that dominate draw cost at drop-zone scale.
  • Optimization using MultiMeshes — Batch foliage/debris into MultiMesh draw calls instead of per-instance nodes.
  • Optimization using Servers — RenderingServer RID paths for dense loot visuals without SceneTree node overhead.
  • Background loading — Threaded ResourceLoader sector streaming for non-blocking open-world map loads.

Related Skills

Prerequisites

  • godot-multiplayer-networking — Authoritative server RPCs, transfer modes, and lobby/peer lifecycle that BR relevancy and lag compensation build on.
  • godot-project-foundations — Autoloads, export feature flags, and project layout for headless dedicated vs client builds.
  • godot-3d-world-building — Large terrain chunking, collision generation, and world streaming prerequisites for storm-scale maps.

Complements

  • godot-adapt-single-to-multiplayer — Authority split, prediction shells, and snapshot interpolation before applying BR-scale interest management.
  • godot-server-architecture — Headless host scaffolding and PhysicsServer/RID patterns used by authoritative match simulation.
  • godot-export-builds — Dedicated-server presets, INTERNET permissions, and CLI packaging for multi-instance match tests.
  • godot-inventory-system — Backpacks, attachments, and armor state that authoritative looting must validate server-side.
  • godot-performance-optimization — LOD, pooling, and CPU budgets when loot density and peer count stress the match server/clients.
  • godot-signal-architecture — Kill-feed and match-event buses that stay local while RPCs carry cross-peer eliminations.
  • godot-genre-shooter — Hitscan/projectile combat patterns and lag-compensated validation used inside the BR engagement loop.

Downstream / consumers

  • godot-monte-carlo-balancer — Simulate zone DPS phases, loot rarity tables, and TTK bands so storm/loot pacing stays fair across 100-player matches.
  • godot-ai-navigation — Bot pathfinding and interest-culled AI when filling lobbies with threaded server-side bots.

Master

  • godot-master — Library router and mirrored module entry; open when discovering which Domain Skill owns a cross-cutting BR concern.

Вставить в README

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

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

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

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

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

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 комп.
battle-card-builderdeanpeters · Исследует и составляет конкурентную battle card на основе публичных данных, каждое…
8 061 ★
competitive-intel-watchdeanpeters · Плановый монитор изменений конкурентной среды: только значимые сдвиги с флагами…
8 061 ★
ansonanthropics · Проверенная на практике настройка AI-коллеги для Claude Code, Slack, Notion, Gmail и…
38 комп.
ariaanthropics · Пошаговый workflow релиза музыки для артистов и лейблов: от идеи до публикации и…
38 комп.
claude-ghost-writeranthropics · Плагин Claude Code для написания книг: онбординг, структурированная работа над…
38 комп.
claude-musicanthropics · Фоновая музыка разных жанров прямо в терминале для сессий Claude Code, без настройки.
38 комп.
claude-odoo-connectanthropics · Подключение Claude к Odoo: поиск, чтение и запись данных с помощью базы знаний.
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