virtualx-engine/scene/animation
Răzvan C. Rădulescu 5c914e2d5b Fix and make Tween node less confusing
I've made the following changes:
- make `is_active` the main way of keeping track of tween
  processing/activity, meaning that `is_active` will now return
  `false` if all tween actions have finished or if it isn't started
  or if it was stopped via `set_active(false)` or any other mode
- removed is_stopped because is redundand now

The above meant that we don't have to keep track of yet another variable
`available` since everything is based on `*processing_internal` so I
removed it, likewise it's own local `processing` variable was removed,
as well as the "double" `_set_process` which it feels more like a hack.

What wasn't changed:
- `tell()` still returns max value (i.e. `== get_runtime()` when all
  tweens `finish`)

*More testing is needed*. So far I've tested repeat on/off, delay,
`is_active()` working corretly, `set_active(true), set_active(false)`,
but probably more tests are necessary, all the resets, stops, resume
etc.
2018-06-26 18:16:57 +02:00
..
animation_blend_space_1d.cpp ensure BlendSpace1D syncs animations 2018-06-26 02:41:36 +02:00
animation_blend_space_1d.h renamed AnimationGraphPlayer to AnimationTree 2018-06-25 18:40:24 -03:00
animation_blend_space_2d.cpp renamed AnimationGraphPlayer to AnimationTree 2018-06-25 18:40:24 -03:00
animation_blend_space_2d.h renamed AnimationGraphPlayer to AnimationTree 2018-06-25 18:40:24 -03:00
animation_blend_tree.cpp renamed AnimationGraphPlayer to AnimationTree 2018-06-25 18:40:24 -03:00
animation_blend_tree.h renamed AnimationGraphPlayer to AnimationTree 2018-06-25 18:40:24 -03:00
animation_cache.cpp Renamed tree_exited to tree_exiting. tree_exited is now used for actual out of tree notification. 2018-01-12 08:29:24 -03:00
animation_cache.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
animation_node_state_machine.cpp renamed AnimationGraphPlayer to AnimationTree 2018-06-25 18:40:24 -03:00
animation_node_state_machine.h renamed AnimationGraphPlayer to AnimationTree 2018-06-25 18:40:24 -03:00
animation_player.cpp -Added AnimationGraphPlayer (still missing features) 2018-06-18 22:12:08 -03:00
animation_player.h Entirely new (and much improved) animation editor. 2018-06-07 12:52:00 -03:00
animation_tree.cpp renamed AnimationGraphPlayer to AnimationTree 2018-06-25 18:40:24 -03:00
animation_tree.h renamed AnimationGraphPlayer to AnimationTree 2018-06-25 18:40:24 -03:00
animation_tree_player.cpp Expose the animation pos to the user for AnimationNodes in AnimationTrees 2018-05-17 09:15:47 +02:00
animation_tree_player.h Expose the animation pos to the user for AnimationNodes in AnimationTrees 2018-05-17 09:15:47 +02:00
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
tween.cpp Fix and make Tween node less confusing 2018-06-26 18:16:57 +02:00
tween.h Fix and make Tween node less confusing 2018-06-26 18:16:57 +02:00
tween_interpolaters.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00