Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation speed #12

Open
EliaHKM opened this issue Jul 23, 2023 · 2 comments
Open

Animation speed #12

EliaHKM opened this issue Jul 23, 2023 · 2 comments

Comments

@EliaHKM
Copy link

EliaHKM commented Jul 23, 2023

Hi,
How can I modify the animation speed?

@jeanguyomarch
Copy link
Owner

Hi,

I believe you need to modify code around here.

It's been a while since I have not written edje, but, IIRC, the second parameter to transition is the duration. So, in the following code snippet, 0.7 second separate two "standby" frames

            program { name: "pika_wave";
               action: STATE_SET "anim1" 0.0;
               transition: LINEAR 0.7; // <----- replacing 0.7 with something else should do the trick
               target: "pika";
               after: "pika_wave";
            }

Other animations are here and there.

I have not tried this change myself, as I don't have an EFL dev environment around. Please let me know if this does not solve your issue :)

@EliaHKM
Copy link
Author

EliaHKM commented Jul 28, 2023

Hi,
Thanks now gengar animated correctly
I turned it from 0.7 to 2.6 to make it
animating correctly.
about the the lighting they are not showing up
the waking is working
the sleep is working too
thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants