Skip to content

Multiplayer tank combat game built with Unity and Netcode for GameObjects. Features real-time battles, dedicated server support, host/client modes, and a polished UI

Notifications You must be signed in to change notification settings

mangelsr/TanksMultiplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tanks Multiplayer

A fast-paced, multiplayer tank combat game built with Unity, utilizing the Netcode for GameObjects framework for robust networking.

πŸš€ Features

  • Multiplayer Combat: Real-time tank battles with client-server architecture.
  • Dedicated Server Support: Includes logic for running as a dedicated server or a host/client.
  • Player Progression: Features a coin wallet system and health management.
  • Dynamic Gameplay: Includes player movement, aiming, and projectile launching mechanics.
  • Minimap System: Integrated minimap for tactical awareness.
  • UI & UX: Polished UI with TextMesh Pro, including connection menus and player name displays.

πŸ›  Tech Stack

  • Engine: Unity
  • Networking: Unity Netcode for GameObjects
  • Rendering: Universal Render Pipeline (URP)
  • Input: Unity Input System
  • Camera: Cinemachine

πŸ“ Project Structure

  • Assets/Scripts/Core: Core gameplay logic (Player, Combat, Coins).
  • Assets/Scripts/Networking: Handlers for client, host, and server logic.
  • Assets/Scripts/UI: User interface components.
  • Assets/Art: Visual assets (2D/3D).
  • Assets/Prefabs: Reusable GameObject templates.

🏁 Getting Started

Prerequisites

  • Unity 2022.3 LTS or newer.

Installation

  1. Clone the repository:
    git clone https://github.com/your-repo/TanksMultiplayer.git
  2. Open the project in Unity Hub.
  3. Ensure all dependencies are resolved via the Package Manager.

Running the Game

  • Host/Client: Open the Main scene and click Play. Use the on-screen UI to host or join.
  • Dedicated Server: Build the project with the Dedicated Server target in Unity Build Settings.

About

Multiplayer tank combat game built with Unity and Netcode for GameObjects. Features real-time battles, dedicated server support, host/client modes, and a polished UI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published