Make a 2D Platformer Character with State Machines in Unity

Author Alex
2021-09-17
1 228
2
Make a 2D Platformer Character with State Machines in Unity

Udemy - Make a 2D Platformer Character with State Machines in Unity

Making Movement, Controls, Animations, and Collisions for Dynamic Rigidbody 2D Characters

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

Download links:
Comments
  1. VR2023 August 9 20:55
    Hitfile links please.
    1. Sonya2023 August 10 19:40
      Fixed - try now
Add comment
Add comment:
Your name:
Your E-Mail:
  • bowtiesmilelaughingblushsmileyrelaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypensive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
I am not robot: *
Archive
«    December 2024    »
MonTueWedThuFriSatSun
 1
2345678
9101112131415
16171819202122
23242526272829
3031 
October 2023 (1)
May 2023 (1)
February 2023 (518)
January 2023 (532)
December 2022 (515)
November 2022 (504)
Vote
Upgrade to Premium