How to check the y or x axis ? Check if animation ended for the Flipbook?

Hello,

I’m working on making a simple 2D game, but, the problem is that I want to check the y axis. To know if the character will reach the ground or not. In 2D games, we use that to check the collision box if it hit’s the ground or not, but here I didn’t know how to do that. So, far I managed to change animation for Idle to walk and so on. The only problem now is jumping, because I need to check ground and then change animation to land.

Also, is there an explanation for each action in blueprint? Like for example, Can jump(green action) and things like that. I searched in the documentation, but I only found things like While loop, do once…etc.

Thanks.

After experimenting I found a way. Using the movement component to get the data “Is moving on ground” is the way to check the character state. First problem is solved using variable and print function. Now, my character change to idle animation each time it lands on the ground.

Now, for my second problem. How can I read the frames in my Flipbook animation? For example, when you make a 2D game(or even 3D) the jump animation must be separated into 3. JumpStart > JumpLoop > JumpLand.

If you don’t know the answer, then can you at least guide me to a 2D plug-in blueprints details. Because, I didn’t find anything related to setting your flipbook in the blueprints document. Or is it too early to do that, since this plug-in is in experimenting status?

I tried the 2D tutorials, but when I tried the project, the character get stuck after he lands from the jump. Which is not efficient at all. However, I learned few from it, like setting your flipbook for animation, making your own sprites …etc. So, thanks.

Regards.