Let's Create a Multiplayer Space War Game in Unity
LINKS
Multiplayer Boilerplate Package (GitHub):
[https://github.com/Midnite-Oil-Software-L-L-C/unity_packages](https://github.com/Midnite-Oil-Software-L-L-C/unity_packages)
Project Architecture Diagram:
[https://github.com/Midnite-Oil-Software-L-L-C/Architecture-Diagrams/blob/main/Space-War.md](https://github.com/Midnite-Oil-Software-L-L-C/Architecture-Diagrams/blob/main/Space-War.md)
Project Source Code:
https://github.com/Midnite-Oil-Software-L-L-C/space-war-tutorial
Play the Game on itch.io:
[https://midniteoilsoftware.itch.io/space-war](https://midniteoilsoftware.itch.io/space-war)
ASSETS USED IN THIS TUTORIAL
Unity Tutorial Assets (GitHub):
[https://github.com/Midnite-Oil-Software-L-L-C/Unity-Tutorial-Assets](https://github.com/Midnite-Oil-Software-L-L-C/Unity-Tutorial-Assets)
2D Space Kit (Unity Asset Store):
[https://assetstore.unity.com/packages/2d/environments/2d-space-kit-27662](https://assetstore.unity.com/packages/2d/environments/2d-space-kit-27662)
Free Laser Weapons (Unity Asset Store):
[https://assetstore.unity.com/packages/audio/sound-fx/weapons/free-laser-weapons-214929](https://assetstore.unity.com/packages/audio/sound-fx/weapons/free-laser-weapons-214929)
Free Fonts:
[https://www.1001freefonts.com/](https://www.1001freefonts.com/)
---
VIDEO CHAPTERS
00:00:00 - Intro
00:01:06 - Installing Packages
00:05:27 - Multiplayer Play Mode (MPPM)
00:07:02 - Architecture Overview
00:12:05 - Import Space War Assets
00:13:31 - Configure Space War Assets
00:15:13 - Main Menu
00:24:48 - Space War Scene
00:36:56 - IDestroyable Interface
00:39:23 - SpaceWar Game Manager
00:43:36 - ScreenWrapper Component
00:45:41 - SpaceWar Player Prefab
00:46:28 - Fighter Prefab
00:50:41 - Add Required Scripts
00:51:40 - Fighter Script
00:57:13 - PlayerProjectile Script
00:59:27 - GravityWell and Attractable Scripts
01:03:20 - Projectile Prefab
01:06:06 - Add Fighter Script to SpaceWar Player Prefab
01:06:32 - Assign Projectile Prefab to Player
01:06:42 - Add Fighter_1 Prefab to Player
01:07:27 - Explosion Prefab
01:08:49 - Add Space Background to Space War Scene
01:09:59 - Create Black Hole
01:11:51 - Additional Fighter Prefabs
01:14:59 - Assign Prefabs to SpaceWar Player
01:15:32 - Update Assignments in NetworkManager
01:16:45 - Initialization and CleanUp Scripts
01:20:09 - SpaceWar Game UI
01:24:15 - Time Remaining Text
01:25:32 - Initial Test
01:26:43 - Debug SpaceWarGameManager Error
01:28:13 - Debug Player Visibility Issue
01:32:32 - Fixed Explosion Bug
01:36:08 - UI and Sound Effects
01:39:10 - Test UI and Sound Effects
01:40:37 - Debugging Gravity Well on Client
01:44:20 - Adding Some Log Messages
01:48:01 - Fixing Gravity Well on Client
01:50:03 - WebGL Config
01:53:42 - WebGL Build
01:54:17 - Deploy to itch.io
01:57:15 - Outro
---
CONNECT WITH ME
Subscribe for more Unity tutorials: [https://www.youtube.com/@midniteoilsoftware](https://www.youtube.com/@midniteoilsoftware)
Support me by buying me a coffee: [https://ko-fi.com/gregorybradburn](https://ko-fi.com/gregorybradburn)
My Web Site: [http://midniteoilsoftware.com/](http://midniteoilsoftware.com/)
My itch.io Site: [https://midniteoilsoftware.itch.io/](https://midniteoilsoftware.itch.io/)
Twitter: [https://twitter.com/SoftwareOil](https://twitter.com/SoftwareOil)
---
Good Luck On Your Multiplayer Game Development Journey! 🎮🚀
---
#madewithunity #unitytutorial #unity2d #multiplayer #netcodeforgameobjects #unitygamingservices #tutorials #indiegamedev #indiedev
Home
/
Indie Game Developers/
Midnite Oil Software LLC/
Let's Create a Multiplayer Space War Game in Unity



