# godot-genre-battle-royale

godot-genre-battle-royale is a skill blueprint for building battle royale games with shrinking zones, network synchronisation for 100+ players, and performance optimisation.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 315 installs · ★ 983 repo stars
- Author: thedivergentai
- License: LGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-genre-battle-royale/SKILL.md
- Updated: 2026-10-16
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/godot-genre-battle-royale

## What it does

The skill provides a battle royale foundation: phased safe zone contraction with damage calculations, relevancy-based network replication to avoid packet congestion, player deployment via parachute and plane spawns, loot generation from rarity tables, and rendering optimisation via LOD, occlusion culling and object pooling.

Included scripts handle zone progression and tunnelling prevention, movement synchronisation over unreliable transport, server-authoritative loot validation, dense item rendering through direct rendering server calls, and streamed map sector loading. Bot pathfinding runs on worker threads to avoid blocking the main loop.

Run the server in `--headless` mode—visual rendering will consume CPU and GPU under high player counts. Clients validate nothing about state, items or damage; the server holds all authority to prevent cheating.

## Requirements
- Works with: Godot

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-battle-royale -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/godot-genre-battle-royale/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/godot-genre-battle-royale/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-battle-royale -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/godot-genre-battle-royale/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-battle-royale -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/godot-genre-battle-royale/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install thedivergentai/Game-Dev-Agentic-Skills skills/godot-genre-battle-royale
```

2. **Manually: put the files in place**
- File: `.github/skills/godot-genre-battle-royale/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-battle-royale -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-genre-battle-royale
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/godot-genre-battle-royale/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-battle-royale -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-genre-battle-royale/SKILL.md

## When to use it
- sync state for 100+ players without network saturation
- implement a shrinking zone with phases and anti-tunnelling protection
- spawn loot from weighted tables without garbage collection stalls
- optimise map rendering and server-side AI pathfinding
- validate player actions server-side to prevent cheats

## Example prompts
- Start a battle royale project with an authoritative server, relevancy filtering and deployment handling via `storm_system.gd`
- Configure loot spawning with object pooling through `rid_loot_spawner.gd` for high-density drops
- Add player position sync using `state_replication_unreliable.gd` with distance-based filtering

## Similar
- [godot-multiplayer](https://affpapa.org/en/nevibecode/skills/godot-multiplayer.md) — skill · 11600 installs
- [scenario-godot-multiplayer](https://affpapa.org/en/nevibecode/skills/scenario-godot-multiplayer.md) — skill · 431 installs
- [godot-csharp](https://affpapa.org/en/nevibecode/skills/godot-csharp.md) — skill · 11600 installs
- [scenario-godot-performance-export](https://affpapa.org/en/nevibecode/skills/scenario-godot-performance-export.md) — skill · 452 installs
- [layer-tilesets](https://affpapa.org/en/nevibecode/skills/layer-tilesets.md) — skill · 1100 installs
- [game-engines](https://affpapa.org/en/nevibecode/skills/game-engines.md) — skill · 206 installs

From the same set: [thedivergentai/game-dev-agentic-skills](https://affpapa.org/en/nevibecode/by/thedivergentai/game-dev-agentic-skills.md) — 100 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
