Коммит
f8af3fffe2
|
@ -134,7 +134,7 @@ PlayerSettings:
|
|||
16:10: 1
|
||||
16:9: 1
|
||||
Others: 1
|
||||
bundleVersion: 1.2.0
|
||||
bundleVersion: 1.2.1
|
||||
preloadedAssets: []
|
||||
metroInputSource: 1
|
||||
wsaTransparentSwapchain: 0
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
# 2D Space Shooter
|
||||
|
||||
![UnityVersion](https://img.shields.io/badge/Unity%20Version:-2021.3%20LTS-57b9d3.svg?logo=unity&color=2196F3)
|
||||
![NetcodeVersion](https://img.shields.io/badge/Netcode%20Version:-1.2.0-57b9d3.svg?logo=unity&color=2196F3)
|
||||
[![LatestRelease](https://img.shields.io/badge/Latest%20%20Github%20Release:-v1.2.0-57b9d3.svg?logo=github&color=brightgreen)](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/releases/tag/v1.2.0)
|
||||
[![UnityVersion](https://img.shields.io/badge/Unity%20Version:-2021.3%20LTS-57b9d3.svg?logo=unity&color=2196F3)](https://unity.com/releases/editor/qa/lts-releases#:~:text=February%2014%2C%202023-,LTS%20Release,2021.3.18f1,-Released%3A%20February)
|
||||
[![NetcodeVersion](https://img.shields.io/badge/Netcode%20Version:-1.2.0-57b9d3.svg?logo=unity&color=2196F3)](https://docs-multiplayer.unity3d.com/netcode/current/about)
|
||||
[![LatestRelease](https://img.shields.io/badge/Latest%20%20Github%20Release:-v1.2.1-57b9d3.svg?logo=github&color=brightgreen)](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/releases/tag/v1.2.1)
|
||||
<br><br>
|
||||
|
||||
This is a UNet sample project converted to Netcode for GameObjects. The 2DSpaceShooter sample is a bitesize sample designed to demonstrate networked 2D and physics-based character movement.
|
||||
|
@ -21,7 +21,7 @@ In this sample, learn more about:
|
|||
<br><br>
|
||||
---
|
||||
### 💡 Documentation
|
||||
Check out our [Bitesize Samples documentation](https://docs-multiplayer.unity3d.com/netcode/current/learn/bitesize/bitesize-introduction) for a more in-depth technical breakdown of our engineering decisions and why the sample works the way it does.
|
||||
Check out the [2D Space Shooter sample documentation](https://docs-multiplayer.unity3d.com/netcode/current/learn/bitesize/bitesize-spaceshooter) for a more in-depth technical breakdown of our engineering decisions and why the sample works the way it does.
|
||||
|
||||
---
|
||||
<br>
|
||||
|
|
|
@ -134,7 +134,7 @@ PlayerSettings:
|
|||
16:10: 1
|
||||
16:9: 1
|
||||
Others: 1
|
||||
bundleVersion: 1.2.0
|
||||
bundleVersion: 1.2.1
|
||||
preloadedAssets:
|
||||
- {fileID: 11400000, guid: 9e7be553448fa2546aea5752021cbcf7, type: 2}
|
||||
metroInputSource: 0
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
# Client Driven
|
||||
|
||||
![UnityVersion](https://img.shields.io/badge/Unity%20Version:-2021.3%20LTS-57b9d3.svg?logo=unity&color=2196F3)
|
||||
![NetcodeVersion](https://img.shields.io/badge/Netcode%20Version:-1.2.0-57b9d3.svg?logo=unity&color=2196F3)
|
||||
[![LatestRelease](https://img.shields.io/badge/Latest%20%20Github%20Release:-v1.2.0-57b9d3.svg?logo=github&color=brightgreen)](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/releases/tag/v1.2.0)
|
||||
[![UnityVersion](https://img.shields.io/badge/Unity%20Version:-2021.3%20LTS-57b9d3.svg?logo=unity&color=2196F3)](https://unity.com/releases/editor/qa/lts-releases#:~:text=February%2014%2C%202023-,LTS%20Release,2021.3.18f1,-Released%3A%20February)
|
||||
[![NetcodeVersion](https://img.shields.io/badge/Netcode%20Version:-1.2.0-57b9d3.svg?logo=unity&color=2196F3)](https://docs-multiplayer.unity3d.com/netcode/current/about)
|
||||
[![LatestRelease](https://img.shields.io/badge/Latest%20%20Github%20Release:-v1.2.1-57b9d3.svg?logo=github&color=brightgreen)](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/releases/tag/v1.2.1)
|
||||
<br><br>
|
||||
|
||||
The ClientDriven sample is a sample project made with Netcode for GameObjects designed to demonstrate responsive 3rd-person WASD character movements even under unfavourable network conditions.
|
||||
|
@ -22,7 +22,7 @@ In this sample, learn more about:
|
|||
<br><br>
|
||||
---
|
||||
### 💡 Documentation
|
||||
Check out our [Bitesize Samples documentation](https://docs-multiplayer.unity3d.com/netcode/current/learn/bitesize/bitesize-introduction) for a more in-depth technical breakdown of our engineering decisions and why the sample works the way it does.
|
||||
Check out the [Client Driven sample documentation](https://docs-multiplayer.unity3d.com/netcode/current/learn/bitesize/bitesize-clientdriven) for a more in-depth technical breakdown of our engineering decisions and why the sample works the way it does.
|
||||
|
||||
---
|
||||
<br>
|
||||
|
|
|
@ -134,7 +134,7 @@ PlayerSettings:
|
|||
16:10: 1
|
||||
16:9: 1
|
||||
Others: 1
|
||||
bundleVersion: 1.2.0
|
||||
bundleVersion: 1.2.1
|
||||
preloadedAssets: []
|
||||
metroInputSource: 0
|
||||
wsaTransparentSwapchain: 0
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
# Dynamic Addressables Network Prefabs Sample
|
||||
|
||||
![UnityVersion](https://img.shields.io/badge/Unity%20Version:-2021.3%20LTS-57b9d3.svg?logo=unity&color=2196F3)
|
||||
![NetcodeVersion](https://img.shields.io/badge/Netcode%20Version:-1.2.0-57b9d3.svg?logo=unity&color=2196F3)
|
||||
[![LatestRelease](https://img.shields.io/badge/Latest%20%20Github%20Release:-v1.2.0-57b9d3.svg?logo=github&color=brightgreen)](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/releases/tag/v1.2.0)
|
||||
[![UnityVersion](https://img.shields.io/badge/Unity%20Version:-2021.3%20LTS-57b9d3.svg?logo=unity&color=2196F3)](https://unity.com/releases/editor/qa/lts-releases#:~:text=February%2014%2C%202023-,LTS%20Release,2021.3.18f1,-Released%3A%20February)
|
||||
[![NetcodeVersion](https://img.shields.io/badge/Netcode%20Version:-1.2.0-57b9d3.svg?logo=unity&color=2196F3)](https://docs-multiplayer.unity3d.com/netcode/current/about)
|
||||
[![LatestRelease](https://img.shields.io/badge/Latest%20%20Github%20Release:-v1.2.1-57b9d3.svg?logo=github&color=brightgreen)](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/releases/tag/v1.2.1)
|
||||
<br><br>
|
||||
|
||||
The Dynamic Prefabs Sample showcases the available use-cases for the dynamic prefab system, which allows us to add new spawnable prefabs at runtime. This sample uses Addressables to load the dynamic prefab, however any GameObject with a NetworkObject component can be used, regardless of its source. This sample also uses in-game UI (created using UI Toolkit) to interface with the dynamic prefabs system with configurable options like artificial latency and network spawn timeout for easy testing.
|
||||
|
@ -20,7 +20,7 @@ In this sample, learn more about:
|
|||
|
||||
---
|
||||
### 💡 Documentation
|
||||
Check out our [Bitesize Samples documentation](https://docs-multiplayer.unity3d.com/netcode/current/learn/bitesize/bitesize-introduction) for a more in-depth technical breakdown of our engineering decisions and why the sample works the way it does.
|
||||
Check out the [Dynamic Addressables Network Prefabs sample documentation](https://docs-multiplayer.unity3d.com/netcode/current/learn/bitesize/bitesize-dynamicPrefabs) for a more in-depth technical breakdown of our engineering decisions and why the sample works the way it does.
|
||||
|
||||
---
|
||||
<br>
|
||||
|
@ -94,13 +94,14 @@ Each scene in the project showcases a different, isolated feature of the API, al
|
|||
### Dynamic Prefabs System
|
||||
|
||||
- Preloading Dynamic Prefabs - [Assets/Scripts/00_Preloading/Preloading.cs](Assets/Scripts/00_Preloading/Preloading.cs)
|
||||
- Connection Approval supporting late join - [Assets/Scripts/01_Connection Approval/ConnectionApproval.cs](Assets/Scripts/01_ConnectionApproval/ConnectionApproval.cs)
|
||||
- Server Authoritative Preloading All Prefabs Asynchronously - [Assets/Scripts/02_Server Authoritative Load All Async/ServerAuthoritativeLoadAllAsync.cs](Assets/Scripts/02_ServerAuthoritativeLoadAllAsync/ServerAuthoritativeLoadAllAsync.cs)
|
||||
- Server Authoritative Try Spawning Synchronously - [Assets/Scripts/03_Server Authoritative Synchronous Spawning/ServerAuthoritativeSynchronousSpawning.cs](Assets/Scripts/03_ServerAuthoritativeSynchronousSpawning/ServerAuthoritativeSynchronousSpawning.cs)
|
||||
- Server Authoritative Spawn using Network-Visibility - [Assets/Scripts/04_Server Authoritative Network-Visibility Spawning/ServerAuthoritativeNetworkVisibilitySpawning.cs](Assets/Scripts/04_ServerAuthoritativeNetwork-VisibilitySpawning/ServerAuthoritativeNetworkVisibilitySpawning.cs)
|
||||
- Connection Approval supporting late join - [Assets/Scripts/01_Connection Approval/ConnectionApproval.cs](Assets/Scripts/01_Connection%20Approval/ConnectionApproval.cs)
|
||||
- Server Authoritative Preloading All Prefabs Asynchronously - [Assets/Scripts/02_Server Authoritative Load All Async/ServerAuthoritativeLoadAllAsync.cs](Assets/Scripts/02_Server%20Authoritative%20Load%20All%20Async/ServerAuthoritativeLoadAllAsync.cs)
|
||||
- Server Authoritative Try Spawning Synchronously - [Assets/Scripts/03_Server Authoritative Synchronous Spawning/ServerAuthoritativeSynchronousSpawning.cs](Assets/Scripts/03_Server%20Authoritative%20Synchronous%20Spawning/ServerAuthoritativeSynchronousSpawning.cs)
|
||||
- Server Authoritative Spawn using Network-Visibility - [Assets/Scripts/04_Server Authoritative Network-Visibility Spawning/ServerAuthoritativeNetworkVisibilitySpawning.cs](Assets/Scripts/04_Server%20Authoritative%20Network-Visibility%20Spawning/ServerAuthoritativeNetworkVisibilitySpawning.cs)
|
||||
|
||||
### UI
|
||||
- In Game UI - [Assets/Scripts/UI/IPMenuUI.cs](Assets/Scripts/UI/IPMenuUI.cs)
|
||||
- In Game UI [Assets/Scripts/UI/InGameUI.cs](Assets/Scripts/UI/InGameUI.cs)
|
||||
- IP Menu UI - [Assets/Scripts/UI/IPMenuUI.cs](Assets/Scripts/UI/IPMenuUI.cs)
|
||||
|
||||
### Addressables
|
||||
- Package version - [Packages/manifest.json](Packages/manifest.json)
|
||||
|
|
|
@ -134,7 +134,7 @@ PlayerSettings:
|
|||
16:10: 1
|
||||
16:9: 1
|
||||
Others: 1
|
||||
bundleVersion: 1.2.0
|
||||
bundleVersion: 1.2.1
|
||||
preloadedAssets: []
|
||||
metroInputSource: 0
|
||||
wsaTransparentSwapchain: 0
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
# Invaders
|
||||
|
||||
![UnityVersion](https://img.shields.io/badge/Unity%20Version:-2021.3%20LTS-57b9d3.svg?logo=unity&color=2196F3)
|
||||
![NetcodeVersion](https://img.shields.io/badge/Netcode%20Version:-1.2.0-57b9d3.svg?logo=unity&color=2196F3)
|
||||
[![LatestRelease](https://img.shields.io/badge/Latest%20%20Github%20Release:-v1.2.0-57b9d3.svg?logo=github&color=brightgreen)](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/releases/tag/v1.2.0)
|
||||
[![UnityVersion](https://img.shields.io/badge/Unity%20Version:-2021.3%20LTS-57b9d3.svg?logo=unity&color=2196F3)](https://unity.com/releases/editor/qa/lts-releases#:~:text=February%2014%2C%202023-,LTS%20Release,2021.3.18f1,-Released%3A%20February)
|
||||
[![NetcodeVersion](https://img.shields.io/badge/Netcode%20Version:-1.2.0-57b9d3.svg?logo=unity&color=2196F3)](https://docs-multiplayer.unity3d.com/netcode/current/about)
|
||||
[![LatestRelease](https://img.shields.io/badge/Latest%20%20Github%20Release:-v1.2.1-57b9d3.svg?logo=github&color=brightgreen)](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/releases/tag/v1.2.1)
|
||||
<br><br>
|
||||
|
||||
This is a UNet sample project converted to Netcode for GameObjects. The Invaders sample is a sample project designed to demonstrate game flows and game modes.
|
||||
|
@ -22,7 +22,7 @@ In this sample, learn more about:
|
|||
<br><br>
|
||||
---
|
||||
### 💡 Documentation
|
||||
Check out our [Bitesize Samples documentation](https://docs-multiplayer.unity3d.com/netcode/current/learn/bitesize/bitesize-introduction) for a more in-depth technical breakdown of our engineering decisions and why the sample works the way it does.
|
||||
Check out the [Invaders sample documentation](https://docs-multiplayer.unity3d.com/netcode/current/learn/bitesize/bitesize-invaders) for a more in-depth technical breakdown of our engineering decisions and why the sample works the way it does.
|
||||
|
||||
---
|
||||
<br>
|
||||
|
|
27
CHANGELOG.md
27
CHANGELOG.md
|
@ -3,6 +3,33 @@
|
|||
## [unreleased] - yyyy-mm-dd
|
||||
N/A
|
||||
|
||||
## [1.2.1] - 2023-02-17
|
||||
|
||||
### Dynamic Addressables Network Prefabs
|
||||
|
||||
#### Changed
|
||||
- Readme updated with link to the Dynamic Addressables Network Prefabs sample documentation, and broken links fixed (#106)
|
||||
|
||||
### 2D Space Shooter
|
||||
|
||||
#### Changed
|
||||
- Readme updated with link to the 2D Space Shooter sample documentation, and broken links fixed (#106)
|
||||
|
||||
### Client Driven
|
||||
|
||||
#### Changed
|
||||
- Readme updated with link to the Client Driven sample documentation, and broken links fixed (#106)
|
||||
|
||||
### Invaders
|
||||
|
||||
#### Changed
|
||||
- Readme updated with link to the Invaders samples documentation, and broken links fixed (#106)
|
||||
|
||||
### Bitesize Samples Repository
|
||||
|
||||
#### Fixed
|
||||
- Readme formatting adjustments and broken link fixes (#106) (#108)
|
||||
|
||||
## [1.2.0] - 2023-02-16
|
||||
|
||||
### Dynamic Addressables Network Prefabs Sample
|
||||
|
|
39
README.md
39
README.md
|
@ -2,9 +2,9 @@
|
|||
<br><br>
|
||||
# Netcode for GameObjects Bitesize Samples
|
||||
|
||||
![UnityVersion](https://img.shields.io/badge/Unity%20Version:-2021.3%20LTS+-57b9d3.svg?logo=unity&color=2196F3)
|
||||
![NetcodeVersion](https://img.shields.io/badge/Netcode%20Version:-1.2.0+-57b9d3.svg?logo=unity&color=2196F3)
|
||||
[![LatestRelease](https://img.shields.io/badge/Latest%20%20Github%20Release:-v1.2.0-57b9d3.svg?logo=github&color=brightgreen)](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/releases/tag/v1.2.0)
|
||||
[![UnityVersion](https://img.shields.io/badge/Unity%20Version:-2021.3%20LTS-57b9d3.svg?logo=unity&color=2196F3)](https://unity.com/releases/editor/qa/lts-releases#:~:text=February%2014%2C%202023-,LTS%20Release,2021.3.18f1,-Released%3A%20February)
|
||||
[![NetcodeVersion](https://img.shields.io/badge/Netcode%20Version:-1.2.0-57b9d3.svg?logo=unity&color=2196F3)](https://docs-multiplayer.unity3d.com/netcode/current/about)
|
||||
[![LatestRelease](https://img.shields.io/badge/Latest%20%20Github%20Release:-v1.2.1-57b9d3.svg?logo=github&color=brightgreen)](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/releases/tag/v1.2.1)
|
||||
<br><br>
|
||||
|
||||
This repository contains a collection of bitesize sample projects and games that showcase different
|
||||
|
@ -30,34 +30,33 @@ See the [Client Driven Sample](https://github.com/Unity-Technologies/com.unity.m
|
|||
|
||||
### Dynamic Addressables Network Prefabs Overview ![](https://img.shields.io/badge/New!-brightgreen)
|
||||
|
||||
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.
|
||||
Check out the new [Dynamic Addressables Network Prefabs Sample](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/tree/main/Basic/DynamicAddressablesNetworkPrefabs) to learn more about the dynamic prefab system, which allows us to add new spawnable network prefabs at runtime.
|
||||
<br><br>
|
||||
|
||||
---
|
||||
|
||||
## Readme Contents and Quick Links
|
||||
<details open> <summary> Click to expand/collapse contents </summary>
|
||||
|
||||
- ### [Getting the Project](#getting-the-project)
|
||||
- ### [Requirements](#requirements)
|
||||
- ### [Troubleshooting](#troubleshooting)
|
||||
- ### [Getting the Project](#getting-the-project-1)
|
||||
- ### [Requirements](#requirements-1)
|
||||
- ### [Troubleshooting](#troubleshooting-1)
|
||||
- [Bugs](#bugs)
|
||||
- [Documentation](#documentation)
|
||||
- ### [Contributing](#contributing)
|
||||
- ### [Community](#community)
|
||||
- ### [Feedback Form](#feedback-form)
|
||||
- ### [Other Samples](#other-samples)
|
||||
- ### [Contributing](#contributing-1)
|
||||
- ### [Community](#community-1)
|
||||
- ### [Feedback Form](#feedback)
|
||||
- ### [Other Samples](#other-samples-1)
|
||||
- [Boss Room](#boss-room-sample)
|
||||
|
||||
</details>
|
||||
|
||||
---
|
||||
<br><br>
|
||||
<br>
|
||||
|
||||
## Getting the project
|
||||
### Direct download
|
||||
|
||||
- You can download the latest versions of these samples from our [Releases](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/releases/tag/v1.2.0) page
|
||||
- You can download the latest versions these samples from our [Releases](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/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
|
||||
<br><br>
|
||||
|
@ -66,17 +65,17 @@ Check out the new [Dynamic Addressables Network Prefabs Sample]() to learn more
|
|||
|
||||
The bitesize samples are compatible with the latest Unity Long Term Support (LTS) editor version, currently [2021 LTS](https://unity.com/releases/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 Getting Started](https://docs-multiplayer.unity3d.com/netcode/current/tutorials/helloworld) to prepare your environment.
|
||||
**PLEASE NOTE:** You will also need Netcode for Game Objects to use these samples. Complete the [Hello World](https://docs-multiplayer.unity3d.com/netcode/current/tutorials/helloworld) tutorial to prepare your environment.
|
||||
<br><br>
|
||||
|
||||
## Troubleshooting
|
||||
### Bugs
|
||||
- Report bugs in Boss Room using Github [issues](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop/issues)
|
||||
- Report NGO bugs using NGO Github [issues](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects)
|
||||
- Report bugs in the Bitesize samples using Github [issues](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/issues)
|
||||
- Report NGO bugs using NGO Github [issues](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues)
|
||||
- Report Unity bugs using the [Unity bug submission process](https://unity3d.com/unity/qa/bug-reporting)
|
||||
|
||||
### Documentation
|
||||
For a deep dive into Unity Netcode and Boss Room, visit our [documentation site](https://docs-multiplayer.unity3d.com/).
|
||||
For a deep dive into Netcode for GameObjects and the Bitesize Samples, visit our [documentation site](https://docs-multiplayer.unity3d.com/).
|
||||
<br><br>
|
||||
|
||||
## Community
|
||||
|
@ -88,12 +87,12 @@ We welcome your contributions to this sample code and objects. See our [contribu
|
|||
<br><br>
|
||||
|
||||
## Feedback
|
||||
If you have tried these samples already, please consider leaving us feedback [here](https://unitytech.typeform.com/bitesize) --it will only take a couple of minutes. Thanks!
|
||||
If you have tried these samples already, please consider leaving us feedback [here](https://unitytech.typeform.com/bitesize)--it will only take a couple of minutes. Thanks!
|
||||
<br><br>
|
||||
|
||||
## Other samples
|
||||
### Boss Room Sample
|
||||
[Boss Room](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop/releases/latest) 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.
|
||||
[Boss Room](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop/) 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.
|
||||
<br><br>
|
||||
|
||||
[![Documentation](https://img.shields.io/badge/Unity-bitesize--docs-57b9d3.svg?logo=unity&color=2196F3)](https://docs-multiplayer.unity3d.com/netcode/current/learn/bitesize/bitesize-introduction)
|
||||
|
|
Загрузка…
Ссылка в новой задаче