As technology and tools are updated, so too will the recommendations for development environment. Turbulenz aim to recommend versions of various third party tools and services that are the most stable, reliable and representative of the final product for development of your projects.
|Mac:||10.7 and above|
|Linux:||(Alpha) Ubuntu 12 (64 bit)|
Turbulenz recommends for debugging in debug mode:
For canvas configurations: Chrome with Developer Tools (built-in)
In canvas 3D (WebGL), Chrome offers the best performance.
Chrome’s tools also includes a heap snapshot feature for looking at memory usage.
|Windows:||Firefox with the latest Firebug|
|Mac:||Safari 5.1, 6.0 with Web Inspector (built-in)|
/*jshint bitwise: false*/ or /*global Camera: false*/
Requires Node.js - http://nodejs.org/#download to be run from the command line.
There are several advantages, and some disadvantages of adopting TypeScript:
- Code seen in the debugger is generated code, not the original source. Note that this situation is improving with Code Maps (designed specifically for showing original source while debugging generated code) supported by the TypeScript compiler, and a growing number of browsers.
- Some TypeScript language features introduce extra code into the generated output which can affect performance. This appears to be limited to variadic arguments (which introduce copy loops at the top of the relevant functions) but we recommend that developers be vigilant and inspect the generated code, particularly while they first start using TypeScript.
We encourage developers to try out evaluate TypeScript for their projects. We will gradually be making more tools available as part of our technology offering to make it easy to adopt TypeScript for new projects and provide an easy transition path for existing games.
A new directory jslib-modular contains the same engine code as jslib, divided into larger modules. Each .js file has an accompanying .d.ts file containing the TypeScript type declarations for that module. Developers wishing to write their applications in TypeScript can use these declaration files to validate their code. Developers are also free to build their applications against the .js files in this directory, or individual files in jslib. The Turbulenz samples and applications use jslib version of the engine.
Turbulenz uses a modified version of the TypeScript compiler.