Rogue-Like In C# Programing & Unity 2D Game Development

所在平台: Udemy

课程主页: https://www.udemy.com/course/masterclass-in-c-programing-unity-2d-game-development/

课程评论:没有评论

第一个写评论        关注课程

课程简介

本课程《C# 编程与 Unity 2D 游戏开发:Roguelike》旨在教授您现代游戏开发中的最新技术,通过创造一个有趣的 2D Roguelike 游戏项目,带您从零基础入门到中级水平。 **课程内容概览:** 1. **基础入门:** 熟悉 Unity 和 Visual Studio 的安装与使用,学习 C# 编程基础,了解游戏设计概念。 2. **世界搭建:** 掌握 Sprite Sheets、Sorting Layers、Colliders、Rigidbodies,学习 Sprite 动画和 Blending Trees。 3. **射击机制:** 实现玩家子弹发射、自动射击、弹道预判、弹道特效,学习 Prefabs 和 Instantiation。 4. **敌人设置:** 创建可移动的敌人,为其添加动画,学习方法、数组和 Coroutine。 5. **房间创建:** 使用 Tilemaps 构建游戏地图,学习 Cinemachine 动态摄像机,掌握 foreach 循环和 Lists。 6. **关卡流程:** 学习 Scene Manager 实现关卡切换,并实现精确的玩家位置传递。 7. **可破坏环境:** 实现冲刺(Dashing)机制,添加无敌和破坏环境的龙卷风效果。 8. **高级射击:** 实现多武器系统,每种武器拥有独特的射击风格、速度和伤害,并加入摄像机震动效果。 9. **生命值系统:** 创建玩家生命值系统和可视化血条,学习 Canvas UI 更新,实现死亡画面,并加入触碰伤害机制(如尖刺)。 10. **拾取物:** 实现武器拾取、金币系统、生命恢复道具和随机武器宝箱。 11. **音效与音乐:** 为游戏添加背景音乐和各种交互音效,提升游戏沉浸感。 12. **多种敌人类型:** 设计并实现多种敌人 AI,包括近战攻击敌人。 13. **商店与货币系统:** 建立游戏经济体系,创建商店和NPC,实现道具交易。 14. **游戏菜单:** 制作动态主菜单、胜利界面、死亡重试和暂停/恢复机制,支持存档读取。 15. **Boss 战:** 打造 Boss 战斗,利用状态机(State Machine)实现 Boss 的多阶段攻击和行为转换。 16. **房间生成:** (奖励内容)实现随机房间生成,包括随机敌人生成器、需要清空敌人才能打开的门,以及双向关卡选择。 **课程收获:** * 熟练使用 Visual Studio 和 Unity 进行游戏开发。 * 掌握 Unity 引擎的核心功能和 C# 编程基础。 * 能够独立设计和实现 2D Roguelike 游戏的核心机制。 * 培养解决游戏开发和编程问题的能力。 * 学习如何添加动画、音效、UI 等元素,打造完整的游戏体验。

课程评论(0条)

课程详情

This course is made with the latest content and newest technics used in modern Game DevelopmentThe 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 levelI chose the main project in this course to be a 2D Roguelike 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 value 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: IntroductionWe'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 scratchSection 2: Setting Up Our WorldIn 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 animatingSection 3: Setting Up Shooting MechanicsIn this section we will be creating our players bullets, firing then in the direction out mouse is pointing, having a counter to create automatic firing and add impact effects to those bullets. While doing all of that we'll be learning about prefabs and instantiation and how to manipulate the world of our game to make it look much nicerSection 4: Setting Up EnemiesThis section completed the previous one. We create our shooting mechanics but now we need something to actually shoot at. We'll be setting up our enemies and moving them towards the player. We'll delve deeper to animations by adding the to our enemy and the use methods, arrays and something called a Coroutine that will take us deep into C#Section 5: Creating Rooms (Tile map)Up to this point we used a pre-created image to represent the map. Those days are over and it's time for us to create our own map. We'll be introduced to tilemaps in Unity, add various colliders to it and learn about a mechanic in Unity that few know which is the Cinemachine. We'll also have our fair share of C# when we learn foreach loops, and Lists Section 6: Level FlowIn 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 worldsSection 7: Destructible EnvironmentThis is One of the most fun section in the course. Every roguelike has a dashing mechanic and we are going to have ours as well. We'll add a tornado mechanic but not only will it make us invincible and a bit fast it will also destroy any "destructible" game object in our pathSection 8: Advanced Shooting (weapons system)What's better than having a weapons to shoot with? Having a lot of them and being able to choose between them on the go, we'll be adding multiple weapons to our game. Each with their own using shooting style, speed and damage. With various bullets and firing rate for each. Not only that, we'll also make our camera shake whenever we shoot to add more weight to our game Section 9: Health SystemIn this section we'll be adding a player health system. We also visualize it by create a health bar that we can clearly see on a Canvas. We'll learn how we can update that health bar through script and add a cool death screen every time our player suffers a death. Finally we'll be adding spikes to the ground, once the player gets on them they will get hurt and lose a bit of that healthSection 10: PickupsIn this section we'll delve into pickups. We'll be picking up weapons from the ground. Coins with which we'll be able to buy money in shops, health packs that once hurt we can go and pickup and we'll also add a chest that we can open and get a weapons from. A random weapons this is where our C# skills will be begin to come to fruition Section 11: Music & SFXTime 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 respectivelySection 12: Multiple Enemy Types (Some should have melee attacks)What's more fun that having 1 enemy that can kill you? Having 4 different type of enemies that can kill you. We'll have the wanderer, the patroller, the scared enemy and the angry skeletal enemy. This section will be the foundation of our enemy AI and will open the doors for the way we'll implement our boss in the upcoming sectionSection 13: Shop & Money SystemNow 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 sellSection 14: Creating MenusEvery 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. We'll also be adding a Victory screen, a way to restart the level after death and a Pause/Resume mechanic Section 15: Boss Battles (Advanced Unity State Machine)It's time for the really fun part here. We'll be create a boss fight fight. But not just any boss fight, this boss fight will be using a state machine. Which is also at the same time out animator. We'll be suing it to transition the boss from state to state, and in each one he will have a different set of attacks Bonus Section 16: Room Generation (Advanced C# Object Oriented Programming)We come to our final section where we will be creating multiple rooms each with it's fun little tweak on the game mechanics, we'll have a random enemy spawner. We'll have doors that are closed and that upon only once we destroy all the enemies in our desired level. And we will have an option to choose between 2 levels to go to after we kill everyone that's in hereWhat You Will Learn In This Course:Use Visual Studio with Unity in a simple wayHow to set a good Game Development environmentUnity Engine are in a simple and comprehensive wayThe Basics of C# in the most fun ways possible by creating a gameUse player input to control the behavior of our gameAdd different component to game objectsAdd gravity and other forces to game objectsMake game objects interact with each other in our gameAdd sprite sheets and slice them upCreate Tile assetsHow to create levels from our tile assetsBecome a ninja problem solver and learn how to go step by step to solve any problem in Game Development and codingCreate animations

课程标签

0人关注该课程

主题相关的课程