Turbulenz SDK 0.22.0 is an update for both the Turbulenz Engine Installer and SDK components.
Full release notes are available in the documentation online.
The SDK is available for Windows, Mac OS X and Linux.
Turbulenz payments for local and the Hub is now supported. To use the Turbulenz payments see the documentation for the StoreManager object. Please note that the game site does not yet support payments. Any games published to the game site should not use the StoreManager object.
The leaderboards.yaml now takes an optional set of default scores for the leaderboards.
Badges now allow you to specify an optional predescription, which if specified is used as the description until the badge is unlocked. See Defining your game’s badges.
Added DebuggingTools which allows data breakpoints to be set on object properties and array indices.
Transient IndexBuffers are now supported: this kind of IndexBuffer is optimized for dynamic single use geometries.
The only change required to use them is to set as true the parameter transient when creating the IndexBuffer.
The behaviour of the createSession function is different to the behaviour of the old createMultiplayerSession function and will now always create a new multiplayer session. If you want the old behaviour please use joinOrCreateSession.
getJoinRequestQueue replaces the previous methods for responding to multiplayer join requests originating from the game site.
The DyanmicUI and BridgeServicesSimulator allow you to easily build powerful dynamic user interfaces and preview your integration into the games site while developing games on the local server or the Hub. A version of these tools is included in the MultiWorm sample provided with the SDK. To try them out in your own project simply copy across the contents of the js folder into your own project, add the file duimanager.js to your scripts directory, add duimanager.css to your css folder and add the following lines to the header of your html template:
<link rel=”stylesheet” type=”text/css” href=”css/dynamicui.css”>
The engine loader will now respect the engine version specified for your game. This can be done in the Manage tab for the game in the local development server or directly in the game’s manifest file by adding the line (for instance with the current engine version):
For the game to be publishable, this engine version must be a three-part string (of the form X.Y.Z).
Fix for a deficiency in Draw2D for Draw2DSprite objects that previously assumed a 1:1 ratio between Draw2D coordinates and screen pixel coordinates. This previously led to a visible slack in updating of rotations when Draw2D viewport resolution was significantly smaller than that of the screen.
The canvas version of SoundDevice no longer generates 404s on Firefox when sound source stop() is called.
Input events now cause all callbacks to happen outside of the game loop in both canvas and plugin modes. Previously canvas and plugin modes were inconsistent with some callbacks being made during the call to InputDevice.update. Note that InputDevice.update should still be called to ensure all events are reliably delivered to the game.
Fix for the leaderboardResult scrolling functions throwing an exception when a callback argument is provided in TZJS and release builds.