Type check… one, two - TypeScript support rocks Turbulenz
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!
The SDK now includes tslib and jslib (generated from tslib) as well as TypeScript versions of apps and samples.
- 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.
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.
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
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.
- 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.
The SDK is available to download from the developer service at hub.turbulenz.com.