g--o / JSCF

JavaScript Canvas Framework
http://g--o.github.io/web-JSCF/
Apache License 2.0
8 stars 1 forks source link

Re-organize update() vs tick_update() #20

Open g--o opened 5 years ago

g--o commented 5 years ago

Physics engine, Rigidbody, Scene and Game aren't synced on tick_update vs. update methodology. Delta time should be configurable at runtime and callbacks should have update vs tick_update.

Should be as follows:

These should allow customizability again, as manual update/render should be non-relevant as JSCF becomes an engine rather than just a library, as well as it's editor, which perhaps might be usable for meta-editing.