Skip to content

MaxTrollinger1/UnityPunMultiplayerFramework

Repository files navigation

Unity Easy Multiplayer Framework

This framework is a robust Unity package designed to significantly simplify the process of implementing multiplayer functionalities in your Unity games. Leveraging the power of Photon PUN 2, our package streamlines the connection process, lobby system, and player architecture to get you started with multiplayer faster than ever before.

Features

  • Photon PUN 2 Integration - Seamless integration with the industry-leading Photon PUN 2 networking solution.
  • Lobby System - Efficient and scalable lobby system built upon callbacks ensuring rapid connections and a smooth player experience.
  • Modular Player Architecture - Flexible architecture that allows easy customization for player properties, behaviors, and more.
  • Documentation - Comprehensive documentation to get you started without any hitches.

Prerequisites

Installation

  1. Download the Package
    • Clone this repository or download the .unitypackage file.
  2. Import into Unity
    • Open Unity and import the package (Assets > Import Package > Custom Package...).
  3. Setup Photon PUN 2
    • If you haven't already, ensure you have Photon PUN 2 set up in your project.
    • And The Project Also Relies Upon Text Mesh Pro

Getting Started

  1. Initialize the Framework - Load the Demo Scene Named "Main"
  2. Connect To Server - Connect Photon Pun 2 Already Created App-Id To allow connections
  3. Player Architecture - Build upon the existing player architecture or adapt it to fit your game's requirements.

More detailed instructions can be found in the included documentation.

Examples

This framework comes bundled with a few example scenes demonstrating:

  • Basic connection to a lobby
  • Player instantiation
  • General multiplayer interactions

To try them out, navigate to the Examples directory and open the desired scene.

Documentation

We welcome the documentation! Please see the DOCUMENTATION.md for more details.

Contributing

We welcome contributions! Please see the CONTRIBUTING.md for more details.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Support

Having issues or need help? Check out our FAQs or create an issue here.

Acknowledgements

  • Photon PUN 2 for the solid networking foundation.
  • [Max Trollinger] - For developing this amazing framework.

About

Framework for Photon Pun Multiplayer System In Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published