A collection of smaller Bitesize samples to educate in isolation features of Netcode for GamesObjects and related technologies.
Перейти к файлу
Fernando Cortez b4423d2a26 merging animation & locomotion 2024-07-29 17:09:47 -04:00
.github correct PR template removed 2023-10-02 15:40:01 -04:00
.yamato mtt-8638-Separate-PR-Triggers-per-project (#195) 2024-07-10 09:25:39 -04:00
Basic Merge branch 'main' into develop 2024-07-18 11:13:41 -04:00
Deprecated Merge branch 'main' into develop 2024-07-18 11:13:41 -04:00
Experimental merging animation & locomotion 2024-07-29 17:09:47 -04:00
Resources Feat: Readme Updates [MTT-5460] (#96) 2023-02-16 18:51:31 -05:00
dotnet-tools feat: dotnet standards tests + formatting pass on samples [MTT-5183] (#156) 2024-03-14 13:24:11 -04:00
.editorconfig feat: dotnet standards tests + formatting pass on samples [MTT-5183] (#156) 2024-03-14 13:24:11 -04:00
.gitignore Sample: API diorama (#71) 2023-10-02 14:21:48 -04:00
CHANGELOG.md bumping release numbers, changelog updated with release 2024-05-30 14:23:37 -04:00
CODE_OF_CONDUCT.md docs: update repo docs (#33) 2021-10-20 21:35:18 +01:00
CONTRIBUTING.md docs: update repo docs (#33) 2021-10-20 21:35:18 +01:00
LICENSE.md update License and changelog 2021-04-22 12:09:01 -05:00
README.md bumping release numbers, changelog updated with release 2024-05-30 14:23:37 -04:00

README.md

Banner

Netcode for GameObjects Bitesize Samples

UnityVersion NetcodeVersion* LatestRelease

*: Due to a regression in Netcode for GameObjects pertaining to the destruction of NetworkObjects when a client unsuccessfully connects, the Dynamic Addressables Network Prefabs sample has remained at v1.7.1. It will be upgraded in the near future with the latest Netcode version including a fix for the regression.

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.


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 2022 LTS and are supported on the Windows 10 and Mac OSX platforms. Please include standalone support for Windows/Mac in your installation.

PLEASE NOTE: You will also need Netcode for Game Objects to use these samples. See the Installation Documentation to prepare your environment. You can also complete the Get Started With NGO tutorial to familiarize yourself with Netcode For Game Objects.

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