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.

Documentation & Download: Fusion Starter Documentation

💎 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 ⚡

The sample consists of a series of small, independent examples. Each example has its own folder and namespace. Currently, there are three examples available:

🚶‍♀️1 - 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:

  • Multiplayer Adaptation: Experience Unity’s third-person character in a fully networked environment.
  • 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:

🤾 2 - 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:

🔫 3 - 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:

  • Simple FPS: First-Person Shooter sample with a complete game loop, ammo handling, various weapons, and more.
  • 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.

Comments

Log in with itch.io to leave a comment.

why did you make it 3 in 1 ? 

wow

good game