Closed
Description
Description of proposed feature
Scenes should store the total time since starting and make this value accessible via a public API.
How can the new feature be used?
There isn't currently a way to update mobjects based on the cumulative elapsed time since a given start point. Time based updaters only pass dt
, the incremented time, which leaves the user to add that value to a running total manually in order to track cumulative time. This makes things like animating a continually growing angle unnecessarily complex.
It may be best to also add a new Clock class which inherits from ValueTracker and has APIs like Scene.get_clock()
, Clock.start()
, and Clock.stop()
.