The Complete Guide to C# Unity Programming – Build an RPG

MF4kzzdcgNiCZWdI0Ccxvc3a84bmdYgS

本课程采用现代游戏开发 (Unity 2021) 中使用的最新内容和最新技术制作。

学习任何东西的最好方法就是以一种非常有趣的方式来学习,这就是本课程的来源。如果您想了解您看到的所有这些令人难以置信的游戏是如何制作的,那么没有比这门课程更好的起点了。我们确保本课程拥有您从初学者(即使编码经验为零)并慢慢带您到中级所需的一切。

我选择本课程的主要项目是 2D RPG,因为它不仅拥有我们可以实施和学习的大量游戏开发概念库,而且因为它非常简单(特别是如果您是初学者)深入研究和开始您的游戏开发之旅。

本课程中的所有内容都经过精心制作、审查和重新制作,旨在为您提供最佳体验并尽可能最大限度地提高您的学习效率。因此,您不仅会在学习过程中度过愉快的时光,还可以通过离开本课程并在您的武器库中使用大量工具继续在游戏开发的狂野西部之旅中获得最大的收益。

第 1 部分:简介

我们将从下载 Unity 和 Visual Studio 开始。安装它们并确保它们正常工作。然后我们将在 C# 中创建我们的第一个代码并习惯 Unity 界面。最后,我们将讨论我们游戏的游戏设计以及从头开始创建游戏需要什么

第 2 部分:设置播放器

在本节中,我们将开始学习什么是精灵表以及如何设置它们。我们将学习 Unity 中的排序层。我们将研究碰撞器和刚体并将它们添加到我们的游戏对象中,看看它是如何开始受到物理影响的。我们将学习如何为我们的精灵设置动画。我们甚至会了解哪些混合树将极大地帮助我们降低制作动画的难度

第 3 部分:场景管理

在本节中,我们将了解 Unity 中的场景管理器,它允许我们在游戏中创建多个关卡并在它们之间进行转换。此外,我们将学习一种非常棘手的方法来确保我们在穿越我们的世界时始终到达正确的位置

第 4 部分:Tilemaps 和 Cinemachine

本节是上一节的演变。我们从仅将地图添加为图像转变为使用您可以自行下载和自定义的图块集来绘制它们。我们还了解了 Cinemachine,这是 Unity 中一个非常强大且现代的工具

第 5 部分:游戏中的对话

什么游戏没有对话系统。这是我们向游戏中添加新 NPC 的地方。创建 UI 通过引入一种与我们在上一节中创建的周围世界进行交互的方式,了解数组并为我们的游戏增添更多活力

第 6 部分:球员数据

还有什么游戏,尤其是 RPG 没有每个角色的统计数据?我们有力量、法力、健康等。我们引入了升级系统和 XP。我们学习 C# 中的循环,它是一种非常强大的编程语言工具,将真正为您打下基础

第 7 部分:菜单系统

本节充满艺术创作,这意味着您可以完全自由地创作自己的作品。这是因为我们没有创造任何新的东西,但我们把迄今为止我们考虑到的所有信息都放在我们的玩家面前,并确保他可以轻松访问这些信息

第 8 部分:库存系统

这也是一个可以被称为 ADVANCED C# 的部分,因为我们将我们的编码提升到了一个新的水平。我们了解了 C# 中另一个强大的工具列表。我们学习如何拿起物品。使用高级 C# 工具将它们添加到我们的库存中,并确保所有这些都顺利进行,尤其是当我们也丢弃这些项目时。最后我们在我们的角色上使用这些项目

第 9 部分:商店和货币系统

现在我们拿起物品,我们想卖掉它们……为了钱!谁不喜欢钱?我们将引入一个货币体系,从而基本上创建一个经济体。我们创建了一个商店,里面有一个店主,我们将能够使用我们必须购买的钱和我们必须出售的物品与他进行交易

第 10 部分:任务系统

这是游戏中我最喜欢的部分。因为我们开始添加任务。这将我们的游戏从普通游戏转变为 RPG。我们可以获得任务,完成任务,获得物品奖励。有些物品只有在我们完成某种任务后才会出现。这个真的很好玩

第 11 节:保存和加载

我们必须不丢失我们在 RPG 中的进度,这就是我们引入保存和加载系统的原因。我们将跟踪我们的玩家位置和他所在的世界。我们将以非常复杂的方式跟踪我们拥有的物品。以及其他所有需要保存和加载的内容

