Type check… one, two - TypeScript support rocks Turbulenz

SDK 0.25.0 has been a long time coming, but we hope it will be a significant step in helping our developers make awesome games. This SDK includes the first public release of TypeScript versions of our libraries. With improved syntax checking and validation using TypeScript should help you streamline your development process and avoid silly bugs and runtime errors down the line. It compiles to JavaScript and works with other existing JavaScript libraries.
You don’t need to use TypeScript to use Turbulenz, but we now provide type definitions for all of our libraries, which is just one good reason to try it out!
For more information on TypeScript check out: http://www.typescriptlang.org
Features
TypeScript
The SDK now includes tslib and jslib (generated from tslib) as well as TypeScript versions of apps and samples.
This feature is in beta and we need your help to try it out! Make sure to read the detailed release notes and the TypeScript recommendations.
- Existing developers: Use the standard jslib as usual. If you have your own modifications, compare your code to the tslib version which has a similar layout to previous jslib releases. Investigate whether TypeScript would help you with your project.
- New developers: Start your project with either of tslib or jslib depending on preference.
interesting blog article of his findings during developmentOur TypeScript guru Duncan has written an . Definitely worth a read.
Video support
The GraphicsDevice now supports the creation of video objects that can render video data as a texture. This feature can be used for cut-sequences and other media playback in the game engine. The video sample shows how this can be used in conjunction with audio to playback a video. Check graphicsDevice.isSupported to find out if the browser supports WebM or MP4 video formats.


Physics snapshots
The PhysicsManager now supports snapshots for creating and restoring snapshots of dynamic physics objects on the scene.
Ideal for resetting the state of physics simulations.
Clean-up outstanding API requests
A new destroy function has been added to the RequestHandler to help clean-up outstanding request callbacks and stop them from accessing invalid state on destruction. Make sure to add this to your existing shutdown code.
UV transformation support for the renderers
DefaultRendering, DeferredRendering and ForwardRendering now support uvTransform allowing you to rotate, scale and translate UVs. See the release notes for more details.
Updates for dae2json
dae2json, the COLLADA import tools for models, animations, materials and more has had a number of bug fixes and improvements. It has better support for various exporters from Maya/Max to Sketchup. Notable is the addition of the NvTriStrip command which is a recommended step for optimising meshes.

Fixes
- T152 - An issue where deploygame tool was unable to upload to the Hub.
- A rounding error for certain values in storeitems.yaml that caused an error on the Hub.
- Various fixes to dae2json to avoid crashing and give more warnings for incorrect/unsupported files.
- Fixed an issue where JSProfiling was unable to generate array information in the latest Chrome.
See the 0.25.0 release notes for more details.
The SDK is available to download from the developer service at hub.turbulenz.com.