Skip to content

Latest commit

 

History

History
100 lines (73 loc) · 5.74 KB

README.md

File metadata and controls

100 lines (73 loc) · 5.74 KB

Banner

Netcode for GameObjects Bitesize Samples

UnityVersion NetcodeVersion LatestRelease

This repository contains a collection of bitesize sample projects and games that showcase different techniques which can help you get started with development of a multiplayer project using Netcode for GameObjects.

Bitesize Samples Overview

2D Space Shooter Overview

The 2D Space Shooter Sample was a UNet sample that has been converted over to NGO. Check it out to learn more about physics movement and status effects using Netcode NetworkVariables and ObjectPooling.

Invaders Overview

The Invaders Sample was a UNet sample that has been converted over to NGO. Learn more about game flow, modes, unconventional networked movement, and using a shared timer in this sample.

Client Driven Overview

See the Client Driven Sample to learn about client driven movements, networked physics, spawning vs in-scene placed NetworkObjects, and NetworkObject parenting.

Dynamic Addressables Network Prefabs Overview

Check out the new Dynamic Addressables Network Prefabs Sample to learn more about the dynamic prefab system, which allows us to add new spawnable network prefabs at runtime.


Readme Contents and Quick Links

Click to expand/collapse contents


Getting the project

Direct download

  • You can download the latest versions these samples from our Releases page

  • Alternatively: select Code and select the 'Download Zip' option. Please note that this will download the branch you're currently viewing on Github

Requirements

The bitesize samples are compatible with the latest Unity Long Term Support (LTS) editor version, currently 2021 LTS. Please include standalone support for Windows/Mac in your installation.

PLEASE NOTE: You will also need Netcode for Game Objects to use these samples. Complete the Hello World tutorial to prepare your environment.

Troubleshooting

Bugs

Documentation

For a deep dive into Netcode for GameObjects and the Bitesize Samples, visit our documentation site.

Community

For help, questions, networking advice, or discussions about Netcode for GameObjects and its samples, please join our Discord Community or create a post in the Unity Multiplayer Forum.

Contributing

We welcome your contributions to this sample code and objects. See our contribution guidelines for details.

Feedback

If you have tried these samples already, please consider leaving us feedback here--it will only take a couple of minutes. Thanks!

Other samples

Boss Room Sample

Boss Room is a fully functional co-op multiplayer RPG made with Unity Netcode. It is an educational sample designed to showcase typical netcode patterns that are frequently featured in similar multiplayer games.

Documentation Forums Discord