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

Rework AnimatedTexture's fps into base_delay #65182

Closed

Conversation

Mickeon
Copy link
Contributor

@Mickeon Mickeon commented Sep 1, 2022

Alternative to #65188.

As lightly mentioned in #64657 while updating the description, the fps property in AnimatedTexture has somewhat confusing behaviour. Mainly, it is expressed in frames per seconds, yet each individual frame's delay is expressed in seconds, making it a confusing soup to work with, and explain in the documentation, despite being such a simple concept.
This PR attempts to address that.

fps has been turned into base_delay.
frame_n/delay_sec has been renamed to frame_n/delay (prefixes exist, making the previous name redundant).

image

This is more so an experiment, a test, for the other PR. See #65188.

@Mickeon Mickeon requested a review from a team as a code owner September 1, 2022 07:02
@Mickeon Mickeon force-pushed the animated-texture-base-delay branch from 91fa85f to 27b6e53 Compare September 1, 2022 07:09
@Mickeon Mickeon force-pushed the animated-texture-base-delay branch from 27b6e53 to d5583f8 Compare September 1, 2022 10:41
`fps` has been turned into `base_delay`.
`frame_n/delay_sec` renamed to `frame_n/delay` (prefixes exist, making the name redundant).
@Mickeon
Copy link
Contributor Author

Mickeon commented Sep 6, 2022

Closing, as #65188 has been considered greatly superior.

@Mickeon Mickeon closed this Sep 6, 2022
@Mickeon Mickeon deleted the animated-texture-base-delay branch September 8, 2022 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants