I want to make a 2D game with a long-legged cartoon character. I would like that:
when you press the space or shift keys, his legs disappear and he falls (crouch),
and when you release the key after one second or two, his legs appear and he jumps.
how do we do that with the blueprint widget please?
So there’s a number of steps to this one as it’s kind of a whole mechanic! So you’ll have to combine a couple of tutorials for this one. Luckily enough Matt Aspland recently released a video demonstrating a crouch charge jump that for your purposes you’d only have to adjust it for a 2D character a bit. Then you’ll also need to know how to animate in Paper2D (if you end up using it) so here’s also a video on that. Combined you should be able to splice together a charge jump! Hope this helps!
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.