ANIMATE 2D CHARACTERS in Unity

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น •

  • @Brackeys
    @Brackeys  4 ปีที่แล้ว +367

    Hey everyone!
    To those of you who can't find the package: Unity has moved the "Show Preview Packages".
    You can now find it under Edit -> Project Settings -> Package Manager -> Enable Preview Packages.
    If you check that box, you should see preview packages in the Package Manager! :-)
    Stay awesome!

    • @southpawdevelopment
      @southpawdevelopment 4 ปีที่แล้ว +24

      For me, it wasn't under Edit, it is under the 'Advanced' tab in the package manager

    • @user-akuma_k1
      @user-akuma_k1 4 ปีที่แล้ว

      Thanks bro

    • @realXTRAP
      @realXTRAP 4 ปีที่แล้ว

      TX

    • @queenanshika7584
      @queenanshika7584 4 ปีที่แล้ว +1

      connect.unity.com/mg/2d/reach-your-home

    • @RootsterAnon
      @RootsterAnon 4 ปีที่แล้ว

      Hi, does this apply to Canvas? Can this work inside Canvas in some panel?

  • @GKnight3553
    @GKnight3553 2 ปีที่แล้ว +238

    For the most recent users, know that 2D IK is now simply combined with 2D animation for the latest unity builds.

    • @AlfredoAVA
      @AlfredoAVA 2 ปีที่แล้ว

      I haven't upgraded yet so this is good to know, thanks :) Do you happen to know if IK animations made with an older Unity build with the 2D IK package translate okay when upgrading the project to a newer Unity build with 2D IK built-in?

    • @lythox-bdd
      @lythox-bdd 2 ปีที่แล้ว +2

      oh thank you

    • @shortreviews6004
      @shortreviews6004 2 ปีที่แล้ว +3

      Oh my, thanks so much I've been looking about this for like an hour now

    • @Michel-Brix
      @Michel-Brix 2 ปีที่แล้ว

      thanks men!

    • @Lactosax
      @Lactosax 2 ปีที่แล้ว

      Thanks boss

  • @potatoboy9999
    @potatoboy9999 6 ปีที่แล้ว +1449

    I couldn't find the packages, but after poking around for a while I figured out that in the package manager window on the top you need to click advanced then show preview packages. Hope this helps

    • @twoshotted
      @twoshotted 6 ปีที่แล้ว +56

      dude you're a life saver!

    • @SpokenBroke
      @SpokenBroke 6 ปีที่แล้ว +14

      you rock

    • @paigejerin
      @paigejerin 5 ปีที่แล้ว +11

      thank you. This helped a lot.

    • @hrishikeshgarud7177
      @hrishikeshgarud7177 5 ปีที่แล้ว +9

      Thanks a lot!

    • @metrixkita
      @metrixkita 5 ปีที่แล้ว +5

      Thanks mate.

  • @lozD83
    @lozD83 5 ปีที่แล้ว +257

    It's probably worth pointing out the bug fix in the current version of 2D IK (Version 1.0.8 preview)... the Effector and Target fields in the inspector are labelled the wrong way around in the version that this video uses. The new version will show the top property as "Effector" where as, in this video, it's called "Target". Thus, the property underneath should be "Target" but will be "Effector" in this video. Bones won't light up green if you get these the wrong way around. Hope this helps ppl :)

    • @fs0c1ety
      @fs0c1ety 5 ปีที่แล้ว +5

      Either way, I'm unable to light up the green?

    • @WalkerSurvivor
      @WalkerSurvivor 5 ปีที่แล้ว +2

      thank you!

    • @alsiva_hohma
      @alsiva_hohma 5 ปีที่แล้ว +1

      Thx much man

    • @Mistbu
      @Mistbu 5 ปีที่แล้ว

      Needed this, thanks bud!

    • @oskar3472
      @oskar3472 5 ปีที่แล้ว +5

      I wasted 30 min with this. Thanks.

  • @AlfredoAVA
    @AlfredoAVA 4 ปีที่แล้ว +88

    You can also attach Rigidbody2D and Joint2D components to the solvers to have bones be affected by physics! Useful for when you want things like long hair, capes, etc. to move naturally with character movement instead of animating them manually :)

    • @dragontear1638
      @dragontear1638 2 ปีที่แล้ว

      For an absolute newbie asking; is that a on and off thing, or can it be adjusted to be % affected by physics?

    • @AlfredoAVA
      @AlfredoAVA 2 ปีที่แล้ว +1

      @@dragontear1638 I could be wrong but from my own experience, it's an on/off thing. Attempting to animate any bones with Rigidbodies on them disables the effects of physics, since the animation then dictates the bone's movement/position. I'm still using an older version of Unity right now though, so I'm unsure if there are newer tools to rectify that.

    • @dragontear1638
      @dragontear1638 2 ปีที่แล้ว

      @@AlfredoAVA Awh, that's sad to hear. I do remember seeing a dev blog video for Prismatica in how they have both animations and physics for 3D characters, similar to Exanima.
      I'm slowly trying my hand at a fully top-down perspective, so have the character's shoulders, arms and head shift a little due to motions rather than fixed animation would be awesome.
      Maybe it's not related, but I think another Prismatica dev blog noted 'targeted head tracking', so there's something to that too.
      Thank you for your swift reply!

    • @AlfredoAVA
      @AlfredoAVA 2 ปีที่แล้ว

      @@dragontear1638 I'm sure there's a way to do it out there somewhere. In my current project (a 2D Action RPG) I want to give the enemies ragdoll physics when stunned, and I currently plan on doing that by swapping out an animated rig with a purely IK + Rigidbody one. I'll have to see how that works in practice, or if I can find a better solution similar to what you're looking for as well :)
      And you're very welcome! Best of luck on your project!

  • @33_sorin
    @33_sorin 4 ปีที่แล้ว +69

    From what I've read, apparently in newer versions of Unity 'Effector' and 'Target' got switched, so instead of dragging the LimbTarget empty game objects inside Target then clicking on Create Effector, you must drag them inside Effector and Create Target instead.

    • @sirf4ce
      @sirf4ce 4 ปีที่แล้ว +6

      *IMPORTANT UPDATE!*
      Thank you so much! I've never seen a more helpful comment section in my entire fucking life! It's insane!!!

    • @olliet733
      @olliet733 4 ปีที่แล้ว +2

      Cheers mate, saved my life!

    • @crescentsong
      @crescentsong 4 ปีที่แล้ว +2

      Thank you!

    • @duckman1824
      @duckman1824 2 ปีที่แล้ว

      So you create an effector in the "New Limbsolver 2D" and then create a target and put it in the end of a bone chain? Cause thats what im trying to do but it doesnt work

  • @harrisonology700
    @harrisonology700 4 ปีที่แล้ว +84

    For anyone that is having trouble finding the 2D IK package, to find this package click on advanced in the top right corner of the package manager and then click on show preview package's, the 2D IK package should then show up. Hope this helps!

    • @paraskunwar5081
      @paraskunwar5081 4 ปีที่แล้ว +3

      Just in time. what a lifesaver

    • @Habash3000
      @Habash3000 4 ปีที่แล้ว +1

      Thank you!

    • @mhx4453
      @mhx4453 4 ปีที่แล้ว +1

      Thank you so much

    • @harrisonology700
      @harrisonology700 4 ปีที่แล้ว +1

      @@Yveshecox2002 I'm not sure, I don't think it really matters all that much though, I have the free version and it looks identical. I believe the pay versions are more about how much you earn from anything you publish or sell using unity. Hope this helps!

    • @orgax
      @orgax 4 ปีที่แล้ว +2

      I had error "Unable ro add package" "invalid dependencies or related test package"

  • @CouchFerretmakesGames
    @CouchFerretmakesGames 6 ปีที่แล้ว +202

    *Wow,* this is what I was waiting for! Thanks! *Finally,* I don't need to use *third party* assets for rigged 2D animation, and this looks sooo much *easier!*

    • @CouchFerretmakesGames
      @CouchFerretmakesGames 6 ปีที่แล้ว +5

      @A Person *bold* letters for *life* !

    • @CodingWithUnity
      @CodingWithUnity 6 ปีที่แล้ว +4

      @@olivier8c301 i doubt he actually got it working, he just likes the video

    • @theladcalledizzy9883
      @theladcalledizzy9883 6 ปีที่แล้ว +5

      *I* love *using* bold *letters for* no *real* reason

    • @charlescortes873
      @charlescortes873 6 ปีที่แล้ว +2

      Imo try out something like Dragon or Any Portrait.
      Edit: wow...I was really, really wrong. Unity stepped up their game in a really good way. I'd still suggest trying out those tools if your really serious and would like morphing but dang.....this is pretty nice.

    • @WhoAppeared
      @WhoAppeared ปีที่แล้ว

      *what* is *people's* problem *with* bold *letters*

  • @wengemurphy
    @wengemurphy 5 ปีที่แล้ว +443

    So, it absolutely must be PSB, not PSD, despite the tool being called "PSD importer". PSB is just PSD for images over 2GB, but, unfortunately, free tools like The GIMP can't write this format. However, I found that simply renaming a PSD to PSB will trick this importer tool into importing a PSD correctly.
    If you're not getting the "character rig" option at all it *MUST* be PSB! Rename it if you have to.

    • @speedrob
      @speedrob 5 ปีที่แล้ว +11

      Thanks bud

    • @phildos247
      @phildos247 5 ปีที่แล้ว +4

      Beast

    • @SH-pu6wf
      @SH-pu6wf 5 ปีที่แล้ว +7

      Meaning you have to rename the file.psd into file.psb?

    • @lesczu45
      @lesczu45 5 ปีที่แล้ว +4

      Wait, just renaming the file from .psd to .psb will do the job (character rig and all)?

    • @seifmustafa2004
      @seifmustafa2004 5 ปีที่แล้ว +3

      @@lesczu45 yeah

  • @Kuyosaki
    @Kuyosaki 5 ปีที่แล้ว +5

    in case someone gets confused about the limb solvers, the current version has a switcharoo, effector is target and vice versa so what you are essentially doing in the setting up limbs part for inverse kinematics is:
    create empty object, rename them effector (previously target as seen in video) with the respectable limb, drag them onto the limb solver to the effector line and then press the "create target" button in the bottom of Limb Solver 2D window

    • @metadespair
      @metadespair 5 ปีที่แล้ว

      thanks!! this made it work for me!

    • @ozollass
      @ozollass 4 ปีที่แล้ว

      Finally, there is no info about it in documentation!! Thanks!!

    • @seaderwerks3046
      @seaderwerks3046 ปีที่แล้ว

      Thank you sir!

  • @FoxrosePettipaw
    @FoxrosePettipaw 5 ปีที่แล้ว +4

    LITERALLY A LIFE SAVER! I've tried program after program after program to find the one that fits my animation style best then I stumbled across this video and instantly knew this was the one! Thank you for your clear instructions - I was able to follow them exactly!

  • @ImmaSayKOOHWIP
    @ImmaSayKOOHWIP 5 ปีที่แล้ว +8

    I've wanted to get into game design for a few years now, but I have given up every time. I assumed designing and animating a sprite would be impossible for me. Thank you for this very simple tutorial.

  • @Xick
    @Xick 4 ปีที่แล้ว +33

    FYI: In Unity 2019.3.5f1/2D Animation 3.1.1, there's no Reparent Bone button. Instead, the bone hierarchy in the Skinning Editor can be seen and manipulated by clicking the "Visibility" tab up by Revert and Apply.

    • @batyasf
      @batyasf 4 ปีที่แล้ว +1

      Thanks!

    • @flvz_
      @flvz_ 4 ปีที่แล้ว +1

      Super nice!

    • @kurenaigames5357
      @kurenaigames5357 4 ปีที่แล้ว

      good to know

  • @PuppeteerInt
    @PuppeteerInt 6 ปีที่แล้ว +489

    Brackeys using my art for a tutorial OMG!

    • @ZiaurRahmanAdvocate
      @ZiaurRahmanAdvocate 5 ปีที่แล้ว +11

      Can you do one C# coding for a flow free game

    • @deadmeat3376
      @deadmeat3376 4 ปีที่แล้ว +11

      Seems like he should have credited you...

    • @nikolai3468
      @nikolai3468 4 ปีที่แล้ว +28

      @@deadmeat3376 There is a link to the asset in the description.

    • @Koala019
      @Koala019 4 ปีที่แล้ว +2

      @@nikolai3468 didnt credit him tho

    • @MinaT
      @MinaT 4 ปีที่แล้ว +14

      @@Koala019 he did credit his asset in the description so yes but actually no

  • @KelechiApakama
    @KelechiApakama 5 ปีที่แล้ว +5

    This is actually a great tutorial. No keyboard shortcuts, clear explanations and alternative methods. Brilliant

  • @mauh_kat
    @mauh_kat 2 ปีที่แล้ว +1

    I Still come back to this channel everyday. I have no intention of stopping. You are truly missed for your ground breaking tutorials and cool merch. You made me install unity and I thank you for it. Lots of love Brackeys.

  • @arkozhs
    @arkozhs 6 ปีที่แล้ว +186

    for IK solver, when you put if button "create effector" didnt show up. put gameobject into effector then click "create target"

    • @msbreshine
      @msbreshine 5 ปีที่แล้ว +6

      Thank you thank you thank you

    • @HonorLone
      @HonorLone 5 ปีที่แล้ว +2

      That was absolutely my problem(unity 2018.3.11f1)
      Thanks

    • @skomakarna2684
      @skomakarna2684 5 ปีที่แล้ว

      thankz

    • @YongkangJR
      @YongkangJR 5 ปีที่แล้ว

      I tried this, the create target button lights up, the scene editor shows some yellow dots and red dotted lines, but after pressing create target, nothing turns green?
      Edit: oops my bad, I created the Target in the layers, was supposed to create the target under the bones, works fine now

    • @sheadex4786
      @sheadex4786 5 ปีที่แล้ว

      Well I have this problem that it connects the bones but in a weird way: I mean: the arm bones connect with the neck bones lmao
      help?

  • @lavosso6894
    @lavosso6894 3 ปีที่แล้ว +15

    2D animation versions 5.0.0+ have 2D IK included!

    • @SnowPeaGames
      @SnowPeaGames 2 ปีที่แล้ว +2

      God, Unity throws a hell of a shit fit if you don't realise this before importing packages. That'll teach me not to go straight to reading the comments.

  • @mrhandexists20
    @mrhandexists20 2 ปีที่แล้ว +9

    For people watching this around 2022 2d ik is part of 2d animation

  • @Scafidi616
    @Scafidi616 6 ปีที่แล้ว +2

    I'm impressed with the functions of unity, some task that are a little "time-consuming" now are much easier than ever

    • @ashifzaman1467
      @ashifzaman1467 6 ปีที่แล้ว +1

      Frame by frame animations are a pain in the ass. I have never made a beautiful looking game only because of animations. I suck at them very much.

  • @aryanahire2337
    @aryanahire2337 4 ปีที่แล้ว +16

    I thought it was a joke when he said "This video is sponsored bye Unity."

  • @kyarimaresuki
    @kyarimaresuki ปีที่แล้ว

    I watched tutorials on this topic last year and felt despair. Somehow, I missed this one. I wish I had seen it then. I feel very ready to try again. Thank you so much for the wonderfully clear video.

  • @lozD83
    @lozD83 5 ปีที่แล้ว +45

    IMPORTANT: For anyone who is having trouble locating the packages, you need to choose Advanced -> Show Preview Packages in the Package Manager. Looks like that bit was missed in the video.

    • @aumpalosa
      @aumpalosa 5 ปีที่แล้ว

      What if I tried that, and still can't see any of those packages :( ?

    • @lozD83
      @lozD83 5 ปีที่แล้ว

      @@aumpalosa What version of Unity are you running?

    • @lozD83
      @lozD83 5 ปีที่แล้ว

      Ensure that the drop-down on the top left of the packages window is set to "All packages" rather than "In Project" or "Built-in packages"

    • @noursabouny7500
      @noursabouny7500 5 ปีที่แล้ว

      ​@@lozD83 The latest. 2019.1.4

    • @noursabouny7500
      @noursabouny7500 5 ปีที่แล้ว

      And yeah, I tried everything! I even tried to install the 2D Game Kit.

  • @sincog2010
    @sincog2010 5 ปีที่แล้ว +1

    Unity sponsoring a channel which has 95% videos about unity to advertise unity. UNITY 100

  • @toreswe
    @toreswe 4 ปีที่แล้ว +3

    FYI they have switched the terminology of the IK Limb Solver: Target is now effector and effector is now target.

    • @anonymouse01927
      @anonymouse01927 4 ปีที่แล้ว

      Thank you so much! I was so confused!

  • @ashifzaman1467
    @ashifzaman1467 6 ปีที่แล้ว

    This will be a game changer for me. I can draw stuff pretty decently taking a lot of time, but drawing frame by frame animations take years to complete. But now I can already see me making cool stuff with this.

  • @NoelJasik
    @NoelJasik 6 ปีที่แล้ว +556

    Unity guide sponored by unity. It's like TH-cam video sponsored by youtube

    • @MaThMaTa1000
      @MaThMaTa1000 6 ปีที่แล้ว +38

      You know, there are actually TH-cam videos sponsored by Google/TH-cam

    • @BainesMkII
      @BainesMkII 6 ปีที่แล้ว +6

      Though the ad TH-cam added was the Intel one promoting Unreal Engine 4.

    • @Extrone
      @Extrone 6 ปีที่แล้ว +8

      BainesMkII I get unity ads when I watch Unreal tutorials 😅

    • @In-N-Out333
      @In-N-Out333 6 ปีที่แล้ว +10

      This isn't an official Unity video. Brackeys doesn't even have to make Unity videos if he doesn't want to. He can make Unreal videos.

    • @AlexM-xr4rc
      @AlexM-xr4rc 6 ปีที่แล้ว +3

      The video is great but there are a couple of things this 2D animation system is not good for:
      1. You can’t position the bones with a transform, you have to eyeball the bone and hope it looks good.
      2. (Big problem) Because the character counts as one sprite, you only have one layer order, thus if your player equips an item in their hand, it will either show entirely in front or back of the sprite.

  • @Bearbones
    @Bearbones 6 ปีที่แล้ว

    It's good to know Unity uses content creators to try to show us something they think is real cool.

  • @charlesthenouxr.5631
    @charlesthenouxr.5631 4 ปีที่แล้ว +5

    Note: With the IK In 2019 versions of Unity you need to follow the same process but creating a effector game object instead of a target game object and drag it to the effector box in the Limb Solver section, then the Create Effector button will be available.
    PS: Sorry if my english is not too good

    • @duckman1824
      @duckman1824 2 ปีที่แล้ว

      where do I put the effector in the Hierachy after I created it?

  • @thathurtabit
    @thathurtabit 5 ปีที่แล้ว

    At 12:50 when talking about Effectors and Targets, it seems in Unity 2019.2 (and maybe before) these names have been swapped, so when the video references Target, it means Effector and vice-versa.

  • @ryanpatrick1739
    @ryanpatrick1739 5 ปีที่แล้ว +33

    Can i change the image without changing the "skeleton"?

  • @CharizardChase
    @CharizardChase 4 ปีที่แล้ว +1

    For the few who may read this, 2D IK package is hidden under advanced packages. From the Package manager, click the settings button at the top right of the screen and select "Advanced project Settings" then "Enable Preview Packages"

  • @DonHart
    @DonHart 4 ปีที่แล้ว +12

    For those who are missing Reparent Bone option:
    "There should be a "Visibility" button on the top bar of the skinning editor which opens a hierarchy window for bones and sprites. You can try reparenting the bones from there"

    • @MasCikoy
      @MasCikoy 3 ปีที่แล้ว +1

      Thank you sir.

    • @aline.costa1
      @aline.costa1 3 ปีที่แล้ว +2

      Not every hero wears a cape

    • @corwinsoto7816
      @corwinsoto7816 3 ปีที่แล้ว

      thanks man

  • @normalguy5725
    @normalguy5725 5 ปีที่แล้ว

    My god,this video helped me a lot ,like i wanted to make a game but, when i wanted to animate it the hands just rotated like a wheel.Thank you so much BRACKEYS now i know why you are popular!!!

  • @ViBrentStudios
    @ViBrentStudios 3 ปีที่แล้ว +3

    For those of you as frustrated as I just was trying to find 2D IK, it is now built in to the 2D animation Package.

  • @DriitzzCabal
    @DriitzzCabal 6 ปีที่แล้ว +1

    After spending a couple more hours , it does work, but the process is tedious , you have to make an Image of the character in a single layer , create the bone and the weight for it , save drag & drop it on your scene, it will look like any other sprite renderer image , now add the component "Sprite Skin" , now add empty game objects to your sprite renderer as children , root bone -> torso -> head , root bone -> hips -> legs -> feet , torso -> shoulders -> arms -> hands, you will see the Sprite Skin has already made some bones for you , now it's just a matter of filling them where you want (Quick note i haven't labelled my bone name properly so i had to go thru each individual while having the sprite editor docked on another window so i could tell which was which)...

  • @Haydenhops
    @Haydenhops 4 ปีที่แล้ว +10

    9 minutes of watching and i just remembered that character is a triangle

  • @nickwalczak1288
    @nickwalczak1288 4 ปีที่แล้ว +2

    Just an FYI, the effector and target names has switched on the limb solver. Drag and drop in the opposite box as Brackeys did.

  • @DallinBackstrom
    @DallinBackstrom 5 ปีที่แล้ว +3

    Not sure if anyone else is having a similar issue, but when I am in the skinning editor, I can only apply bones individually to each section of the sprite (imported from a png). So this means, for example, bones on my body cannot interact with bones on my arm. The only solution I've found is to import it all as a single sprite instead of individually for each body part, but this causes issues with clipping that could be solved only with multi-sprite construction.

    • @gcpa7539
      @gcpa7539 2 ปีที่แล้ว

      did you find a better solution for this?

    • @pacote_se
      @pacote_se 2 ปีที่แล้ว

      create a selection that catains all the parts too, it should fix it

  • @Miaan15
    @Miaan15 6 ปีที่แล้ว

    This is reason why I love this channel, u always do something difference

  • @ozanyokuva6930
    @ozanyokuva6930 5 ปีที่แล้ว +10

    Here is a challenging question for you: How do you change the sprite of a character that is rigged without dealing with the all rigging process from the beginning. I am asking this because I have a character which is designed to be in single color but the beta testers says that the costume should be changeable . I think we all need this for in-game cosmetic effects. Thanks , in advance ...

    • @toesnub9676
      @toesnub9676 5 ปีที่แล้ว +1

      Ozan Yokuva did you ever find out how to do this?

    • @akeclipsee
      @akeclipsee 5 ปีที่แล้ว +2

      Ye, I also need to know, how to swap sprites without animating them again

    • @flordeluz7048
      @flordeluz7048 4 ปีที่แล้ว

      What was your solution?

    • @BlackHayateMX
      @BlackHayateMX 4 ปีที่แล้ว +1

      I haven't tried this yet BUT... if you notice, the game objects have a sprite renderer component... ( 10:34 ) try switching the sprite there. Note: try to keep the same size so the script doesn't go crazy

    • @ozanyokuva6930
      @ozanyokuva6930 4 ปีที่แล้ว

      Well If I speak the truth, I decided to quit 2d game development , swap to 3d with URP. The main reason is , it is much easier to design , has a better impact, and suprisingly much easier to sustain the performance as 2d physics engine is really bad. 3d is also not the greatest , but it atleast worth the effort. I made alot of prototypes since I wrote this comment, never went back to this one and never tried to find a solution. And I dont think I will ever try to make a 2d game again with unity.

  • @ComixConsumed
    @ComixConsumed 6 ปีที่แล้ว

    I was just looking for how to use the THE DAY BEFORE THIS VIDEO WAS RELEASED! thanks brackeys your a savior or time and frustration

  • @Rubys.rhythms
    @Rubys.rhythms 6 ปีที่แล้ว +3

    This was such an excellent tutorial. You really did a wonderful job explaining everything clearly. Thank you!

  • @trgamer3193
    @trgamer3193 5 ปีที่แล้ว +1

    GUYS IF YOU HAVE THE PROBLEMS ABOUT CREATE BONE RIGS AND BONE BUG PROBLEM
    - Just double click the sprite and then after create bone rigs
    - If you do but you can not see in Scene just add SpriteSkin.cs script to your sprite and enjoy

  • @titustavares6799
    @titustavares6799 3 ปีที่แล้ว

    getting Sponcered by Unity is the BEST!!

  • @theOrdinaryDev
    @theOrdinaryDev 4 ปีที่แล้ว +15

    i am importing through a png file. all body parts are displayed with space between them.
    So ho do i get the idle pose to aplly bones??

    • @riccardocafagna6816
      @riccardocafagna6816 4 ปีที่แล้ว +1

      I would like to know too... Just can't figure out how to do that

    • @theOrdinaryDev
      @theOrdinaryDev 4 ปีที่แล้ว +2

      I figured it out... Just export out your file with .PSB extension. And it will work

    • @riccardocafagna6816
      @riccardocafagna6816 4 ปีที่แล้ว +2

      @@theOrdinaryDev hum, so it can't be done only with a png file... Got it, thank you

  • @mietzekatze3926
    @mietzekatze3926 6 ปีที่แล้ว

    Unity is getting better and better!

  • @huckanz
    @huckanz 6 ปีที่แล้ว +3

    *IF YOU DO NOT FIND THE MENTIONED PACKAGES*:
    Inside the Package Manager, click on "Advanced"->"Show preview packages"
    A dialog will pop up. Click on "Ok" or "Accept" or whatever it says to confirm the operation, and install the packages you have missing.

  • @luchogonzalez6431
    @luchogonzalez6431 6 ปีที่แล้ว

    I was waiting for a tutorial like that for such a long time, i hate making individual sprites for each action and i didn't even know this tool, you're awesome

  • @DeimosesImpact
    @DeimosesImpact 3 ปีที่แล้ว +4

    2D IK package is now included in 2D animation by default

    • @kompoteg
      @kompoteg 3 ปีที่แล้ว

      Seems you're right. I've installed 2D IK package, but it conflicts with 2D Animation one.

  • @Gentleman_Hamilton
    @Gentleman_Hamilton 3 ปีที่แล้ว +2

    Guy who are watching this video and wondering where’s the 2D IK package gone...In unity version 2020.2 update 5.0.0 onwards,the 2D IK package was included in the 2Danimation package

  • @Chavesillustrations
    @Chavesillustrations 4 ปีที่แล้ว +14

    Hello, the option Reparent bone doesn't show on mine, I have the latest up to date 2020 version of Unity, any help? Thank you for the vid!!

    • @stilltree3189
      @stilltree3189 4 ปีที่แล้ว +1

      Same here. Did you find any solution to this? This looks like an essential tool to reorganize bones =/

    • @chriswilliams8107
      @chriswilliams8107 4 ปีที่แล้ว +3

      If you click on 'Visibility' in the top right of the window there is a 'Bone' tab in there. You can reparent via that. 👍🏻

    • @TheFakeMnim
      @TheFakeMnim 3 ปีที่แล้ว

      @@chriswilliams8107 thanks, dude!

    • @travelly_go
      @travelly_go 3 ปีที่แล้ว

      @@chriswilliams8107 wow! thanks!

  • @Memecoinsplanet
    @Memecoinsplanet 3 ปีที่แล้ว

    Is it only that just enjoys watching the videos without actually trying it out

  • @krum.d6447
    @krum.d6447 6 ปีที่แล้ว +43

    Please maka a video about ANIMATE 3D CHARACTERS.

    • @vilkaskettu8765
      @vilkaskettu8765 6 ปีที่แล้ว +3

      It's easy. Just look it up. It's hard first but becomes easier The longer you use it.

    • @vaishnav_mallya
      @vaishnav_mallya 6 ปีที่แล้ว +1

      Check out mixamo. Thank me later

    • @virtual_intel
      @virtual_intel 6 ปีที่แล้ว +4

      Look for Blender 3D animation tutorials. Blender is a free open source tool to help you learn 3D modeling and animation. Good luck!

    • @457Deniz457
      @457Deniz457 6 ปีที่แล้ว +2

      @@virtual_intel Well said :)

    • @kressckerl
      @kressckerl 6 ปีที่แล้ว +2

      @@vilkaskettu8765 wasnt that the definition of training ANY task?

  • @giggleghost3751
    @giggleghost3751 5 ปีที่แล้ว +2

    For those of your who have problem with "Crate Target" being dimmed.
    "Cullen
    3 months ago
    They switched Effector and Target for some reason. Drag LeftArmTarget to the Effector field instead of the Target field, then click "Create Target" and it works."

  • @NathanDiepeveen
    @NathanDiepeveen 6 ปีที่แล้ว +7

    Been waiting for thisss Thanks❤

  • @classifiedinformation8686
    @classifiedinformation8686 6 ปีที่แล้ว +1

    Been waiting for this video for so long!
    Thanks Brackey!

  • @zig8925
    @zig8925 6 ปีที่แล้ว +11

    I finially finished a beginners c# tutorial today!

    • @littlenarwhal3914
      @littlenarwhal3914 6 ปีที่แล้ว +1

      Good job! That's the first step to really learning programming in unity! Keep at it!

    • @zig8925
      @zig8925 6 ปีที่แล้ว +2

      @@littlenarwhal3914 Thanks!, Now i'm watching the "how to make a video game series" from brackeys and its going well!

  • @lozD83
    @lozD83 5 ปีที่แล้ว +1

    Nice one! This is the best walk-through I've seen so far - including Unity's videos. I don't understand how *anyone* could dislike this video >_>

    • @morpheusbloodeaglegamesoff6506
      @morpheusbloodeaglegamesoff6506 2 ปีที่แล้ว

      maybe some ppl dont fucking have photoshop

    • @lozD83
      @lozD83 2 ปีที่แล้ว

      @@morpheusbloodeaglegamesoff6506 Maybe those ppl have an alternative piece of software, such as something free, like GIMP. If they have neither, I don't see how it's the fault of this channel. Maybe those ppl need to stop expecting everything to be done for them these days and do some research themselves, develop their skills themselves. If those ppl can't do that, maybe they should move on and find something more suited to their skills.

    • @morpheusbloodeaglegamesoff6506
      @morpheusbloodeaglegamesoff6506 2 ปีที่แล้ว

      @@lozD83 Sorry i was all the night trying to find out How to use It
      I got Very tired and angry
      I didnt mean to offend
      Im Sorry for real

    • @morpheusbloodeaglegamesoff6506
      @morpheusbloodeaglegamesoff6506 2 ปีที่แล้ว

      @@lozD83 and btw i find out How to use with a png

  • @bluwith10us
    @bluwith10us 4 ปีที่แล้ว +8

    I may have missed something, but I made a sprite in a png form since I dont have photoshop and I cannot connect the parts of the character. How do I do this?

    • @Nupator
      @Nupator 4 ปีที่แล้ว +2

      @nupator on instagram

  • @fableisticstudio6861
    @fableisticstudio6861 6 ปีที่แล้ว +1

    2D Animation Phase 2 has not yet been released to the public. It is expected to be released in another week or so. Apparently Brackeys got an early release of the package. Phase 2 will support importing of multiple layers, and sprites, as well as a combined feature interface as is shown in this awesome video that Brackeys created for us.
    I got this information from a recording of a keynote at Unite LA, by Rus Scammell of Unity.

    • @dynamitegamesstudio3297
      @dynamitegamesstudio3297 6 ปีที่แล้ว

      found this comment of urs afterall..maybe by christmas they would launch???/

    • @tobey_maguire_
      @tobey_maguire_ 6 ปีที่แล้ว

      Will it be on free version as well?

  • @evandromachadopereira8484
    @evandromachadopereira8484 6 ปีที่แล้ว +14

    We need a gyroscope tutorial!!

  • @aoisenshi05
    @aoisenshi05 4 ปีที่แล้ว +2

    This is exactly what I was looking for! I'm now doing my own "party" animation.

  • @melipedes
    @melipedes 5 ปีที่แล้ว +8

    How come when he goes into 'skinning editor' at 2:40 the sprite is perfectly placed?

    • @dleiros
      @dleiros 5 ปีที่แล้ว

      Same issue ^^

    • @melipedes
      @melipedes 5 ปีที่แล้ว +5

      @@dleiros
      Hey, I figured it out!
      However I ended up using a PSB file instead of PNG.
      I separated my character into layers in Photoshop making sure everything was assembled correctly, once I was happy with it I saved it as a .psb file. Photoshop won't give you that option as default so you will have to manually write it in the name.
      Hope this helps you out. :)

    • @Spyder638
      @Spyder638 4 ปีที่แล้ว

      Has anyone figured this out without using PSB?

  • @AnatheStrange
    @AnatheStrange 6 ปีที่แล้ว

    These guys are the best. Life saving videos for digital arts college students!
    Thank you thank youuuu

  • @aegoni6176
    @aegoni6176 6 ปีที่แล้ว +5

    Now move onto the 3d characters!
    Great job making that dude, are we gonna see u making another 2d game based on that character?

  • @Shadowsphere1
    @Shadowsphere1 4 ปีที่แล้ว

    The IK solver in theory is really nice, but it has flaws that make it a pain in the butt to work with. For one, it reduces manual control over a bone in the case of the IK algorithm not moving the chain in a position you might want otherwise (maybe it isn't that bad with just basic 2 bone limbs, but I have a character with quadruped legs, and the IK works, but I need fine tuning for certain animation that the IK won't let me do). If you try to move a bone connecting to the end of the IK chain, it holds the start of the chain in place instead of moving it with the parent (basically anything attached to an IK ignores the parent bone's movement).
    Maybe that's why the package is just a preview and not shown in the package manager by default.

  • @BashSplash
    @BashSplash 5 ปีที่แล้ว +5

    "This is our root bone" 5:24

  • @jameshanveyakageekyraptors1118
    @jameshanveyakageekyraptors1118 6 ปีที่แล้ว +2

    for those of us who are cheapskates "e.g. me", unity now supports svg files so if you don't feel like dishing out the dough for photoshop you can just use inkscape svg files using vector graphics plugin from that same menu.
    Inkscape is free and can give similar results.

    • @jakkswitzo3852
      @jakkswitzo3852 5 ปีที่แล้ว

      Can someone explain how to do this?

    • @jameshanveyakageekyraptors1118
      @jameshanveyakageekyraptors1118 5 ปีที่แล้ว +1

      @@jakkswitzo3852 there is a menu in the top bar of unity if you have default user interface that contains a package manager, the package used for vector graphics should be included in the list of packages you can install

    • @jakkswitzo3852
      @jakkswitzo3852 5 ปีที่แล้ว

      @@jameshanveyakageekyraptors1118 thanks for the reply. I figured that out. The problem I may be having is how I'm saving the svg on inkscape. When I put it in my file it looks like a really low poly version. My circle belly was a triangle. And it still didn't work the way the psb file did in the video above.

  • @random_precision_software
    @random_precision_software 6 ปีที่แล้ว +8

    The neck bone is connected to the back bone, the back bone is connected to the etc etc

    • @Korn1holio
      @Korn1holio 6 ปีที่แล้ว

      Praise the lord!

  • @exh3ll
    @exh3ll 5 ปีที่แล้ว

    holy shit this is the best thing ever, i'm used to Blender and Unity3D but i wanted to make a 2D project for a change, and damn this is really the best thing ever, it's like Blender for 2D.

  • @ghostisbusy2170
    @ghostisbusy2170 ปีที่แล้ว +9

    how do i do it without photoshop

    • @PurooRoy
      @PurooRoy 8 หลายเดือนก่อน

      There's a website called Photopea.

    • @WatchMyVideoCovidTruthNoBiolab
      @WatchMyVideoCovidTruthNoBiolab 7 หลายเดือนก่อน

      Gimp

    • @Psychxwrld
      @Psychxwrld 4 หลายเดือนก่อน

      I also want to know

    • @speedrob
      @speedrob 4 หลายเดือนก่อน

      Gimp 👍

  • @michaelrichter6181
    @michaelrichter6181 6 ปีที่แล้ว

    Awesome level of video making and getting complicate information on point!
    Still funny how suprisingly different the themes of the videos are. "Lets make some 2D Game Stuff"
    "Lets make some 3D world generation"
    "Lets make some ... realy nothing that fits in"
    "Lets save the world ofc in unity"
    Love it!

  • @academyoffetishes162
    @academyoffetishes162 5 ปีที่แล้ว +3

    One thing this video is missing is how to include frame-by-frame animation with it. What if you wanted the cop to "blink"? How would you do that?

    • @mirkovujnovic6066
      @mirkovujnovic6066 5 ปีที่แล้ว

      You could always have additional graphics for the actual blink and you could just animate it's opacity to show (blink) when you want.

    • @Yumenoki99
      @Yumenoki99 3 ปีที่แล้ว +1

      In my case I used bones on my character but he was drawn with no face. I added the facial features as a separate animated game object as a child to the head bone! This way the character was walking using bone animation and blinking using frame by frame

  • @Max2000skill347
    @Max2000skill347 6 ปีที่แล้ว

    You are... I JUST NEEDED THAT TUTORIAL AND 1 DAY LATER I HAVE IT! HOW?! I love u mate

  • @arkozhs
    @arkozhs 6 ปีที่แล้ว +4

    the photoshop importer title said PSD but you MUST use .psb when saving from photoshop to use.

  • @mrmeep5989
    @mrmeep5989 3 ปีที่แล้ว

    This was in a friends music playlist, i though it was an ad for the longest time.

  • @darkvinter9922
    @darkvinter9922 5 ปีที่แล้ว +5

    Thank you!! Can you do this with SVGs in place of PNGs or does the vector importer not work with animation yet?

  • @Elislavkat
    @Elislavkat 6 ปีที่แล้ว

    Hey man, im russian, but i love to watching your videos. Really easy to understand

  • @mangapinches
    @mangapinches 5 ปีที่แล้ว +30

    Has anyone found out how to do this with a simple png? The pieces are separate and I can't get them back together in the Skinning Editor.

    • @sleepcrafters2926
      @sleepcrafters2926 5 ปีที่แล้ว +9

      Im stuck here as well

    • @sorinstrimbu3790
      @sorinstrimbu3790 5 ปีที่แล้ว +26

      You will need to set the sprite mode to single. Don't worry about bringing the pieces together in the skinning view, you'll be able to do that once you drag into the scene. Google getting-started-with-unitys-2d-animation-package, in this tutorial they use a single png.

    • @sleepcrafters2926
      @sleepcrafters2926 5 ปีที่แล้ว +5

      @@sorinstrimbu3790 thank you!

    • @sure5679
      @sure5679 5 ปีที่แล้ว +4

      @@sorinstrimbu3790 helped me a lot, thanks

    • @simplylogan93
      @simplylogan93 4 ปีที่แล้ว +17

      Here's what worked for me. This works in 2019.3.2f1:
      Export your png with its limbs detached so the skinning editor doesn't group everything together when creating geometry.
      Import the sprite into Unity, edit it in the sprite editor as a single sprite.
      Rig the bones. Don't worry if your sprite's limbs are still detached -- you can set everything up how you like afterward.
      Open the Visibility tab (left of Revert, Apply) to parent limbs how you see fit. Ie: On my sprite's leg, the thigh parents the shin and foot.
      Set depth depending on how you'd like things to be rendered.
      Generate geometry automatically. You can tweak it to your liking now or later on.
      Click Apply, then drag the sprite into the hierarchy. You might need to edit the sorting layer to see it.
      Add the SpriteSkin script to your character in the Inspector
      Click Create Bones to create your skeleton.
      Arrange your bones how you'd like! You can also reset the pose by clicking Reset Bind Pose in the SpriteSkin script.
      Hope this helped someone 👍

  • @SoaringSimulator
    @SoaringSimulator 6 ปีที่แล้ว

    Love this Bro keys. Now I'm not any more afraid to make 2D animations. Thx Unity!

  • @DriitzzCabal
    @DriitzzCabal 6 ปีที่แล้ว +3

    got me all hyped about trying out this new feature. would be able to skip the awful long process of blender , only to find out it's in beta for paid version...
    currently not even using beta version also free version, you can set bones , weight , but you can't separate the body parts by layers without the 2d psd importer, adding each layer individually you can't merge them together either.
    after spending 3 hours making a character with each individual layers for body parts in photoshop .. to find this out , OOF.

    • @aygtets
      @aygtets 6 ปีที่แล้ว

      Chiming in to say I had the same feeling. It's available now through Unity when you view the preview packages in the package manager. (With Unity 2018.30f2)

  • @Icewind007
    @Icewind007 2 ปีที่แล้ว +2

    Just to help people out here, check out Tarodev's "How to animate your Photoshop characters in Unity" for an updated tutorial with great presentation. Tarodev helped filled a great void of Unity tutorial when Brackeys went off youtube.

    • @mihaistamen3172
      @mihaistamen3172 2 ปีที่แล้ว

      Thanks bro, you helped me with this!

  • @Sangram1231
    @Sangram1231 5 ปีที่แล้ว +4

    Hi I have 1 question to you. I want know how we will swap skin & also how we will change expression in unity 2018 for 2D. please let me know as soon as possible. thank you

  • @zbotg
    @zbotg 4 ปีที่แล้ว

    Brackeys, I love your work, I am slowly learning unity with your tutorials! Thank you, I wanna be a game designer so your tutorials are great!

  • @PixelTB
    @PixelTB 5 ปีที่แล้ว +8

    So I made 2d character in photoshop and I made different layers for every part of the body, and when I drag the psd in unity it's not slicing.

    • @TheRaje3
      @TheRaje3 5 ปีที่แล้ว +2

      instead of saving the photoshop file as PSD save it as PSB and then import. Thats all

    • @murkygames1
      @murkygames1 5 ปีที่แล้ว

      @@TheRaje3 it doesn't want to open a PSB file

    • @TheRaje3
      @TheRaje3 5 ปีที่แล้ว

      @@murkygames1 I searched on the internet and that is what I found sorry :( worked for me.

    • @tejasmaloor2507
      @tejasmaloor2507 5 ปีที่แล้ว +1

      @@TheRaje3 Thanks A lot it worker for me!!!!

  • @walrusarf9046
    @walrusarf9046 4 ปีที่แล้ว

    Yessss this was my birthday wish!!! I didn’t know that unity could do this!!! Imma make anime things with this!!!

  • @theglozzom637
    @theglozzom637 5 ปีที่แล้ว +13

    I'm having some problems when I import the psd file there's no character rig tickbox

    • @batukan1014
      @batukan1014 5 ปีที่แล้ว +3

      importing as .psb format fixed the issue for my case

    • @wassimtahraoui9888
      @wassimtahraoui9888 4 ปีที่แล้ว

      it has to be PSB and not PSD. you can change the extension or you can export the photoshop file directly

  • @marcosvrosellli
    @marcosvrosellli 5 ปีที่แล้ว +1

    Could I modify each bone sprite? For example, if a character punches, it would be interesting that he could upgrade the arm sprites to mimic a twisting motion. It will be possible?

  • @FreedivingTrainer
    @FreedivingTrainer 5 ปีที่แล้ว +4

    How to customize character with this approach, for example change some part of character in runtime?

    • @akeclipsee
      @akeclipsee 5 ปีที่แล้ว

      I also need this!

  • @infernumex
    @infernumex 6 ปีที่แล้ว

    Using Unity version 2018.3.0f2, at 12:55 when you add the target to the first limb, I don't get the yellow dot, and the Create Effector button is greyed out (it actually still says Create Target). I've gone through the video twice and as far as I can tell I've followed your steps exactly. I additionally attempted to follow the steps on the Unity blog using the CCD solver, and encountered a similar error where I was unable to change the number of chains from zero, and also could not generate an effector.

    • @JopeliH
      @JopeliH 6 ปีที่แล้ว

      I have the same problem. Please help us!!

  • @0Bennyman
    @0Bennyman 6 ปีที่แล้ว +14

    Am I the only one who doesn't have PSD package available? Nor the options for rigs?
    Looking at his options he has development packages whereas mine only say Preview?
    (SOLUTION IN THE COMMENTS)

    • @n.kh.l
      @n.kh.l 6 ปีที่แล้ว +1

      yeah same i am looking around because you can import custom packages but i dont want to mess something up. If anyone has a solution that would be helpful

    • @0Bennyman
      @0Bennyman 6 ปีที่แล้ว

      I've looked into importing packages but currently I just get an error when trying to import downloaded packges that the file can't be found. They are all listed here however Animation isn't up to date and the PSD Importer isn't there either, however Triangle and Common are both there which are also missing in my Unity Package manager. download.packages.unity.com/.npm/
      I think it might be a Unity side thing, considering this video was Made on the 12th (See his Clock), so it could be that they removed it.

    • @vaishnav_mallya
      @vaishnav_mallya 6 ปีที่แล้ว

      Check package manager

    • @Brackeys
      @Brackeys  6 ปีที่แล้ว +9

      Hey, sorry you are having trouble! Unity is just now rolling this stuff out: My advice would be to make sure you are using the newest beta version - Otherwise might just need a bit of patience ;)

    • @n.kh.l
      @n.kh.l 6 ปีที่แล้ว

      It might be good to just wait a week or two, restart unity, check for updates, and come back to this video. The concept for this video is really cool though. I have heard you talk about his in previous videos and am eager to try it out. thanks

  • @Usav12
    @Usav12 2 ปีที่แล้ว

    You are the greatest, no debate.

  • @michaelpittino7680
    @michaelpittino7680 6 ปีที่แล้ว +29

    Hello, I use Unity 2018.3.0b12 but I only see "ver. 1.0.16-preview.2" for the "2D Animation" package and not the "2.0.0-preview.2" version you are using.
    And I don't see the "2D PSDImporter" or "2D Common" package at all.
    What's the point of this tutorial if the content you are using is not available for us yet?

    • @fableisticstudio6861
      @fableisticstudio6861 6 ปีที่แล้ว +3

      I have the same issue.

    • @CodingWithUnity
      @CodingWithUnity 6 ปีที่แล้ว

      same here

    • @obouchard2
      @obouchard2 6 ปีที่แล้ว +2

      Yep same here. Also I can't find info on when this is going to be available, which is kind of important. If you do a tutorial for upcoming feature, make sure it's clear how to get them/when you will be able to get them.

    • @olivier8c301
      @olivier8c301 6 ปีที่แล้ว +1

      I downloaded 2019 version, still no package for importers inside @Brackeys wrote "You need to use Unity 2018.3 or later to use these tools"... NO - So please, we need some explanations, thank you

    • @0Bennyman
      @0Bennyman 6 ปีที่แล้ว +13

      Hey! I posted this solution on my Comment but I'll post it here aswell, hope this helps.
      bintray.com/unity/unity-dev/com.unity.2d.psdimporter
      unity.bintray.com/unity-dev/
      If you click on the second link you should come to a page with a bunch of links, click on the one you need (E.g. 2D Animation) you will come to a blank page, click on the only available link "-/" you will now see the available packages "unity.bintray.com/unity-dev/com.unity.2d.animation/-/" , download the one you need and then extract them to a folder of your choosing, once done go into Unity, open packages and then there is a + icon in the bottom left I believe which will allow you to add packages, just go into the folder and select the package file and it will import manually.
      (IMPORTANT: If you have 2D Animation already imported then REMOVE it BEFORE installing a newer 2D Animation from package, not really a big problem but you will have a million errors until you remove and re-add the manual package)

  • @ConcreteJungleGames
    @ConcreteJungleGames 5 ปีที่แล้ว

    This tutorial has been very helpful, thanks Brackeys!

  • @irfanhossainbhuiyanstudent3757
    @irfanhossainbhuiyanstudent3757 6 ปีที่แล้ว +3

    Need more video about animator controller.Specially layer mask,blend tree etc.

  • @SzaboB33
    @SzaboB33 2 ปีที่แล้ว

    For those who do not have photoshop:
    You can use gimp and you will need to export it to PSD. Then you will need another software called imagemagick to convert the PSD file to PSB.
    On linux it would go like: exporting from gimp
    After installing imagemagick, in the command line:
    convert your_psd_file.psd your_desired_psb_filename.psb

  • @ichifish
    @ichifish 6 ปีที่แล้ว +83

    Coding your own games is easier than you think. (squint) You know, you should...

    • @MrSpiky
      @MrSpiky 6 ปีที่แล้ว +10

      ...take this online unity course!

    • @457Deniz457
      @457Deniz457 6 ปีที่แล้ว +14

      @@MrSpiky Use Adblocker ;) :D

    • @MrSpiky
      @MrSpiky 6 ปีที่แล้ว +3

      @@457Deniz457not a bad idea

    • @457Deniz457
      @457Deniz457 6 ปีที่แล้ว +4

      @@MrSpiky Haha :D
      Also "NoScript" or "Umatrix" is pretty usefull (Blocks popping ad's which opens new windows and protects from viruses through scripts [rly usefull for site's like kinox,to and and] )

    • @MrSpiky
      @MrSpiky 6 ปีที่แล้ว +1

      @@457Deniz457 Nobody likes viruses

  • @ClayAstro
    @ClayAstro 6 ปีที่แล้ว

    Amazballs. Love your vids - so clear and easy to understand and follow.

  • @keyheroassist144
    @keyheroassist144 5 ปีที่แล้ว +4

    2:57-3:04 that's a huge BONEr :) sorry, couldn't resist!