Platform/AreWeFunYet: Difference between revisions

Line 319: Line 319:
[https://games.etherpad.mozilla.org/20 Feedback from Games Work Week]
[https://games.etherpad.mozilla.org/20 Feedback from Games Work Week]


There's now a draft for a window.performance.now() property which should fulfill our needs here. The function returns a counting value which counts milliseconds. Spec at [http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/HighResolutionTime/Overview.html].
There is a draft spec for a property |window.performance.now| that meets the needs game developers described to us. The property returns a floating-point value in milliseconds. There's a little more discussion required on the spec itself to get everyone on board, but Mozilla and WebKit are both ready to implement.
 
See [http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/HighResolutionTime/Overview.html] for the spec.


= Mobile =
= Mobile =
313

edits