com.unity.multiplayer.sampl.../Basic/2DSpaceShooter
Fernando Cortez fe0bb30a0a updating readmes and changelog 2023-12-15 13:55:30 -05:00
..
Assets fix: fix the no fire sound problem (external PR #138) (#148) 2023-12-12 17:30:52 -05:00
Packages updating utilities package for samples 2023-12-15 11:42:34 -05:00
ProjectSettings project versions updated 2023-12-15 13:43:40 -05:00
Resources Banners for each bitesize readme (#101) 2023-02-16 19:46:38 -05:00
UIElementsSchema Feature: 2D Space Shooter UI Pass using UI Toolkit (#55) 2022-08-15 11:19:55 -04:00
README.md updating readmes and changelog 2023-12-15 13:55:30 -05:00

README.md

Banner

2D Space Shooter

UnityVersion NetcodeVersion LatestRelease

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.

Sample Overview

In this sample, learn more about:

  • Server authoritative physics based movement using Netcode for GameObject's NetworkRigidbody2D component
  • Managing health and a list of buffs for your players in a multiplayer game with a NetworkVariable
  • How to pool network objects such as bullets and asteroids to improve performance


💡 Documentation

Check out the 2D Space Shooter sample documentation for a more in-depth technical breakdown of our engineering decisions and why the sample works the way it does.



Exploring the Sample

The entry scene for this game is the network scene. From there a game can be hosted or an existing game can be joined. Control the ship using WASD and shoot asteroids (or other players!) using the spacebar. Fly over pickups in the scene to get different temporary buffs for your ship (like increased fly speed or shooting extra bullets).


💡 Bitesize Readme

Check out our main Bitesize Samples GitHub Readme for more documentation, resources, releases, contribution guidelines, and our feedback form.



Documentation Forums Discord