2D Platformer Game Development Crash Course for Unity 2022

th_0PgvAWAPZYgpm5nNscJM36TkLYleuxSE

从头开始使用 Unity GameDev 创建平台游戏角色和游戏机制

发布时间 11/2022
创建者 Chris Tutorials
MP4 | 视频:h264、1280×720 | 音频:AAC,44.1 KHz,2 通道
类型:在线学习 | 语言:英语 | 持续时间:26 个讲座(7 小时 30 米)| 大小:5.2 GB

你会学到什么

  • 如何通过地面和空中挥剑连击以及远程弓箭攻击打造平台游戏玩家
  • 用基本的敌人 AI 制造地面和空中的敌人
  • 使用 tileset 和 tilemap 工具构建游戏关卡
  • 使用 InputSystem 包和 UnityEvents 设置玩家输入
  • 了解动画状态机并使用 AnimationStateBehaviours 控制复杂角色
  • 创建一个健康拾取项目来让你的玩家活着

要求

我建议为项目使用 Unity 2022.1.20f 以避免使用不同的编辑器版本的问题

您应该了解如何编程以理解基本概念。这门课程代码量很大。所有代码都在屏幕上实时完成,因此您可以在需要时直接复制。

描述

了解如何在 Unity 2022 中创建 2D 平台游戏。本课程向您展示如何在横向卷轴平台游戏中构建玩家和敌人角色以进行移动和战斗。当我们为玩家和敌人角色构建完整的动画状态机时,大部分课程都致力于理解动画师的统一。与状态和转换并存的是 StateMachineBehaviour 脚本,可让您在进入或离开状态时为角色排队更改和效果。

例如,当您想要在键盘上按下跳跃动作并进入跳跃状态时使角色跳跃时,这非常有用。为了让玩家输入顺畅,我们使用新的 InputSystem 将键绑定设置为动作,并响应通过 UnityEvents 触发的那些动作。为了使游戏更加完整,我们使用 Cinemachine 跟随摄像机、视差背景、健康拾取、声音和 tilesets 来继续构建我们的演示游戏。许多脚本被有意设计为可重复使用,例如 Damageable 脚本,它可以让任何角色在触发事件时受到伤害或被治愈。

课程中提供了包含所有源 文件 的最终课程 项目,供您在自己的任何项目中使用 或参考!

  • 玩家控制器、运动和物理
  • 玩家和敌人角色的动画状态机
  • 对玩家和敌方角色造成伤害
  • 使用 Tilemaps 和 Tilesets 构建游戏关卡
  • 基本的敌人 AI 模式
  • 远程攻击
  • 空袭
  • 组合攻击
  • 用于触发事件更改的 AnimationStateBehaviours
  • 治疗健康皮卡
  • 音乐与声音
  • 如何导出游戏
  • 电影机跟随相机
  • 用于处理玩家输入的输入系统操作和 UnityEvents
  • 浮动伤害文本
  • 和更多…

本课程适合谁

希望制作 2D、平台游戏、像素艺术或 Unity 引擎游戏的有抱负的游戏开发者

Unity GameDev from Scratch to Create Platformer Characters and Game Mechanics

Published 11/2022
Created by Chris Tutorials
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 26 Lectures ( 7h 30m ) | Size: 5.2 GB

What you’ll learn

  • How to Create a Platformer Player with Ground & Air Sword Swing Combos and a Ranged Bow Attack
  • Make ground and air enemies with basic enemy AI
  • Build a game level with tileset and tilemap tools
  • Setup up player input with the InputSystem package and UnityEvents
  • Learn about animation state machines and using AnimationStateBehaviours to control complex characters
  • Create a health pickup item to keep your player alive

Requirements

I recommend using Unity 2022.1.20f for the project to avoid problems from have a different editor version

You should have some knowledge of how to program to understand basic concepts. This course is code heavy. All code is done live on screen so you can copy directly when needed.

Description

Learn how to create a 2D platformer game inside of Unity 2022. This course shows you how to build player and enemy characters for movement and combat within a side scrolling platformer game. Much of the course is dedicated to understanding Animators in unity as we build out full animation state machines for both the player and enemy characters. To go along side the states and transitions are StateMachineBehaviour scripts which let you queue up changes and effects for your characters when entering or leaving states.

For instance, this is very helpful when you want to make a character jump upon entering a jump state when the jump action is pressed on your keyboard. To make player input go smoothly, we use the new InputSystem to set keybinds to actions and respond to those actions triggering through UnityEvents. To make the game more complete, we make use of Cinemachine follow camera, parallax background, health pickups, sound, and tilesets to continue building out our demo game. Many of the scripts are intentionally designed to be reusable like the Damageable script which lets any character take damage or be healed on triggering events.

The final course project with all source files are provided in the course for you to use or reference in any of your own projects!

  • Player Controller, Movement and Physics
  • Animation State Machines for Players and Enemy Characters
  • Dealing Damage to Player and Enemy Characters
  • Working with Tilemaps and Tilesets to Build Game Levels
  • Basic Enemy AI Patterns
  • Ranged Attacks
  • Aerial Attacks
  • Combo Attacks
  • AnimationStateBehaviours for triggering changes on events
  • Healing Health Pickups
  • Music & Sound
  • How to Export a Game
  • Cinemachine Follow Camera
  • Input System Actions and UnityEvents for handling player input
  • Floating damage text
  • And more…

Who this course is for

Aspiring game developers
Looking to make a 2D, Platformer, Pixel Art, or Unity Engine Game

资源下载此资源仅限VIP下载,请先
本站资源仅限VIP会员下载点击购买VIP会员

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

赞 (0)
steven的头像steven
上一篇 2022年11月19日
下一篇 2022年11月19日

相关推荐

发表回复

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