How to Make a Run Cycle Using Cutout Animations in Godot 3.0

Поділитися
Вставка
  • Опубліковано 4 жов 2024

КОМЕНТАРІ • 155

  • @GameEndeavor
    @GameEndeavor  6 років тому +36

    Quick note that I forgot to include in the video. Set the "Default Blend TIme" in the Animation Player to 0.1 to get smooth transitions between states.

    • @gakkiwoo5452
      @gakkiwoo5452 6 років тому

      cutoff,how about clothes change system?

  • @DungeonDiving
    @DungeonDiving 5 років тому +63

    Somehow you manage to pack in more useful information in 8 minutes than many of your contemporaries do in 30 minutes. Thank you.

    • @GameEndeavor
      @GameEndeavor  5 років тому +12

      Jump cuts and not holding your hand really goes a long way.

  • @DHofmann
    @DHofmann 6 років тому +31

    Just like you say in your channel description: Your videos are straight forward and to the point!
    Great for Godot Beginners like me.
    First time I did not need to speed up a video tutorial.
    And please keep your cool accent, it gives your Channel an individual touch.

    • @GameEndeavor
      @GameEndeavor  6 років тому +7

      Thank you for the kind words! I am doing speech excercises to improve my voice quality in general, but I love my accent and agree about the unique touch it brings to the channel, so no worries. It's here to stay. :D

  • @NateyC214
    @NateyC214 2 роки тому +4

    5:32 I love that "comically snappy", very smooth. Love the video! Fantastic examples of the power of Godot's animation player.

  • @easyU2B
    @easyU2B 6 років тому +17

    Straight to the point + useful informations. Keep it up!

  • @kimbaptempura4073
    @kimbaptempura4073 2 роки тому +1

    Holy shit dude, this video is 3 years old but damn, your tutorials are fantastic!

  • @JackSather
    @JackSather 4 місяці тому

    SUPER useful tutorial!! thank you, everyone elses are on pixel art sprite sheets

  • @garyproffitt5941
    @garyproffitt5941 Рік тому +1

    Simple and precise with animations. Point of fact with complication to the bone structure but simple feature's for Animation and thankyou Game Endeavor ✔

  • @TheBuffED
    @TheBuffED 5 років тому +14

    Congratulations on reaching 1,000 subscribers!! That's awesome, and I'm looking forward to your future content

    • @GameEndeavor
      @GameEndeavor  5 років тому +3

      Thank you! I have some pretty neat topics planned. I'm glad people have taken to it so well, looking forward to making the future content. :)

  • @awhitney3063
    @awhitney3063 11 місяців тому

    Yo man thanks for the snappy little tutorial, very well done and I appreciate how you shared all of the aspects of how you got to where you did [using the square to line things up, that's kind of background stuff that I think other people leave out of their tutorials/systems when explaining without really realizing it.]

  • @CarlFurrow
    @CarlFurrow 5 років тому +3

    Really enjoying these quick tutorials. The material is very useful, and the results are excellent. Thanks for taking the time to make these.

    • @GameEndeavor
      @GameEndeavor  5 років тому

      I'm glad they're useful! Thank you for watching.

  • @calvin5872
    @calvin5872 3 роки тому +1

    I like that you aren't British like every other tutorial channel on UA-cam

  • @Sandsawks
    @Sandsawks 5 років тому +2

    I came across this channel a few days back while looking for some support for building a State Machine. Really love the videos and the detailed way you explain why you do what you do. Going back through and watching them all. Looking forward to more Godot tutorials in the future :)

    • @GameEndeavor
      @GameEndeavor  5 років тому +2

      Thanks. :D Yeah, the state machine video did quite well. My goal with it was to help people understand state machines in as simple yet practical way as I possibly could. Given how well the community has taken to it, I'd say I succeeded. :) It's one of my favorite videos so far.
      I'm glad you like the channel and that you find them useful! More will be coming very soon. I have some very good ones I've been working on over the past few weeks. :)

  • @syedrizvi6408
    @syedrizvi6408 4 роки тому +1

    Fantastic tutorial
    I never thought, this is possible in Godot. You have given new understanding for the game.

    • @GameEndeavor
      @GameEndeavor  4 роки тому +1

      Oh there are some fantastic things possible in Godot. Did you see the showcase reel they released recently? Mind blowing stuff.

    • @syedrizvi6408
      @syedrizvi6408 4 роки тому

      @@GameEndeavor Yes I did. It is simply marvelous.
      I believe you are referring to Godot Engine Desktop/Console Games Showcase | April 2020

    • @GameEndeavor
      @GameEndeavor  4 роки тому +1

      @@syedrizvi6408 I am. :)

  • @Crisisdarkness
    @Crisisdarkness 6 років тому +3

    Your channel is very useful, you explain very well apart, that you speak very fluently and clearly, thank you, I subscribed

    • @GameEndeavor
      @GameEndeavor  6 років тому

      Thank you! You're the second person to say that I speak clearly. I figured my accent would be too thick for people to effectively understand me. Good to know that isn't the case. Thank you for subscribing.

  • @GzheGzheGzhe
    @GzheGzheGzhe 4 роки тому

    Short and brief, just like Miziziziz wanted all tutorials to be

  • @daywalkertpify
    @daywalkertpify 3 роки тому

    Great tutorial and animation tips. Thanks

  • @CMmonsterful
    @CMmonsterful 2 місяці тому

    Thank you southern man from 5 years ago

  • @insanecomicdude
    @insanecomicdude 3 роки тому

    Very helpful video. Thanks.

  • @dichebach
    @dichebach 4 роки тому +2

    Wow! Some of the most information packed 6 minutes and 36 seconds on the Internet! :) Definitely subbed.
    New to Godot, and art. Bit of experience as a junior dev (intern) and about 4 years training in C/C++ (and 40 years as a prof before that).
    This method you show is fascinating and effective and I'm definitely going to take the time to slow play/pause through the whole video to get the full value. Even if I don't go with this particular technique for animating, this seems like an excellent exercise to learn more about how Godot's animation features function and make digging through the documentation more engaging.
    However, with all that said, a couple questions: (1) Would this method be effective for a top-down 2d pixel art game along the lines of Stardew Valley (in terms of game mechanics and look and feel, not content or themes); (2) Are there other methods I might want to consider?
    For example, with respect to (2): Aseprite has fairly rich animating functionalities, and I have not yet determined whether aseprite files can be imported in some way (although I have impored .png texture files for 2d sprites.

  • @thedevine3756
    @thedevine3756 4 роки тому

    Great tutorial man!

  • @flaviokonti5522
    @flaviokonti5522 4 роки тому

    Well this was really helpful! Thank you

  • @saulnores3477
    @saulnores3477 3 роки тому

    Hi Game Endeavor. Great video as usual. You ask for topics to cover: I suggest you this "How to make a highscores or leaderboard in godot"

    • @GameEndeavor
      @GameEndeavor  3 роки тому +1

      I haven't made tutorials in quite some time now, sorry. :) I make devlogs nowadays.

    • @saulnores3477
      @saulnores3477 3 роки тому

      @@GameEndeavor thanks. Yeah I've seen your devlogs.

  • @caxco93
    @caxco93 6 років тому

    great tutorial. keep it up! i subbed!

  • @oliv-eagd884
    @oliv-eagd884 4 роки тому

    thank you good tutorial

  • @timetorelaxfocus9642
    @timetorelaxfocus9642 4 роки тому

    always great, thanks for the video. I think it would be cool if Godot had a character hub tool like RPG Maker. You basically choose parts to make up the character.

    • @GameEndeavor
      @GameEndeavor  4 роки тому +1

      Thank you for watching. :) That kind of thing works with RPG Maker because most games made with RPG Maker have a similar style. Such a thing would be impossible with Godot seeing as how there's not one targeted genre or style. The possibilities are far too expansive for such a thing to be practical with Godot. That said, doesn't mean such a thing couldn't be a non-engine related tool. In fact I'd almost guarantee that such things already exists, and I seem to recall GameFromScratch doing a video on a community driven one. I don't recall the name though.

    • @timetorelaxfocus9642
      @timetorelaxfocus9642 4 роки тому

      @@GameEndeavor Thanks for the extended feedback, I would think it's possible to create a plugin that does such a thing, even if much effort. I will check on GamesFromScratch, there probably is a tool out there. I think I remember seeing one at one point.

  • @androidgameplays4every13
    @androidgameplays4every13 5 років тому +1

    This tutorial is awesome+++++++

    • @GameEndeavor
      @GameEndeavor  5 років тому +1

      I'm glad you like it. :) It seems to be quite popular. I may have to do some more videos on animation in the future.

  • @ליהיימליך
    @ליהיימליך 6 років тому

    wow, that's a great video!

  • @LawZist
    @LawZist 5 років тому

    Great video!!

  • @goldbaby6237
    @goldbaby6237 3 роки тому +1

    Can you make a tutorial in Krita to show how you make the sprit atlas?

  • @626070
    @626070 2 роки тому +1

    My friend, if you would be so kind, could you explain how to apply the exact same animation to another set of sprites automaticaly?

  • @shanliumoshi7904
    @shanliumoshi7904 4 роки тому

    thanks

  • @SarahAndreaRoycesChannel
    @SarahAndreaRoycesChannel 3 роки тому

    Oh, so much to learn, I see that I need an AnimationPlayer Node, but how do U add an animation there... let's look at a tutorial. And.... you just jumped it. Somehow you managed to create a tutorial for people who don't need one.

  • @AlanTuringWannabe
    @AlanTuringWannabe 3 роки тому +1

    Can you link to where the artwork for the bear is found? Can you do a tutorial on how to create a character in the cut out animation style? I tried searching the net but didn't find how's to create that kind of art.

  • @jackreev952
    @jackreev952 7 місяців тому

    Hey, how do you move your character in the animation and still walk in the game properly? My character gets stuck in the root node position...

  • @ingmarkieferle2293
    @ingmarkieferle2293 4 роки тому +2

    How to I flip the animation so that my player can walk left?

    • @Ayoushminald
      @Ayoushminald 4 роки тому +2

      +1

    • @GaffaStudios
      @GaffaStudios 3 роки тому

      Same question here ... this would be helpful...

    • @GameEndeavor
      @GameEndeavor  3 роки тому +1

      You scale the body node that stores your art to -1 on the x axis. Don't scale the Kinematic Body, it doesn't like that.

    • @GaffaStudios
      @GaffaStudios 3 роки тому

      Helpful hint:
      If you scaled your player, you have to set the scaling this way:
      if(starting_point.x < path[0].x):
      $Torso.scale.x = abs($Torso.scale.x)
      if(starting_point.x > path[0].x):
      $Torso.scale.x = -abs($Torso.scale.x)
      $Torso is the parent-node of my character.

  • @Masda.X
    @Masda.X 3 роки тому

    So Godot we do not need spine and adobe animate ?

  • @Courage_the_Cowordly_Dog
    @Courage_the_Cowordly_Dog 2 місяці тому

  • @ammonggames2421
    @ammonggames2421 Рік тому

    How to maje a perfect
    flip

  • @cactus7027
    @cactus7027 4 роки тому +1

    Krita gang!

  • @codeyourbot
    @codeyourbot 7 місяців тому

    how do i flip the animation for the otherside

  • @tvojemamamoreee
    @tvojemamamoreee 9 місяців тому

    Broo how can i flip it in movement script? Pleeeesse

  • @parahmen1256
    @parahmen1256 2 роки тому

    Oy how to place animation in texture rekt ?

  • @jamesxxxyz8775
    @jamesxxxyz8775 4 роки тому

    What's the size of your character? This is important because of gravity, jump...

  • @Demogooo
    @Demogooo 4 роки тому

    Noice :)

  • @facundosargiotto7661
    @facundosargiotto7661 2 роки тому

    What if I need to flip the character? Can I reuse the animation with some flip method or do I have to make a new left run animation?

    • @GameEndeavor
      @GameEndeavor  2 роки тому

      I just invert the scale on the x axis to -1.

  • @Eatfast
    @Eatfast 3 роки тому

    How did u flip that 😭

  • @acb_gamez
    @acb_gamez 4 роки тому

    Any ideas how you might add a squash and stretch to this? I can think of using the transform property, but I cant think of any "warp" like property in godot analogous to Photoshop or whatever.

    • @GameEndeavor
      @GameEndeavor  4 роки тому

      I don't, no. :) I don't use squash and stretch that often unless it's part of the animation or as placeholder for telegraphing. Personally not keen on the style.

  • @powerp0w3r
    @powerp0w3r 4 роки тому

    Is it possible to make a cut animation with interchangeable parts like say a hand that can open close and point if so how

  • @kumi2686
    @kumi2686 4 роки тому

    Good video

  • @diablosatana9102
    @diablosatana9102 6 років тому +2

    How did you make your character flip vertically

    • @GameEndeavor
      @GameEndeavor  6 років тому +2

      By setting scale.x to the sign() of the direction the player is moving. I plan to do a video on my player controller in the next couple of videos where I'll show exactly how.

    • @diablosatana9102
      @diablosatana9102 6 років тому +2

      @@GameEndeavor Thanks for reply cant wait for the video

    • @sslaxx
      @sslaxx 5 років тому

      For 2D sprites, there's also the flip_h method, for flipping horizontally (x-axis). Also flip_v for vertical (y-axis) flipping.

    • @esben181
      @esben181 5 років тому

      @@sslaxx That won't work. Just tried it.

    • @esben181
      @esben181 5 років тому

      You can just do scale.x = -1 or scale.x = 0 on the CharacterRig node

  • @Tuntira
    @Tuntira 5 років тому

    Great video! I have a question, how did you get the left arm to stay behind the torso, since the arm is a child of the torso. thanks !

    • @GameEndeavor
      @GameEndeavor  5 років тому +1

      In the CanvasItem sections under the Visibility drop down, there's a "show behind parent" option. Enable that.

  • @jonus5331
    @jonus5331 4 роки тому

    How do you made it so the one leg and arm are behind torso? I cant do it

  • @JoseGonzalez-ud6pc
    @JoseGonzalez-ud6pc 4 роки тому

    Nice Video Thanks!, How you make that when he is running left then the "idle" animation is going to be flipped too?

    • @GameEndeavor
      @GameEndeavor  4 роки тому

      By flipping the scale.x of the rig node. You can find an example of this in my player controller video: ua-cam.com/video/7JCRpY3biZg/v-deo.html

  • @johnthompson3614
    @johnthompson3614 3 роки тому

    hi how did you get the back leg to be behind the torso

    • @GameEndeavor
      @GameEndeavor  3 роки тому +1

      Howdy. :) In the Visibility category, there's an option to show_behind_parent.

  • @BigDaddyWes
    @BigDaddyWes 4 роки тому

    Okay but how do I attach this rigged character to a separate 2D scene?

    • @GameEndeavor
      @GameEndeavor  4 роки тому

      I don't know what you're asking. Once you've made the rig you just add it to your character scene. Do you need to know how to do that?

    • @BigDaddyWes
      @BigDaddyWes 4 роки тому +1

      @@GameEndeavor I guess I don't quite understand how to do that. I have a scene that is just a single 2D node with polygon and skeleton children I made watching this tutorial. I have a separate scene with physics and a level, but I need to replace my placeholder sprite of that scene with the rigged character and I don't know how to do that. I can't simply copy the nodes from one scene to another and I can't find a way to import the character rigging scene into another one.
      Edit: I just found the "merge from scene" button. Should be good now.

  • @ihtasham9237
    @ihtasham9237 3 роки тому

    Hi, I can't seem to find the "key" button (which you tell us to click on at 3:01) in my version of Godot. Do you know where this button now is?

    • @fractalchaos8245
      @fractalchaos8245 2 роки тому +1

      The key pops up when you click the animation player node

    • @ihtasham9237
      @ihtasham9237 2 роки тому

      @@fractalchaos8245 a littleeee late but thanks, I appreciate it 😂

  • @JoJo-cy4tb
    @JoJo-cy4tb 3 роки тому

    hi great video, how did you get your png to portion out all the different body parts? i didnt understand that part

    • @GameEndeavor
      @GameEndeavor  3 роки тому

      By enabling the region option for the sprite. It lets you use only one section of the png.

    • @JoJo-cy4tb
      @JoJo-cy4tb 3 роки тому

      @@GameEndeavor thanks GE! i was able to do it but the game crashes when i try to move forward. after adding $animationplayer.play("run") its tells me node not found (relative to root/world/player) my previous movement actions were scripted in a previous scene. do they need to be all in the same scene to be found? thanks for your time!

  • @tomorrowduong4914
    @tomorrowduong4914 4 роки тому

    How did you make the character run to the left? From what I see you only do animation for running to the right. Is there a best way to make mirrored animation?

    • @GameEndeavor
      @GameEndeavor  4 роки тому

      I just scale the rig on the x axis to -1, it inverts the sprites. :) You can see this done here if you need it: ua-cam.com/video/7JCRpY3biZg/v-deo.html

  • @BrettKromkamp
    @BrettKromkamp 4 роки тому

    Is there any reason why you don't just use the 'is_on_floor' function (inherited from KinematicBody2D) instead of ray-casting to avoid the initiate-jump-in-air case?

    • @GameEndeavor
      @GameEndeavor  4 роки тому +1

      When this video was made, using `is_on_floor()` didn't work with slopes. This was my attempt at addressing that. Now that we have `move_and_slide_with_snap()` I no longer use the raycast method. In fact I advise against it as there's a bug where you get extra jump height if you jump then jump again, due to being grounded before hitting the ground.

    • @BrettKromkamp
      @BrettKromkamp 4 роки тому

      Game Endeavor Thanks for the explanation.

    • @GameEndeavor
      @GameEndeavor  4 роки тому +1

      @@BrettKromkamp Any time. :)

  • @elgatodelamuerte
    @elgatodelamuerte 4 роки тому

    Nice tutorial!
    Can you please help me? I've ran into a problem when trying to animate my character like you did - when I open the AnimatePlayer menu and then click on the sprite I want to move/rotate etc, the AnimatePlayer window disappears and any changes I do to the sprite while the window is not present revert as soon as I select the AnimatePlayer object again.

    • @GameEndeavor
      @GameEndeavor  4 роки тому

      That sounds familiar. There used to be an issue where the animation window would hide while you were animating, but I never had issues with it reverting unless you click the time in the animation window. However I haven't noticed this issue in a long time, or I've gotten used to it. Try clicking the `Animation` tab at the bottom of the editor when it happens? It should bring the window back up. Beyond that I wouldn't know. I suggest you join Godot's Discord server and ask there, perhaps there will be someone there more knowledgable as to what's going on.

    • @elgatodelamuerte
      @elgatodelamuerte 4 роки тому

      @@GameEndeavor Thank you for a quick answer. The window indeed stopped disappearing after I clicked on the animation button, but even with it active if i do not change the parameters manually in the inspector, any changes I make while dragging or rotating sprites with my mouse reset as soon as I try to play the animation. (Yes, those parameters are in the animation track and yes, the keyframes are there as well)
      I will try and talk to someone on their discord server, thank you.

    • @GameEndeavor
      @GameEndeavor  4 роки тому

      @@elgatodelamuerte Any time. :) Hope you get it sorted out. Just to be sure, when you modify the rotation or position of the sprite, you have to rekey the property. Unless you're using the auto-insert feature (car icon at the top in the toolbar).

  • @carelesscaretaker5154
    @carelesscaretaker5154 4 роки тому

    How do you flip the animation?

  • @taxihamster
    @taxihamster 5 років тому

    Is it possible to combine cutout animation with frame-by-frame animation, for more detailed types of things?

    • @taxihamster
      @taxihamster 5 років тому

      Nevermind, you answered that at around 2:20

    • @GameEndeavor
      @GameEndeavor  5 років тому +1

      Yes, but I've found it to be a little tricky. For example it doesn't work so well with blending in my experience. The frame lags a little. I really like blending though because it makes the cutout animation look so much smoother.
      Also you have to deal with making sure your frames are consistent from animation to animation. ie if you use a frame in the idle animation, but change it in the run animation, then when you change back to the idle animation you need to make sure that the frame changes back, otherwise it'll have the frame used in the running animation.
      This may be easy to achieve with the AnimationTree's StateMachine, but I'm not well versed enough in it yet to say for sure. Still studying that node.

  • @mohammadmad
    @mohammadmad 5 років тому

    In 3D animations, do you prefer doing it on blender or godot?

    • @GameEndeavor
      @GameEndeavor  5 років тому

      I've never worked in 3D animation. 2D only.

  • @boratsagdiyev1586
    @boratsagdiyev1586 4 роки тому

    Can i do this in anything other than photoshop for example Krita or other digital painting programs?

    • @GameEndeavor
      @GameEndeavor  4 роки тому +1

      Yup, in fact I made the bear in krita. It's just images, you could even use MSPaint.

    • @boratsagdiyev1586
      @boratsagdiyev1586 4 роки тому

      @@GameEndeavor but mspaint cant setup rigging like that right?

    • @GameEndeavor
      @GameEndeavor  4 роки тому +2

      @@boratsagdiyev1586 The rigging is done via Godot. The images are imported into Godot, which doesn't care what program was used to make the images.

    • @boratsagdiyev1586
      @boratsagdiyev1586 4 роки тому

      @@GameEndeavor Thanks man!

    • @GameEndeavor
      @GameEndeavor  4 роки тому

      Any time! :)

  • @kev635
    @kev635 5 років тому

    How do you handle collision when uses cut out sprites? Do you create a individual collision shape for each limb? Thanks

    • @GameEndeavor
      @GameEndeavor  5 років тому

      No, just create a single shape as you would if it were a single sprite. It doesn't need to be precise, a simple square will do perfectly.

    • @kev635
      @kev635 5 років тому

      @@GameEndeavor Thank you! I'll use that instead

  • @michasengotta2295
    @michasengotta2295 4 роки тому

    I can't find the transition panel of the AnimationPlayer in Godot 3.2. Did they remove it?

    • @GameEndeavor
      @GameEndeavor  4 роки тому

      It's been changed. If you click the keyframe to edit its values, you'll find an easing property in the inspector.

  • @eivindm.otcharan9823
    @eivindm.otcharan9823 5 років тому

    Did you use krita to create the cutout?

    • @GameEndeavor
      @GameEndeavor  5 років тому +2

      Yes. I use it for most of my art / assets.

  • @Jaydenbb5
    @Jaydenbb5 4 роки тому +1

    this was so confusing

  • @JVJF7
    @JVJF7 4 роки тому

    What fileformat do you export the spritesheet with the limbs on it?

    • @GameEndeavor
      @GameEndeavor  4 роки тому +2

      .png

    • @JVJF7
      @JVJF7 4 роки тому

      @@GameEndeavor Okay thanks, when I have the limbs as a child of the torso, the torso is on top of everything. How can I still keep the torso as a parent while changing the depth of the limbs?

    • @GameEndeavor
      @GameEndeavor  4 роки тому +1

      @@JVJF7 On the limb in the `Visibility` section under `CanvasItem` will be a `Show Behind Parent` option.

    • @JVJF7
      @JVJF7 4 роки тому

      @@GameEndeavor thankyou

    • @GameEndeavor
      @GameEndeavor  4 роки тому +1

      @@JVJF7 Any time. :)

  • @groven4165
    @groven4165 3 роки тому

    flip_h ?

    • @GameEndeavor
      @GameEndeavor  3 роки тому +1

      flip_h only works for a sprite and doesn't work on it's children, at least at the time of writing this video.

    • @groven4165
      @groven4165 3 роки тому

      I used 2 sprites while animating, I added flip in both of them, but the animation does not flip.

    • @GameEndeavor
      @GameEndeavor  3 роки тому

      I don't use flip_h, I scale the x axis. Thought you were asking why I don't use flip_h.

  • @LoveIsTiming010
    @LoveIsTiming010 4 роки тому

    Is the easing editor gone in Godot 3.2.1?
    When I select a keyframe in the inspector I just see Time, Value, In Handle, and Out Handle.

    • @pascalz9992
      @pascalz9992 4 роки тому

      I can't find it either. So what I did was work with bezier curves... but boy did that make my life hell! Whenever I added a key in between or had to move keys (e.g. when trying to make the arms swing before the legs) everything got messed up and it would take me tweaking the curve over and over again.
      EDIT
      just realised it's still there. you have to select a key (when not using bezier curves) and check the inspector on the right. there is an easing window with a curve

  • @Lea-im3wr
    @Lea-im3wr 5 років тому

    I don´t get how I kan make body parts like the right arm or leg be behind the body. The link in the deskription says with "RemoteTransform2D" but when I use it that way I understand it, it make nothing rotade in a circle or make othe strange things but it don´t go behid the body. Can someone help me with my problem?

    • @GameEndeavor
      @GameEndeavor  5 років тому

      With the sprite selected, under CanvasItem Visibility, there's a checkbox for "Show Behind Parent". Select that.
      The link in the description is for how to set up inverse kinematics, so that joints move with each other when you reposition them. So it's not related to that.

    • @esben181
      @esben181 5 років тому

      I simple set the Z-index to -1 on the ones behind

    • @GameEndeavor
      @GameEndeavor  5 років тому +1

      @@esben181 That won't work if you have two of these rigs overlap. Say Rig1 is in front of Rig2. Rig1's arm and leg would go behind the body of Rig2, because their bodies are on the same z-index but both of their arms and legs are on the layer behind.

    • @esben181
      @esben181 5 років тому

      @@GameEndeavor ah, ok. thanks!

    • @GameEndeavor
      @GameEndeavor  5 років тому

      @@esben181 Any time. :)

  • @rafaelgpontes
    @rafaelgpontes 5 років тому

    Hey, what about the collision shapes?

    • @GameEndeavor
      @GameEndeavor  5 років тому

      Just use a single square shape that covers the entire body. No need to be precise with each part.

    • @rafaelgpontes
      @rafaelgpontes 5 років тому

      @@GameEndeavor, yeah. That's what I figured. But, the rectangle should follow the body movement, right? This means we're kind of manually moving a KinematicBody2D object without using native physics functions like move_and_slide. I wonder how that would break collisions with other physics bodies you happen to collide with along your way as this "hard-coded" movement implies infinite inertia.

    • @GameEndeavor
      @GameEndeavor  5 років тому

      @@rafaelgpontes if you're referring to the up and down movement then no, the collision doesn't move with that. The collision stays on the ground and just the sprites move up and down. Even if you were to move the shape, it'd just fall back to the ground.

    • @GameEndeavor
      @GameEndeavor  5 років тому

      In fact the rig won't even know about the shape. I save it as a PackedScene and just call the AnimationPlayer from outside.

  • @dungandhisstuffs
    @dungandhisstuffs 4 роки тому

    Toooooo fastttttt

  • @kailenhoward4764
    @kailenhoward4764 3 роки тому +1

    *Bear minimum* I see what you did there