
说明
本课程将向您展示如何获取动画精灵角色并在 Unity 引擎中使用它来设置一个完全可玩的动画玩家角色 GameObject。在本系列中,我们将利用 unity animator 组件和状态机让我们的角色在正确的时间从一个动画(如空闲、奔跑、跳跃和跳墙)过渡到下一个动画。我们还将介绍如何设置角色移动脚本以移动玩家的刚体。最后,您应该拥有一个功能强大的 2d 平台游戏角色,该角色具有干净的状态机设置和用于控制每个状态的良好分离的状态机行为(或子状态机,当您想一次将一个脚本应用于多个状态时!)
创建一个带有移动脚本的 2d 平台游戏角色,用于在您的关卡中奔跑和跳跃。
特别适用于想要在 Unity 引擎中构建第一个可控角色的初学者。
基于精灵的动画设置。如何创建动画剪辑
在课程中,我们将设置并进行跑步、跳跃、双人跳、滑墙和从滑墙跳下。
如果您将来需要制作攻击状态、破折号、幻灯片等,则可以应用相同的基本原则。
使用 Unity 状态机系统。
转换、状态行为脚本和子状态机
在获取玩家输入并为刚体角色分配力时如何与动画师交谈
如何创建瓷砖贴图并设置与地面和墙壁的碰撞
让状态保存特定于该状态的代码以分离任务。
您将学到:
使用动态刚体物理制作完全可移动的 2d 平台游戏角色
将 spritesheet 转换为与 Unity 引擎兼容的 2d 动画序列
学习用于编写控件、状态和物理交互的 C# 编码基础知识
探索适用于初学者游戏开发的 Unity 引擎主题
要求
一般的编程知识是有帮助的,但不是必需的。Unity 脚本是用 C# 编写的
下载并安装您选择的 Unity 游戏引擎和脚本编辑器。Visual Studio 是标准配置,可以在安装过程中轻松安装在 Unity 旁边。
Making Movement, Controls, Animations, and Collisions for Dynamic Rigidbody 2D Characters
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English + srt | Duration: 10 lectures (2h 6m) | Size: 1.54 GB
What you’ll learn:
Make a fully movable 2d platformer character using dynamic rigidbody physics
Turn a spritesheet into 2d animation sequences compatible with the Unity engine
Study C# coding basics for writing controls, states, and physics interactions
Explore Unity engine topics for beginners game development
Requirements
General programming knowledge is helpful but not required. Unity scripts are written in C#
Download and install the Unity game engine and a script editor of your choice. Visual studio is the standard and can be easily installed along side Unity during the installer.
Description
This course will show you how to take an animated sprite character and use it in Unity engine to setup a fully playable and animated player character GameObject. In this series, we will utilize the unity animator component & state machines to allow our character to transition from one animation like idle, run, jump, and wall jump to the next at the correct time. We will also cover how to setup character movement scripts for moving the player’s rigidbody. By the end you should have a functioning 2d platformer character with a clean state machine setup and nicely separated state machine behaviours for controlling each state (or substate machine when you want to apply one script to multiple states at once!)
Create a 2d platformer character with movement scripts for running and jumping around your level.
Especially meant for beginners who want to build their first controllable characters inside of the Unity engine.
Sprite based animation setup. How to create animation clips
In the course we’ll set up and make running, jumping, double jumping, wall sliding, and jumping off of a wall slide.
Same basic principles can apply if you need to make attack states, dashes, slides, or the like in the future.
Using the Unity State Machine System.
Transitions, State Behaviour Scripts, and Substate Machines
How to talk to and from the animator when getting player input and assigning forces to your Rigidbody character
How to Create Tilemaps and setup collisions with the ground and walls
Let states hold code that are specific to that state to separate tasks.
Who this course is for
Anyone interested in making 2D, platformer, or pixel art games or just games in general
People who are new to the Unity engine or game development
Those looking for a quick and fun coding project

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