Skip to content

Comments

Allow Creation of Generic TimeStep Animations#76

Closed
Rabbival wants to merge 25 commits intomainfrom
generic_time_steps
Closed

Allow Creation of Generic TimeStep Animations#76
Rabbival wants to merge 25 commits intomainfrom
generic_time_steps

Conversation

@Rabbival
Copy link
Collaborator

One may now use animation_for_timestep::<WhateverTimeStepYoudLike> to, together with TimeRunnerRegistrationPlugin::<WhateverTimeStepYoudLike>, create tweens on arbitrary time steps
(I plan to use it for FixedUpdate)

* Separate type registration from systems registration to prevent multiple type additions when adding the tween systems to different schedules
* Separate the defaultly added plugins from TweenPlugins { schedule }
that way, for example, you could register specific time-steps to interpolate only on specific times (so Fixed steps won't be inteprolated on Update, for example)
no need to do that query since children now automatically get marked with time context
now tweens can be registered to fire on specific schedules per time context (common use: only fire fixed-ticked tweens on fixed update)
so that curves would only be sampled when relevant, and always sampled when relevant
so that, for example, fixed-time animations would only interpolate their tween values on fixed updates. This is crucial for them to work properly (for example, fixed translation tweens should only move their entities on fixed updates)
by adding a generic constructor and having the previous constructor call it defaultly
* separate plugins that should be registered ones, ones that should be registered per schedule and ones that should be registered per schedule and time context.
* allow registering system sets per schedule (necessary for them to take effect)
* allow adding tween systems to a specific schedule (necessary for the rest to work)
@Rabbival
Copy link
Collaborator Author

Rabbival commented Feb 5, 2026

Cleaned and moved here:
#78

@Rabbival Rabbival closed this Feb 5, 2026
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

Successfully merging this pull request may close these issues.

1 participant