How get delta number with javascript?
15 August 2016 15:16
15 August 2016 19:49
15 August 2016 20:06
This method is probably what you need
https://www.blend4web.com/api_doc/module-main.html#.set_render_callback
https://www.blend4web.com/api_doc/module-main.html#.set_render_callback
04 September 2017 11:37
This new feature in b4w 17.08: "New logic node “Elapsed” .
I think it's exactly the delta time, for which I asked.
In unity:
https://docs.unity3d.com/ScriptReference/Time-deltaTime.html
In godot: The delta parameter describes the time elapsed (in seconds, as floating point) since the previous call to _process(). Fixed processing is similar, but only needed for synchronization with the physics engine.
http://docs.godotengine.org/en/stable/learning/step_by_step/scripting_continued.html
I think it's exactly the delta time, for which I asked.
In unity:
https://docs.unity3d.com/ScriptReference/Time-deltaTime.html
In godot: The delta parameter describes the time elapsed (in seconds, as floating point) since the previous call to _process(). Fixed processing is similar, but only needed for synchronization with the physics engine.
http://docs.godotengine.org/en/stable/learning/step_by_step/scripting_continued.html