Photon Fusion Starter - Multiplayer

FREE
Publisher Photon Engine
File size 90.69MB
Number of files 533
Latest version 2.0.2
Latest release date 2024-08-21 02:37:12
First release date 2024-08-21 02:37:12
Supported Unity versions 2018.4.2 or higher

The Fusion Starter sample is meant to get you started with the best foundation for various types of multiplayer gameplay with tick-accurate, lag-compensated (Host mode), rollback, and resimulation loop best practices. It is an all-inclusive asset designed to integrate Photon Fusion, a Unity Verified Solution, as a foundation for your Unity projects. 


Fusion Starter provides best practices for developers looking to create high-performance, scalable multiplayer games, complete with detailed examples and comprehensive documentation. This sample can be found in both Fusion Shared and Fusion Host topologies to accommodate both beginners and professionals.


💎 CORE FEATURES 💎


  • Ready-to-Use Samples: Includes three fully-functional game samples to demonstrate core multiplayer concepts.

  • Extensive Code Comments: Detailed code comments to help you implement features effortlessly.

  • Customizable Components: Easily extend and customize the provided templates to suit your specific game requirements.

  • Seamless Multiplayer Integration: Photon Fusion enhances Unity for smooth, real-time multiplayer experiences with minimal setup.

  • Optimized Performance: Built with performance in mind to ensure smooth gameplay even under high-stress scenarios.


⚡ MULTIPLAYER SAMPLES ⚡



🚶‍♀️Third Person Character Controller🚶‍♀️

➕ Multiplayer movement and animations


The Third Person Character sample transforms Unity's Starter Assets - Third Person into a playable multiplayer environment. Players spawn as third-person characters and can walk and run around a prototype environment. This sample replaces the default CharacterController component with the Simple KCC addon, a kinematic character controller (KCC) solution specifically tailored for Fusion. It provides smooth movement and rotation even under challenging networking conditions, optimized to handle dozens or even hundreds of characters on a single CPU server core.


Key Features:



  • Smooth Movement: Utilizes the Simple KCC addon for optimized, smooth movement and rotation.

  • Optimized Performance: SimpleKCC ensures smooth movement and rotation, optimized for performance even in harsh network conditions.

Where to Go Next:


  • Animations Technical Sample: Learn more about character animation with our Animation Sample.




🤾 Platformer 🤾 

➕ Multiplayer Interaction and Game Loop


The Platformer sample builds on the Third Person Character foundation and introduces interaction with game objects, such as collecting coins and avoiding falling platforms. It uses RPCs to display nameplates above player heads and features a simple game loop where players race to collect 10 coins and reach the top flag. After each round, all players restart at the starting point.


Key Features:


  • Interactive Gameplay: Collect coins, avoid obstacles, and race to the finish.

  • RPCs Utilization: Display nameplates above heads.

  • Basic Game Loop: After one player reaches the top, the winner is announced, and a new round begins.

Where to Go Next:





🔫 Shooter 🔫

 ➕ Basics of First-Person Shooter


The Shooter sample demonstrates a simple first-person shooter where players compete to be the best hunter by shooting flying chickens. The chicken counter resets when a player dies, either by falling off a platform or being killed by another player. In Host Mode, this sample utilizes Fusion's Lag Compensation to ensure precise hits even under poor networking conditions.


Key Features:


  • Competitive Gameplay: Shoot flying chickens and compete against other players.

  • Lag Compensation: Ensures precise hits despite network latency. (Host mode)

  • Player Death: Simple player death loop with UI and stats reset.

Where to Go Next:



  • Projectiles Advanced: Advanced solutions for different types of projectiles and real-world multiplayer shooter challenges.

  • BR200 Sample: Focus on large player counts and advanced techniques like tick-accurate animations and sub-tick accurate shooting with BR200.


🤝 Gaming Circle 🤝


Join the conversation and become a part of an exclusive community by engaging with the Photon Gaming Circle. Kickstart your project with a robust foundation, enabling limitless creativity with 60+ exclusive samples. Benefit from our fully networked samples to save time and resources while ensuring the highest quality for your project.


Members of the Gaming Circle not only have access to all the samples but also to our latest SDKs, our private Circle Discord, and premium development support. The Photon Gaming Circle is a hub for developers to discuss ideas, seek advice, and collaborate on exciting projects. Dive deeper into multiplayer game development and explore the Photon Gaming Circle today.


This asset is governed by the Photon Engine license terms.

Top Publisher Assets