> For the complete documentation index, see [llms.txt](https://bizachi-dev.gitbook.io/turn-based-arena-template/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bizachi-dev.gitbook.io/turn-based-arena-template/turn-based-arena-template.md).

# Turn-Based Arena Template

Turn-Based Arena is a Unity template for monster-collection RPGs: turn-based battles with waves, skills and runes, summons, a home island and the meta systems around them, with an offline mode and an

Turn-Based Arena is a Unity template for monster-collection RPGs. The player summons monsters, builds a team, and fights turn-based battles in story regions, dungeons, a tower and a PvP arena. Around the battles it has the systems a game of this genre needs: monster progression, runes, a shop, a home island with buildings, guilds, chat, mail, missions and leaderboards.

<figure><img src="https://1049068806-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKXwgPHhevSB3BBUw84kl%2Fuploads%2Fgit-blob-8f76a3aad8e82255f01a30de81e7965aa71ad279%2Ftba-game-home.jpg?alt=media" alt="Home island of the template" width="640"><figcaption><p>The Home scene: the player's island, with the main menu around it.</p></figcaption></figure>

#### What is included

* **Turn-based battles** with an attack bar (turn order by speed), waves, multi-hit skills, critical and glancing hits, buffs and debuffs, passives, leader skills, auto battle and battle speed 1x / 2x / 3x. Three more turn systems are built in (speed rounds, alternating sides, team phases).
* **231 demo monsters**: 47 families in 5 elements (Fire, Water, Ground, Light, Dark), each with its own skills, a leader skill and an awakened form.
* **Monster progression**: levels, star evolution, power-up with fodder, awakening with essences and skill-ups.
* **Runes**: six slots, rune sets, main stats and substats, upgrades, and the rune screen of every monster.
* **Summons** with weighted scrolls, rate-up banners and a summon cinematic.
* **Content**: 6 story regions with Easy, Normal, Hard and Hell difficulties, elemental dungeons with a weekday schedule, a seasonal tower, and an asynchronous PvP arena with ranks and seasons.
* **Home island**: buildings and decorations placed on a grid, production buildings, island expansions.
* **Meta systems**: shop with limits and discounts, missions, achievements, daily check-in, new-player quests, guilds with guild quests, global and guild chat, mailbox, player reports and leaderboards.
* **Story dialogues and a tutorial** written as JSON scripts and imported into Unity.
* **3D or 2D**: monsters and battles can use 3D models or 2D sprites.
* **Two backends**: Offline (everything runs on the device) and WebSocket + SQL (your own Node.js server with Colyseus, MySQL and Redis; the server runs the battles).
* **Languages**: English, Portuguese, Chinese, Japanese and Korean.

<figure><img src="https://1049068806-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKXwgPHhevSB3BBUw84kl%2Fuploads%2Fgit-blob-e0eff2c88e081a3be6278c35dad56a3d18f483dd%2Ftba-game-battle.jpg?alt=media" alt="A battle in the first story region" width="640"><figcaption><p>A battle in the first story region.</p></figcaption></figure>

#### Requirements

* **Unity 6** (6000.0.38f1 or newer) with the **Universal Render Pipeline**.
* For the WebSocket + SQL backend: **Node.js 20** or newer, **MySQL 8+** or **MariaDB 10.5+**, and **Redis 6+**.

The project setup (packages and player settings) is described in [Offline Backend](/turn-based-arena-template/getting-started/offline-backend.md).

#### Where to start

1. [Quick Start Overview](/turn-based-arena-template/getting-started/quick-start-overview.md): the two backends and how to switch between them.
2. [Offline Backend](/turn-based-arena-template/getting-started/offline-backend.md): set up the project and play without a server.
3. [WebSocket + SQL Backend](/turn-based-arena-template/getting-started/websocket-sql-backend.md): run the server and play online.
4. [Game Instance](/turn-based-arena-template/scenes-and-managers/game-instance.md): the component that lists every piece of game data.

#### Support

Discord: <https://discord.com/invite/EGGj77g3eQ>\
Email: <rafbizachi5@gmail.com>
