Paper2D: Animation State Machine | 08 | v4.4 Tutorial Series | Unreal Engine

Paper2D: Animation State Machine | 08 | v4.4 Tutorial Series | Unreal Engine

Unreal Engine

9 лет назад

56,312 Просмотров

Here we enhance the original animation system into a functional state machine, which will allow for easier extensibility, should we want to add more animations at some point in the future.

Тэги:

#Unreal_Engine #Epic_Games #UE4 #UDK #Unreal
Ссылки и html тэги не поддерживаются


Комментарии:

DazzataR
DazzataR - 02.07.2022 03:46

I have set this up with a few other animation inside, Jump, attack, crouch etc. But when I click play my character is invisible. Any one know how I can go about fixing this? Do I need to go through and set up input handles for each animation before it shows anything I havent added them all yet but won't if that doesnt fix things? or did I just mess up?

Ответить
Onazji Drayden
Onazji Drayden - 04.05.2022 03:17

Why doesn't my sprite "flip" to the correct side when for instance a left key is pressed? The flip book should mirror the animation when running in either direction. Any input would be appreciated y'all

Ответить
Miatatude
Miatatude - 17.01.2022 16:28

To put it simply, ue4 is absolute dogshit for 2d games, avoid it if in any way possible

Ответить
The Walking Target
The Walking Target - 05.10.2021 04:49

Just wondering did anyone figure out a way to implement a jump animation and fall animation with using this method? I've tried several ways I thought I could make it work but to no success! Here's hoping someone has some advice on this!

Ответить
Reality Game Design
Reality Game Design - 18.04.2020 21:53

My character slides while crouching if I press my run button. How do I fix that?

Ответить
parlons en
parlons en - 11.03.2020 21:59

nice tutorial but how does it work id we wanna go further like when a keyboard key is pressed the character does another animation

Ответить
CharditronicMusic
CharditronicMusic - 15.02.2018 07:21

All the video tutorials are great, but we need more to continue. What if I need to do an animation like a punch?
How to play the full animation by pressing the key momentarily? (And not leaving pressed). How to make the animation play once? (And not in loop)
Does anyone know any tutorial? T______________T

Ответить
Corpsecrank
Corpsecrank - 27.03.2017 20:20

My biggest problem is that the animation state machine in this example is far to simple. The second you try to apply this to a game with many states you run into serious problems trying to check all the possible conditions and get the right animation to play at the right time. Not to mention there is no flipbook control discussed so even once you can get the states sorted out properly you will also have to figure out how to tie in controlling the way that each flipbook plays. Will the flipbook loop? which animations do you want to be able to interrupt and which ones need to play all the way out before any other animation can begin etc. With all the 2D tutorials this is the same issue. We barely get a glimps of the very surface and no explanation on where to go from there.

Ответить
Its Me
Its Me - 03.01.2017 06:17

I have a problem during the end when he tests his jumping animation, my character would not show the jumping animation and instead continue showing the running animation how do i fix this?

Ответить
Christopher Lin
Christopher Lin - 04.11.2016 11:50

Why i don't have "is crouching" available?

Ответить
Blazingheart
Blazingheart - 12.09.2016 19:28

Alright I have a problem. I have gotten all of the movements working but when I play there is no player. My camera follows the movements but there is nothing to move. Can I get help?

Ответить
Mike Hammond
Mike Hammond - 29.06.2016 03:33

Have an error that I can't figure out:My Animation State Machine has all the nodes and the correct connections, but when I go back into the Event Graph I run into a compile error. It states "Error Could not find a pin for the parameter OutputFlipbook of Animation State Machine on Animation State Machine". I've gone back and re-watched the video a few times and can't find the error.I am using version 4.10.4.

Ответить
Realidad Scans
Realidad Scans - 21.05.2016 03:20

thanks for the video...v

Ответить
Andrew's Projects Channel!
Andrew's Projects Channel! - 04.04.2016 20:55

Ok so what if your character runs off the platform and you don't want him to use the jump sprite!?

Ответить
Stefan L.
Stefan L. - 08.03.2016 13:07

Im new to UE4 and i'm just wondering: is there a way to select animations based on other current movement info? I i'm looking for a way to figure out how fast my character is moving on which axis. I also want to include the orientation functionality into the animation state machine. I just find it logical to have it there as well.

btw. any good tutorials on how to make dynamic 2D animations? I'm thinking about a Cyircle or a rectangle that just stretches and wobbles differnetly based on the direction movement. - not with sprites but by scaling. (preferably based on former mentioned movement speeds)

Ответить
Seanii James
Seanii James - 28.02.2016 21:47

Followed this tutorial and added a bunch load more animations to the state machine. Although, some of these shouldnt loop and i am struggling to find the correct place to put the Set Looping node.
Any help?

