What Will I Learn?
Create multiplayer games and connect Unity created applications over a network.
Understand the different roles played by servers and clients in a network.
Be able to use remote procedure calls to synchronise player-character states in a networked game.
Requirements
Before starting this course students should have experience using Unity and writing C# code.
Description
This course will take you from the very basics of creating a simple client/server game environment using Unity's UNET system right through to creating and managing a lobby system. The topics covered are the ones that most frequently appear on the forums and that many people struggle in understanding. The course is practical with many step-by-step exercises. Students of this course will learn about the UNET Network Manager and how to use message sending to synchronise rigid body movement and animation of player characters. Overriding the Network Manager will also be covered to allow developers to create customised network functionality such as changing player characters while playing, shooting projectiles and managing player characteristics such as health.
Topics covered include:
network configurations
IP addresses
hosting
remote procedure calls
syncing rigidbody movement
syncing animation states
playing with different player-characters
changing player-characters while connected
setting up the Unity Lobby asset
syncing variable values across scenes
setting up Unity Match Making services
Who is the target audience?
Someone familiar with Unity and C# who would like to learn about networking and creating multiplayer games.
我将学到什么?
创建多人游戏并通过网络连接Unity创建的应用程序。
理解服务器和客户端在网络中所扮演的不同角色。
可以使用远程过程调用同步在网络游戏玩家角色状态。
要求
在开始这门课程的学生应该使用统一写C代码的经验#。
描述
本课程将带你从最基础的创建一个简单的客户端/服务器的游戏环境中使用统一的校园网系统到创建和管理一个大厅系统。所涉及的主题是那些经常出现在论坛上,许多人在理解中挣扎的话题。这门课很实用,有许多循序渐进的练习。本课程的学生将学习关于校园网网络管理和如何使用消息发送同步刚体运动和游戏角色动画。此外,还将覆盖网络管理器,允许开发人员创建定制的网络功能,如在播放时改变玩家角色、拍摄射弹和管理玩家特征,如健康。
涵盖的主题包括:
网络配置
IP地址
群众或部队的集合
远程过程调用
同步刚体运动
同步动画状态
玩不同的角色
连接时改变玩家角色
设立统一游说资产
同步变量值在场景
建立统一的比赛制作服务
谁是目标观众?
有人熟悉的团结和C #谁想学习网络和创建多人游戏。