|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/unity-multiplayer-create-and-host-dedicated-game-server/
课程评论:没有评论
**课程名称:Unity多人游戏:创建和托管专用游戏服务器** **课程概述:** 本课程旨在填补Unity多人游戏开发,特别是创建和托管专用游戏服务器方面的信息鸿沟。讲师分享了其在探索此主题时遇到的挑战,并提供了一个结构化的学习路径,帮助学生奠定在线多人游戏开发的基础。 **课程内容要点:** 1. **基础客户端-服务器通信:** 使用Unity3D、.NET 6 和 LiteNetLib 库建立最基础的客户端-服务器通信。 2. **强类型通信和数据包处理:** 实现数据包的序列化和反序列化,采用强类型C#结构体,并将数据包处理逻辑分离到不同的包处理器中。 3. **核心游戏场景:** 重点开发实现玩家身份验证和注册的“登录”场景,以及展示排行榜、玩家状态和总人数的“大厅”场景。 4. **用户交互与反馈:** 在登录场景中,处理用户输入验证和提供加载动画等视觉反馈;在大厅场景中,实现玩家列表的动态更新。 5. **匹配系统:** 允许玩家注册进入匹配池,并提供“寻找对手”按钮来寻找匹配的玩家。 6. **游戏场景实现:** 匹配成功后,将玩家引导至实际的游戏场景,在本课程中是经典的“井字棋”游戏。 7. **游戏逻辑和用户体验:** 实现流畅的游戏动画,处理服务器和客户端的各种边界情况,并支持游戏结束后“再玩一局”的请求和接受/拒绝功能。 8. **云端部署:** 教授如何将创建好的游戏服务器部署到云服务提供商,并从客户端进行连接。 9. **潜在的扩展内容:** 根据学生需求,未来可能会添加额外的奖励章节。 **课程目标人群:** * 对创建自定义专用游戏服务器感兴趣的开发者。 * 希望通过低级网络编程学习多人游戏开发的学员。 * 对Unity3D和.NET有基本了解,并渴望深入学习在线多人游戏开发的人。 **课程前提/要求:** * 对Unity3D和.NET有基本理解。 * 拥有学习在线多人游戏开发的强烈愿望。 * **注意:** 本课程不适合完全的编程新手,不涵盖软件安装和C#基础知识。但讲师相信,即使是初学者也能通过循序渐进的指导来学习。 **讲师声明:** 讲师坦承这是其在Udemy上的第一门课程,展示技巧可能不完美,但保证课程内容具有重要的学习价值。
I will be completely honest with you.In the past, I have been struggling for months to find good information on internet on how to create and host real dedicated game server. There is hardly any well structured information on this topic. Now that I have a decent understanding on the topic I've decided to share it with you. I really hope this course will help you lay the foundation on your journey in the world of online multiplayer games.Here is what you should expect in the course:1. In the first section we are creating very minimal setup of our client-server communication using Unity3D,.NET 6 and the networking library LiteNetLib.2. After we are done with the proof of concept, or as a like to call it "walking-skeleton" project, we will continue by laying the foundation of a strongly typed client to server communication. We will implement packet serialization and deserialization and will make it so the logic that handles different packets is separate in different packet handlers and it will use strongly typed C# structs.3. Once the networking layer is done, we will work on two core scenes that are essential for any multiplayer game. Login and Lobby scenes.4. In the login scene, we will allow the players to identify themselves and register in our server. We will handle user input validation and we will give the user visual feedback in the form of loading animation.5. In the lobby scene we will create a sorted list of the top 10 players and will show their statuses (online or offline). We will also show the current total players count on the server. In addition to that we will update the list on all clients when a new player joins or an existing one turns offline.6. After we are done with that, we will enable the players to register in our matchmaking pool and search for opponents by pressing the "Find Opponent" button.7. Once a match is found, we will redirect the players to the actual game scene, where they will be able to play the classic game of Tic Tac Toe.8. We will implement beautiful animations and handle corner cases on both server and client-side.9. After one game session is complete we will allow the players to request to play again and then of course give them the ability to accept or reject the offer.10. And last but not least, once we are ready with the game client and server, we will deploy our server to a cloud provider and will connect to it from the client.11. If there is interest in the course I will expand it with additional bonus sections, depending on the needs of the students.Since this is my first course in Udemy, my presentation skills are far from perfect and I apologize for that, but I still believe that there is valuable information that you can benefit from. I really hope you enjoy it.Are there any course requirements or prerequisites?Basic understanding of Unity3D and.NETA passion and desire to learn more about how to create online multiplayer game.Who this course is for:This course is intended for anyone that is interested on creating a custom dedicated server using low-level networking. The course itself is not for complete beginners as do not cover very basic concepts like for example: How to install software or the very basics of C# programming. But I still believe that even if you are beginner you will be able to follow up, because the course is basically a step-by-step guide.