第 12 节:音乐和音效

是时候为这款游戏注入一些活力,添加音效和音乐。现在我们的游戏从静态到动态。我们将添加背景音乐和音效。分别到每个级别和每个交互

第 13 节:主菜单

每个游戏都必须有一个主菜单。但它也需要一个动态的主菜单。我们创建了一个带有背景的简单菜单。但最重要的部分是我们让玩家能够从上次保存继续或开始新游戏的方式

第 14 节:设置战斗系统

到目前为止,我想说我们已经有了一场相当不错的比赛。但现在是真正交易的时候了。我们不再四处走动并与 NPC 交谈,现在是 WAR 的时候了。我们正在创建一个战斗系统。这是您和我将创建的最大脚本的第一步。所以带上你的思考帽并坐在你的座位上,这将是一段颠簸的旅程

第 15 节:敌人攻击系统

现在我们已经开始了与敌人的战斗。是时候让他们有能力攻击我们了。我们将选择攻击哪个敌人。他造成了多少伤害,我们甚至会在屏幕上显示它,看看当我们的玩家没有任何生命值时会发生什么

第 16 节:玩家攻击系统

现在轮到我们的球员保护自己了。我们将给予反击的能力。还有逃离战斗的能力。我们将使用各种攻击,例如普通斩击,使用不同类型的魔法以及在战斗中使用物品

第十七节 战斗系统结局

不幸的是,我的游戏开发伙伴们,我们的旅程到此结束了。我们处理死去的玩家。我们处理死去的战士。我们创建了一个胜利画面。屏幕上的游戏。我们给予奖励。我们以砰的一声结束本节和本课程!!通过创建 BOSS 战

您将在本课程中学到什么:

以简单的方式将 Visual Studio 与 Unity 结合使用

如何设置一个好的游戏开发环境

Unity Engine 以简单而全面的方式

通过创建游戏以最有趣的方式了解 C# 基础知识

使用玩家输入来控制我们游戏的行为

向游戏对象添加不同的组件

向游戏对象添加重力和其他力

让游戏对象在我们的游戏中相互交互

添加精灵表并将它们切片

创建图块资产

如何从我们的磁贴资产创建关卡

成为忍者问题解决者,学习如何逐步解决游戏开发和编码中的任何问题。

Genre: eLearning | MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz
Language: English | Size: 14.1 GB | Duration: 22h 36m

What you’ll learn
Aspiring Game Developers that don’t know where to start when it comes to creating games.
Learn the fundamentals of C#. Everything from variables, “if” statements and creating an object oriented structure. No prior programming experience necessary.
Become a professional programmer by learning “Version Control” a tool used by expert engineers. Not only in game development but in all programming projects
Transfer everything you learn from this course into any programming language you choose. Like JAVA, JavaScript, Python, C++ and other object oriented languages

Description
This course is made with the latest content and newest technics used in modern Game Development (Unity 2021)

The best way to learn anything is by doing it in a really fun way and this is where this course comes from. If you want to learn how all these incredible games you see are made there is no better place to start than this course. We made sure that this course has everything you need to take you from a beginner (even with zero codding experience) and slowly take you to intermediate level

I chose the main project in this course to be a 2D RPG because it not only has a vast library of game development concepts that we can implement and learn, but also because it’s very simple (especially if you are a beginner) to delve in and get started on your game development journey.

Everything in this course has been meticulously crafted, review and recrafted to provide you with the best experience possible and maximize your learning as much as possible. So not only will you have a great time learning you’ll also get the MOST BANG FOR YOUR BUCK by going away from this course with a lot of tools in your arsenal to continue you journey in the wild west of game development.

Section 1: Introduction

We’ll start off by downloading Unity and Visual studio. Installing them and making sure they work. We will then create our first code in C# and get used to Unity interface. Finally we’ll talk about the game design of our game and what it takes to start creating a game from scratch

Section 2: Setting Up Player

In this section we are going to start learning what sprite sheets are and how to set them up. We’ll learn what sorting layers are in Unity. We’ll look into colliders and RigidBodies and add them to our game objects and see how it starts getting affected by physics. we’ll learn how to animate our sprites. We’ll even understand what blending trees that will greatly help us reduce difficulty of animating

Section 3: Scene Management

In this section we will learn about the scene manager in Unity that will allow us to create multiple levels in our game and transition between them. Plus we’ll learn a very tricky way to making sure we always arrive in the right position when moving through our worlds

Section 4: Tilemaps & Cinemachine

