MAKING RUN, IDLE & JUMP 2D GAME ANIMATIONS – UNITY TUTORIAL



In this game animation tutorial I show you how to make an idle, run and jump animation for a 2D platformer player character using Unity !

We’ll also learn how to make animation transitions between the character’s various states using the animator !

——————————————————————————————————–

SUPPORT ME via PATREON :

——————————————————————————————————–

GAME ANIMATION BASICS :

PLATFORMER CONTROLLER :

ANIMATION TRANSITIONS :

——————————————————————————————————–

FOLLOW ME on TWITTER :

JOIN the BTP DISCORD SERVER :

Nguồn: https://bneimenashe.org/

Xem thêm bài viết khác: https://bneimenashe.org/game/

post_author; ?>

38 thoughts on “MAKING RUN, IDLE & JUMP 2D GAME ANIMATIONS – UNITY TUTORIAL”

  1. There is still one animation missing. Falling animation. How can I transition to the falling animation when the character starts falling? Is there a way to track the characters Y velocity or something? I have been trying to figure it out unsuccesfully :/

    Reply
  2. Question: I'm making a snowman animation and I want it to melt overtime how do I get that going on the same time as the other animation? Is it just as easy as making it my default animation with the 3 levels of melting? Thanks for taking the time to respond.

    Reply
  3. My character won’t move after doing the animation! What do i do? Btw your videos are extremely helpful 😃

    Reply
  4. Amazing Tutorial! The animation is great and I love your art style. One thing though, My player is locked into a single position. I have no clue why! Hasn't done it before I added the animations. It could just be me being dumb. I have tried our discord but didn't get a response.

    Reply
  5. i downloaded an asset pack and it has a double jump animation,
    i followed blackthornprods tutorial on how to do a double jump but i have no idea how to do the animation.
    can anyone help please?

    Reply
  6. someone can help me ? when i play my game with the animations he cant move but when i play without he moveme someone help me to fix this?

    Reply
  7. You made me understand in 15 mins what I couldn't wrap my head around for over 15 weeks… Really great tutorial!

    Reply
  8. Love your videos. You inspire us. I hope one day i will make a good one… This is what i learned (not much i know): https://play.google.com/store/apps/details?id=com.Game.VirusSmasher

    Reply
  9. I'm stuck I tried this way
    if(rb.velocity.x == 0)

    {

    anime.SetBool("GroundedNow", false);

    }

    else

    {

    anime.SetBool("GroundedNow", true);

    }
    and i did this using float which is moveSpeed in the Animator channel.

    anime.SetFloat("moveSpeed", Mathf.Abs(rb.velocity.x));

    however both times the animation keeps looping from idle to run animation, any help will be very helpful cheers.

    Reply
  10. i am planing to star a game dev channel so can anyone give some advise please and black thorn prod if you are reading this it would be awesome if you could give me some advise 🙂

    Reply
  11. hey i know this video was from a year ago but i keep getting this error saying the name "moveinput" does not exist in the current context, any solutions would help

    Reply
  12. when I do the animation my guy won’t move and when I turn on apply root motion my guy just floats up but he can still move

    Reply
  13. For some reason the pivot points wouldn't work, yes I did adjust the settings and adjust the pivot points in sprite

    Reply
  14. I watched your video on how to make jumps better but the movement code in that is different than this video

    Reply
  15. I have a problem, i want to make animations into a enemy with pathfinding and i dont now where to add the codes which you added in the moving script
    Does i have to put it in the pathfinding script?

    Reply
  16. The script doesn't work for me it plays the idle animation but when i move it still plays the idle animation. How to fix this?

    Reply
  17. If i wanted for example someone to throw his spear, is it possible to hide the spear mid frame and duplicate the spear as its own object?

    Reply

Leave a Comment

1, 'include' => $prevPost->ID ); $prevPost = get_posts($args); foreach ($prevPost as $post) { setup_postdata($post); ?> ">
Previous

1, 'include' => $nextPost->ID ); $nextPost = get_posts($args); foreach ($nextPost as $post) { setup_postdata($post); ?> ">

Next