Copy
Wade 1.3 is out, with new features and improvements
View this email in your browser
A quick look at what's new in WADE 1.3

Load and export scenes

WADE 1.3 introduces a standard JSON format for WADE scenes that lets you load and export scenes easily. Loading is straightfoward:
 
wade.loadScene('myScene.json');
 
And exporting is just as easy: at any time you can export the active WADE scene with wade.exportScene(), to get some JSON data that can be used to recreate the current scene, including all its objects, sprites, animations and properties.

Sprite cache

 
It's common to have some sprites that are slow to render - it may be because they use elaborate custom draw functions, or because they are complex objects such as text with shadows and other effects. With WADE 1.3 you can draw these sprites once to an off-screen canvas, and start using that canvas instead of using the slower original draw functions - all with a single line of code:
 
mySprite.cache();
 

Serialize your objects


All WADE objects (SceneObjects, Sprites, TextSprites and Animations) now have a serialize method to output their states to JSON objects.
With the new and more flexible syntax of WADE 1.3 you can use this serialized data to create new objects:
 
   var data = mySprite.serialize();
   var myNewSprite = new Sprite(data);

 

This Week's Free Sprite

A fully animated fluffy white sheep! It features 7 actions rendered from 12 different angles making it ideal for 2D and 2.5D games. Get it here.
Plus more cool things and bug fixes. Check out the full change log.
Download the new version here
Copyright © 2014 Clockwork Chilli ltd, All rights reserved.

unsubscribe from this list    update subscription preferences