How to Import a 2D Character Sprite Sheet and Use in a GameObject in Unity (2021)

Поделиться
HTML-код
  • Опубликовано: 20 июн 2024
  • Simple guide to bringing in 2d art assets, breaking up sprite sheets into individual frames, placing animation frames into animations as Unity understands it, and adding a couple necessary components for 2d game characters.
    Example Character Used rvros.itch.io/pixel-art-anima...
    Make a 2D Platformer Character with State Machines in Unity 2020
    skl.sh/3lpWPQL
    ◢◤◣◥ Chris Recommends ◢◤◣◥
    Skillshare for Online Video Courses ►► www.skillshare.com/r/user/chr...
    ProtonVPN for Internet Privacy ►►go.getproton.me/SHDO
    ◢◤◣◥ See My Full Software Courses ◢◤◣◥
    christutorials.teachable.com
    www.udemy.com/user/chris-nava...
    www.skillshare.com/r/user/chr...
    ➣ Follow Me On
    RUclips ►► / darkskeletontuts
    Odysee ►► odysee.com/$/invite/@ChrisTut...
    Bitchute ►►www.bitchute.com/channel/hU2e...
    Pocketnet ►► pocketnet.app/christutorials
    Minds ►►www.minds.com/register?referr...
    Gab.ai ►► gab.ai/ChrisTutorials
    Music ►►
    Too Cool by Kevin MacLeod
    Link: incompetech.filmmusic.io/song...
    License: filmmusic.io/standard-license
    Timestamps:
    0:00 What to Expect
    0:13 Extracting Files
    0:56 Add Sprite Art to Unity
    1:56 Creating Character Game Object
    2:28 Image Settings for Pixel Art Spritesheet
    4:40 Adding Sprite to Game Object
    6:17 Setting Up Animations
    8:39 Adding Move, Attack, Hurt, and Death Animations
    11:02 Creating a Prefab for the Character
    11:35 Animator Window Next Steps
    12:46 Adding Rigidbody to Character
    13:48 Adding Collision Shape
    14:53 Creating a 'Floor' & and Testing Gravity
    17:12 Video Wrapup & Next Steps
  • ХоббиХобби

