Turbulenz SDK 0.24.0 is an update for both the Turbulenz Engine Installer and SDK components.
Turbulenz Engine versions >=0.23.3 have a new feature that allows specific versions of the Turbulenz Engine to be loaded at runtime. For most developers, this change will not require any changes to existing code. The code to handle this is included in the maketzjs/makehtml generated output and on hub.turbulenz.com/turbulenz.com. When a project is uploaded to hub.turbulenz.com developers must specify a 2-digit engine version string that the game is compatible with e.g. 0.24 This indicates that the game should be compatible with engines 0.24.0, 0.24.1, and all following interface compatible versions in the form 0.24.x. For details on changes see the engine version requirements.
The NetworkLatencySimulator has been added, which allows you to simulate spikes in latency for multiplayer sessions.
Added a section with various tips and tricks for Games Development.
Generally, developers will not need to invoke strip-debug directly. However, developers using customized build processes, or wishing to use this functionality in their own code should see Asserts and Debug Code and related links to familiarize themselves with the new behavior.
Added support for triggers in physics 3D.
Added InputDevice.isSupported() for testing the capability of input, for example POINTER_LOCK.
The local server now has a set of default users for testing leaderboards. See the devserver/defaultusers.yaml and devserver/user.yaml files for more information.
Added a section giving requirements for Turbulenz Services Assets.
The SDK now downloads and installs a version of node.js for use in the Turbulenz Environment. To run Node in the environment, type ‘node –help’ for more information. Node is used maketzjs in the SDK. It also allows developers to use UglifyJS and UglifyJS2 without separately downloading Node.
Publishing of games built against SDK 0.24.0 requires the new engine loader functionality to be enabled on turbulenz.com. This will be enabled when Turbulenz Engine 0.24.0 is available on turbulenz.com. In the meantime developers will be able to upload and test projects built against 0.24.0 on the Hub, but will get a warning when publishing, such as:
Version not publishable as engine version must be a three-part (X.Y.Z) string. Uploaded as: 0.24
When the feature is enabled, you must upload the project again and this warning will no longer appear.
Error checking of arguments for various jslib functions in debug mode is stricter e.g. Math functions. Please check your usage of such functions.
Manually uninstalling the latest Turbulenz Engine you have installed may result in other installed engines appearing as not installed. To work around this, you may need to reinstall older engines. The assumption is that users will continually install engines as new ones become available. A fix to clear all engines when uninstalling the latest engine will be available in the future.