0 votes

i have a jump animation that consists of spring action frame before moving to the jump frame. when i play this jump action it goes too fast and you cant see the spring action. is there a way to add say a time delay between the 2 frames or some kind of method to hold the frame for a second longer before transitioning to the next frame?

i tried using input action released - however this holds the frame as long as the you hold down the action key indefinitely. is there a way to instruct the input action released function to yeild after a second or so?

this is the desired effect i want :
https://giphy.com/gifs/lCzOFMpsMEAfvSOY9T

this is the code i have so far but its subject to change :
https://ibb.co/YTWbGwL

bear in mind im still learning in godot . any help would be appreciated

Godot version latest steam store
in Engine by (50 points)

2 Answers

0 votes

Do you want like this
example
I can't explain the details because there are a lot of things I do, you better see for yourself the code I made
source code

by (84 points)
0 votes

You can use animation player over animated sprite.
Just add new animation with frame channel, and You can choose time between every image manually

by (7,447 points)

i appreciate your suggestions . ill look into it. however, a fellow user on here by the name RAMAZAN also answered this question. but his answer was remeoved or he removed it himself . if Ramazans looking at this . could you please re-post your answer too thanks

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.