Ответить
Guilherme Castilho
Guilherme Castilho - 18.02.2016 22:29

Einstein test: Complete this series of tutorial on 2x Speed mode!

Ответить
Charlie Snellings
Charlie Snellings - 03.02.2016 03:37

When attempting to connect the Animation State Emum to the Select node I get an error stating that array of Animation State Enums is incompatible with index wildcard. I don't understand why its incompatible when it seems to be compatible in the video. I'm stuck.

Ответить
Ethan Ward
Ethan Ward - 08.01.2016 07:00

I created a 2d game off of this tutorial and when I run it my character is really blurry and stuttery
any advice?

Ответить
UrusVerra
UrusVerra - 04.01.2016 22:06

Thank you very much for this amazing tutorial, everything works perfectly!

What I fail to understand is why does our character change animation to jump, while not moving, if we only put Update Animation after Movement Input?

That is how it should work, and it works perfectly, I just don't understand why? We do not call update Animation when jumping, we only call it on InputAxis Move right. But if I'm jumping and not pressing Move Right buttons - why does my animation update?

And here's the followup to this question: if I'm adding more animations and actions (like fighting of ladder climbing) for my character, should I add Update Animation on these actions?

P.S.: For some reason I'm unable to follow what's going on in character blueprint during test runs (probably because we do not have the character in the scene, only a player start), and that's the main reason why I couldn't figure out what's going on inside.

P.P.S.: I'm using 4.10.1 version of the engine.

Ответить
Ricardo Duarte
Ricardo Duarte - 29.10.2015 16:56

How to create the "JumpFlipbook"?

Ответить
crusty21
crusty21 - 25.10.2015 17:40

Please make tutorial on how to make a state machine for 2D eight directional movement...like in point and click AG.

Ответить
Pixel Rabbit
Pixel Rabbit - 07.10.2015 21:41

Gonna try Piskel

Ответить
Pixel Rabbit
Pixel Rabbit - 07.10.2015 20:53

whats the best app for creating the initial sprite or set of sprites? I'm not really interested in anything too fancy, just 8/16 bit retro characters.

Ответить
Benjamin
Benjamin - 07.10.2015 18:22

My jump sprite/animtion is much bigger than my running and idle animation. This causes my character to become larger whenever he is falling/jumping. I need help fixing this!

Ответить
E
E - 28.08.2015 19:08

My running and jumping works but when I don't move at all my character turns invisible.

Ответить
Illement
Illement - 11.08.2015 20:26

this is wack. this is my 2d game? I think I'll switch to Unity

Ответить
Mike M
Mike M - 15.06.2015 21:46

When I jump, my character becomes invisible. The JumpFlipbook seems to be correct though. ***Update: The Flipbook did not have a default value, so fixed that. xD

Ответить
Xeranxies (8T8)
Xeranxies (8T8) - 06.06.2015 09:37

Well, I seem to have fucked it up somehow, probably due to my movement rotation setup, I'm sure I'll figure it out eventually. 
Good tutorial though.

Ответить
Kerrald
Kerrald - 16.05.2015 05:28

Seems like something has changed here since this video was made. IsFalling doesn't seem to be working in the manner shown here. Did anything with that function change?

Ответить
Tom Reedman
Tom Reedman - 14.05.2015 20:12

This would be so much easier as raw code, this makes everything seem so needlessly complicated.

Ответить
Santiago Milano
Santiago Milano - 27.03.2015 04:21

Moving Loco. Thanks for the video!

Ответить
Chuy Perez
Chuy Perez - 16.12.2014 05:00

I gotta agree, I'm an artist with zero programming background, so I have no idea what node to use for certain things.

Although in this series the logic made sense to me and had no problem understanding why you used the nodes just from the way you explained it.

Now I have a basic understanding of blueprints and its components, this was so helpful thank yo very much!

Ответить
waxxan
waxxan - 04.11.2014 17:50

I agree with others in the comments. An explanation why you are doing the things that you do, not just that you are doing this and that. I don't have a problem with the high pace, I just to pause and rewind if its too fast. I am completely new to UE4 and blueprints, but have some basic programming background. So, just some short explanation about the logic on each node in blueprint would be nice for future tutorials.

Ответить
Rubs
Rubs - 04.11.2014 17:21

Nice tutorial :) fast and easy and i like you'r speed ^^

Ответить
Tyler Hohnstein
Tyler Hohnstein - 07.10.2014 04:47

I can do the things in this video, but I have no idea why I needed to do them. Is there an explanation to all of these functions anywhere? I don't know how to expand on this, or what I really did.

Ответить
AlexTheAnon
AlexTheAnon - 05.10.2014 21:25

UE4 Tutorials And Tech Tip's There are other tutorials for getting started in ue4 in this same channel.

Ответить
headcase120
headcase120 - 04.10.2014 21:24

he also needs to go slower...

Ответить