Комментарии • 82

  • @JasonRobards2
    @JasonRobards2 Год назад +16

    Excellent tutorial. Clear, concise and a good tempo for the intended skill level.

  • @cube5915
    @cube5915 2 года назад +4

    I liked how you explained the animations with sprite import too loved it

  • @itzaikohere2857
    @itzaikohere2857 Год назад

    i've literally been looking for a tutorial like this for so long, it's so satisfying to know i've finally found it.

  • @raploky
    @raploky Год назад +3

    Smooth and clear tutorial! Thanks for nicely done work

  • @SuperDutchrutter
    @SuperDutchrutter Год назад +1

    Super helpful, straight to the task at hand. Thank you.

  • @adammccraw7379
    @adammccraw7379 Год назад +5

    This is one of the most straight forward and clearly explained tutorials I've found. Thank you for making this so easy.

  • @LoveOverEgo
    @LoveOverEgo Год назад +2

    Wow this tutorial was excellent! Helped me understand so much in such a bit of time. Definitely subbing and checking out the rest of your vids.

  • @RafaelCosta-mk9bn
    @RafaelCosta-mk9bn 3 месяца назад

    been looking for a decent tutorial for a while. Definitely saved me many hours of searching. Thank you!

  • @potato9998
    @potato9998 2 года назад +2

    You need more subscribers, I was looking all night for a tutorial like this (I mean the animation and stuff)

  • @1NewUser1
    @1NewUser1 Год назад +2

    Thank you! I had a weird animation, but thanks to you I've solved the problem

  • @Commonwealthgoose
    @Commonwealthgoose Год назад +1

    Incredibly helpful! Thank you a ton for this video!

  • @akx_edits3374
    @akx_edits3374 2 года назад +7

    Exactly what I needed, omg thank you so much. Literally had no one teach me and this is perfect knowledge to use for my asignments. Of course, the teachers at my college didn't know jack. THANKS A LOT

    • @akx_edits3374
      @akx_edits3374 2 года назад

      Hey, why not use polygon collider instead of box and capsule

  • @Senayoshy
    @Senayoshy 2 года назад +1

    absolutely perfect and just what i needed, thank you!

  • @karaknight5346
    @karaknight5346 Год назад +1

    This is super helpful and detailed, thank you.

  • @slevinstayshere
    @slevinstayshere 2 года назад +3

    Thank you for this! A lot of other tutorials work with template assets and jump over this simple basic steps and finally someone explains it well (:

  • @argentumstaar
    @argentumstaar 2 года назад +8

    This is absolutely beautiful, just what I needed. Thank you very much! :)

  • @bobekd3288
    @bobekd3288 2 года назад

    thank you so much, i couldn't find anywhere how to transfer the character, and i was already thinking i would have to do it all over again. Even though I am Polish, I thank you.

  • @AlqueMeteor
    @AlqueMeteor 25 дней назад

    Very Useful and straight to the point, Thank you!

  • @emanuelbettini1014
    @emanuelbettini1014 3 года назад +2

    Excelente video, muy útil. Muchas gracias por subirlo :D !!

  • @ehluzion
    @ehluzion Год назад

    Thank you, this was really well explained and very helpful!

  • @nathancook8452
    @nathancook8452 2 года назад

    Yes, thank you, you taught me tips that were not in my online class.

  • @sangamrai9
    @sangamrai9 Год назад

    thanks sir for this simple yet effective content !

  • @ashh4550
    @ashh4550 7 месяцев назад

    amazing and clear tutorial thank you so much!

  • @jackkyle8414
    @jackkyle8414 2 года назад

    This helped me a lot, thank you for this video!

  • @melimelon5368
    @melimelon5368 2 года назад +2

    Thank you thank you thank you thank you I just started learn unity and omg I can finally make more progress than staring at a screen for hours lol

  • @Spooderman6247
    @Spooderman6247 7 месяцев назад

    most detailed totorial i can find ty

  • @wickheadthered
    @wickheadthered 2 года назад

    very complete, very clear sir!

  • @OpKingDimond
    @OpKingDimond Год назад

    Nicely done and well explained. You just got a sub.

  • @jfblm
    @jfblm 2 месяца назад

    Thank you for the detailed tutorial! :D

  • @missoo7128
    @missoo7128 7 месяцев назад

    Your Tutorial is Super Helpful , Good Channel, Thank you !❤

  • @head-lag
    @head-lag 4 месяца назад

    thanks man, great tutorial

  • @brokenmusic5912
    @brokenmusic5912 Год назад

    Thanks. Very good explanation

  • @madollamike
    @madollamike Год назад

    Amazing content, keep it coming!

  • @marzi.7875
    @marzi.7875 Год назад

    this was a lot of help, tysm!

  • @user-cc8id9kq7d
    @user-cc8id9kq7d Месяц назад

    Thank you so SO much for this.

  • @umutbeedir
    @umutbeedir 4 месяца назад

    Thank you so much for learning I did it

  • @Morbidmobius
    @Morbidmobius Год назад

    Still helping a year after the fact. Thank you for the vid!

  • @helloghoul
    @helloghoul 2 года назад

    Nice! This helped a lot

  • @nothingsushere
    @nothingsushere 2 года назад +1

    I like the effort this is a very cool channel

  • @Labyrnthdom
    @Labyrnthdom 2 года назад

    Yep his tutorials are great.

  • @Coffee_Bubblee
    @Coffee_Bubblee 2 года назад

    Omg such a nice tutorial

  • @xenrik5756
    @xenrik5756 2 года назад +8

    very helpful video this saved me from my literal hours more of stressing out

    • @rodeotcd
      @rodeotcd 9 месяцев назад +2

      Gd players are everywhere nowadays 😭

    • @xenrik5756
      @xenrik5756 9 месяцев назад +1

      Indeed they are 😅@@rodeotcd

    • @rodeotcd
      @rodeotcd 9 месяцев назад +2

      @@xenrik5756 dam I replied two years later but you still replied, respecc 💪

    • @xenrik5756
      @xenrik5756 9 месяцев назад +1

      always here unfortunately @@rodeotcd 👍

    • @rodeotcd
      @rodeotcd 9 месяцев назад +2

      @@xenrik5756 yes unfortunately💀

  • @EthanReadsHisBooks
    @EthanReadsHisBooks Год назад

    Super helpful.

  • @gige7131
    @gige7131 2 года назад

    really helpful tnks

  • @AlexSaiko0
    @AlexSaiko0 2 года назад +1

    And imagine you have to actualize the sprite with some new animations(more or some redone). Is it posible to not lose all the trimming and animations you have already done?

  • @user-iz3vj7we1b
    @user-iz3vj7we1b Год назад

    amazing

  • @domyididev2622
    @domyididev2622 2 года назад

    Thank you

  • @hemagami8150
    @hemagami8150 29 дней назад

    This looks dope! But, can it work with Canvas renderer images? That's where I wanted :(

  • @EsmeraldaZuniga
    @EsmeraldaZuniga 2 года назад +1

    thank you for your video very good explanation.
    but i have a question...
    what is the most easiest and efective way to make a sprite sheet? will photoshop be my best option?

    • @Eresor
      @Eresor Год назад +1

      If you're still looking for an answer
      Aseprite is an amazing tool for pixelart, and it will easily make spritesheets out of your animation, so I would reccommend that. Costs a little bit of money, but worth it

  • @silent-ninja837
    @silent-ninja837 Год назад

    what if you have different sprite sheets for each animation (idle, run, jump etc.)?

  • @HolyCowFromIndia
    @HolyCowFromIndia 6 месяцев назад

    Hello, it may be a stupid question, but when I click on the sprite "import settings" does not open, I can only see the sprite renderer and transform sections. 2:25 And your videos are amazing:)

  • @noobpenguin5710
    @noobpenguin5710 2 года назад +2

    Hey there .. thnx for the video :))
    I have a question though :$$ .. when I drag my sprite from the scenes folder to the sprite renderer .. unity doesn't allow it, the mouse shape changes to "not allowed shape"

    • @noobpenguin5710
      @noobpenguin5710 2 года назад +2

      Oh i just had to change texture type to sprite x) .. sorry, once a noob always a noob xD

  • @skelliebeeper5693
    @skelliebeeper5693 2 года назад

    Fantastic!
    It's insane that the Unity tutorial for this in Learning is so outdated as to be worthless in 2022.

  • @arandombomb5639
    @arandombomb5639 Год назад

    wait why do sometimes i can play the animation on the animation tab and it will stop me from doing the drop down

  • @ASCIO-Studio
    @ASCIO-Studio Год назад +1

    Thanks you thanks you! * 1000000 ++

  • @ethanpete2356
    @ethanpete2356 22 дня назад

    Sonic CD Maker HERE WE COME

  • @SubzeroBlack68
    @SubzeroBlack68 20 дней назад

    Instead of spreading out my frames in the Animation Timeline. (Since they were going to fast)
    In my animation clip I just changed the Samples from 60 to 15... Is that bad?

  • @S3R43o3
    @S3R43o3 2 года назад

    oh well year thanks like posts before. if english is not ur main lang its hard to understand sometimes =D thank u for the visualisation

  • @Omnivoid22
    @Omnivoid22 Год назад

    So basically I can do what fighter factory does in unity? cool

  • @alihemo132
    @alihemo132 5 месяцев назад

    the background music sound like idk the intro of something if you know what i mean

  • @Gilbert477
    @Gilbert477 Год назад

    hello do you have a code this?

  • @jeffersonmarvel5189
    @jeffersonmarvel5189 3 месяца назад

    on animation my character want move,idk what happend about this moment 8:32

  • @hbkaze
    @hbkaze 2 месяца назад

    Why is my character not playing the animation when i click on the preview play button?

    • @hbkaze
      @hbkaze 2 месяца назад

      I picked "animation" instead of "animator" haha

  • @ThePigLord
    @ThePigLord 2 года назад

    9:05 lol

  • @pringleguy
    @pringleguy Год назад

    7:39 whenever I try to grab all the frames and drop it into animation, it doesn't allow me to

    • @pringleguy
      @pringleguy Год назад

      Nevermind, it works

    • @quoipi
      @quoipi Год назад

      @@pringleguy PLEASE for the love of GOD don't write "Nevermind, it works". Instead, EXPLAIN what went wrong so people who have the same issue can solve it.

    • @pringleguy
      @pringleguy Год назад

      @@quoipi I would have but it just randomly worked after I refreshed the project so idk how it worked

    • @xat___a8664
      @xat___a8664 9 месяцев назад +1

      What worked for me is selecting slime game object in hierarchy and than dragging the sprite into animation window.

  • @ty88
    @ty88 Год назад

    wish you didn't cut at 16:02 ...

  • @Qu4ntvm
    @Qu4ntvm 2 года назад +1

    :D

  • @user-jx1to9kw6e
    @user-jx1to9kw6e 3 месяца назад +1

    I don't need unity any more

  • @halfbakedproductions7887
    @halfbakedproductions7887 Год назад

    Unity's official documentation and tutorials are frankly complete crap. Most of what I and others have learned comes from third-party content like this.