Pour cette nouvelle release, pas mal de nouveautées, la sauvegarde complète, deux nouveaux behaviors : no save et persist. De plus en test un nouveau système de prévisualisation qui en maintenant shift et play recharge le jeu et mets le personnage  l’endroit où il se trouvait dans le test précédent.

Bon test !

Changelog

Feature

Full-state save/load

Feature

Continuous preview

Add

‘No Save’ behavior

Add

‘Persist’ behavior

Add

‘Pause on unfocus’ project property

Add

List object: new ItemTextAt expression

Change

Objects placed in layouts are now assigned UIDs in the editor. The selected object’s UID is also now shown in the Properties Bar. This allows you to safely refer to individual instances placed in the editor by using ‘Pick by UID’. However note that objects created at runtime are still dynamically assigned UIDs.

Change

The engine now automatically focuses the game on click or touch events. Hopefully this will help resolve focus issues with iframed games.

Change

Attempted workaround for some graphics driver crashes when first opening a layout. This is based on a tip we received; we don’t know if it will really fix anything, so please let us know if you had crash issues that are fixed (or if anything’s been broken!)

Bug Fix

‘Replace object’ did not always enable the save button

Bug Fix

Image editor: could not always type negative numbers in to tool options

Bug Fix

AJAX: finally found a work-around for a long-standing CocoonJS bug. AJAX requests should now work in CocoonJS.

Bug Fix

Duplicating a layout now sets the duplicate to use the same event sheet as the original (previously it was set to none)

Performance

Text objects in the WebGL renderer now release their internal surface and texture if they go off-screen for about 5 seconds. This should help improve memory performance when using large numbers of text objects.

SDK

[SDK] Plugins and behaviors can now use saveToJSON() and loadFromJSON() to work with the new full-state save feature.