This section is the evolution of the previous one. Where we move from just adding maps as images to painting them using tile sets that you can download and customize yourself. We also learn about Cinemachine which is a very powerful and modern tool in Unity

Section 5: Dialog In Game

What game doesn’t have a dialog system. This is where we add new NPC’s to our game. Create UI learn about arrays and add more life to our game by introducing a way to interact with the world around us that we created in the previous section

Section 6: Player Stats

Again what game, especially a RPG doesn’t have stats for every character? WE have strength, Mana, health etc.. and we introduce a leveling system and XP. We learn about loops in C# which is a very powerful tool in and programming language and will really build your foundations

Section 7: Menu System

This section is full of artistic creating which means you have the full liberty of creating your own. This is were we don’t create anything NEW but we put all the information that we’ve taking into account so far in front of our player and making sure he can access that info easily

Section 8: Inventory System

This is also a section that could have been called ADVANCED C# because we take our coding to the next level. We learn about Lists another powerful tool in C#. We learn how to pick up items. Add them to our inventory using the advanced C# tools and make sure that all of this works smoothly especially when we also discard those items. Finally we use those items on our characters

Section 9: Shop & Money Systems

Now that we pick up items, we want to sell them… for MONEY! who doesn’t like money? we will introduce a monetary system so basically create an economy. We create a shop with a shop keeper inside and we’ll be able to transact with him using the money we have to buy and the items we have to sell

Section 10: Questing System

This is my favorite part of the game. Because we start adding quests. And this turns our game from a normal game to and RPG. We can get quests, complete them, get rewarded with items. Some objects will only appear on after we complete some kind of quest. This one is really fun

Section 11: Save & Load

It’s imperative that we do not lose our progress in an RPG that’s why we introduce a Save and Load system. We will keep track of our player position and the world he was in. We will keep track of the items we have in a very sophisticated way. And every else also that needs to be saved and loaded

Section 12: Music & SFX

Time to breath some life into this game adding sound effects and Music. Now our game goes from static to dynamic. We will add background Music and SFX. To each level and each interaction respectively

Section 13: Main Menu

Every game HAS to have a main menu. But it also needs a dynamic main menu. We create a simple menu with a background. But the exiting part of this is the way we give the ability to our player to either continue from his last save or start a new game

Section 14: Setting Up Battle System

Until this point we’ve had a pretty decent game I would say. But now it’s time for the real deal. We are no longer walking around and talking to NPC’s it’s time for WAR. We are creating a battle system. This is the first step of one the biggest scripts that you and I will ever create. So strap your thinking caps on and hold down to your seats this is going to be a bumpy ride

Section 15: Enemy Attack System

Now that we’ve started a battle with enemies. Time to give them the ability to attack us. We will choose which enemy is attacking. How much damage he’s giving and we’ll even display it on screen and see what happens when our players don’t have any health left

Section 16: Player Attack System

Now it’s our players turn to defend themselves. We will give the ability to fight back. And also the ability to run away from the battle. We’ll use various attacks such as normal slashing, using different types of magic and on top of that using items during battle

Section 17: Battle System Ending

This is where our journey ends unfortunately my fellow game developers. We handle the dead players. We handle the dead battlers. We create a victory screen. A game over screen. We give our rewards. And we end this section and this course with a BANG!! by creating a BOSS fight

What You Will Learn In This Course:

Use Visual Studio with Unity in a simple way

How to set a good Game Development environment

Unity Engine are in a simple and comprehensive way

The Basics of C# in the most fun ways possible by creating a game

Use player input to control the behavior of our game

Add different component to game objects

Add gravity and other forces to game objects

Make game objects interact with each other in our game

Add sprite sheets and slice them up

Create Tile assets

How to create levels from our tile assets

Become a ninja problem solver and learn how to go step by step to solve any problem in Game Development and coding

Create animations

Who this course is for:
Aspiring Game Developers that don’t know where to start when it comes to creating games
Young programmers who want to learn the basics of coding in a really fun way by creating their own games using Unity’s very simple engine
Someone who’s looking to create a 2D Role Playing Game and doesn’t know how to do it easily and efficiently

资源下载此资源下载价格为30元(VIP免费),请先
本站资源仅限VIP会员下载点击购买VIP会员

原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/17447.html

赞 (0)
steven的头像steven
上一篇 2021年8月24日
下一篇 2021年8月24日

相关推荐

发表回复

登录后才能评论
分享本页
返回顶部