unity Tutorial
View on GitHub

Multiplayer Local Platformer โ€“ Unity 2D

๐Ÿ•น๏ธ Multiplayer Local Platformer โ€“ Unity 2D

This is a Local Multiplayer Platformer template for Unity 2D. It is designed to be a starting point for creating 2-player co-op or competitive games on the same screen (Shared Screen or Split Screen).

๐Ÿš€ Key Features

  • Local Multiplayer System: Support for 2 simultaneous players (Keyboard + Gamepad or 2 Gamepads).
  • Input System: Configured with the new Unity Input System.
  • Player Controller: Movement, jumping, and basic physics.
  • Camera System: Dynamic camera that follows players or Split Screen.
  • Level Manager: Basic system to manage scenes and respawns.

๐Ÿ› ๏ธ Installation

  1. Clone the repository:
git clone https://github.com/BurningAl15/LocalMultiplayer2dPlatformer.git
  1. Open the project in Unity 2022.3 LTS or higher.
  2. Open the scene Scenes/Game.
  3. Press Play!

๐ŸŽฎ Controls

ActionPlayer 1 (Keyboard)Player 2 (Gamepad)
MoveWASDLeft Stick
JumpSpaceButton South (A/X)
InteractEButton West (X/Square)

๐Ÿ“ฆ Project Structure

  • Scripts/Player: Logic for movement and input.
  • Scripts/Managers: GameManager, LevelManager.
  • Prefabs: Ready-to-use Player and Environment prefabs.

[!TIP] This project is perfect for Game Jams or learning how to handle multiple inputs in Unity.

View Repository