Forum

How get delta number with javascript?

15 August 2016 11:24
How can get delta number with javascript?, thanks.
15 August 2016 15:16
Hi,
How can get delta number with javascript?
You mean elapsed time? or?
The Founder | Twitter | Facebook | Linkedin
15 August 2016 19:49
The time between one frame and next frame, normally used to normalize games.
In older machines, delta is a big number, and in new machines delta is a little number.
15 August 2016 20:06
The Founder | Twitter | Facebook | Linkedin
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
04 September 2017 12:00
I think it's exactly the delta time, for which I asked.
Yes, it is.
The Founder | Twitter | Facebook | Linkedin
 
Please register or log in to leave a reply.