GooTechnologies / goojs

3D WebGL engine.
http://goocreate.com
MIT License
1.22k stars 138 forks source link

Tween updates are depending on fsmpack #14

Open hccampos opened 8 years ago

hccampos commented 8 years ago

The Tweens are updated by the StateMachineSystem. Should it really be like this? Removing fsmpack.js will stop tweens :P

Solution: keep track of the local time in the actions, and use the tweening functions directly. This may sound tedious but I think it can reduce the amount of code.