Defold 1.2.130
This release adds Lua module timer
to scripts. This allows you to set a delay and a callback to be called when the timer completes. We also added functions sprite.play_flipbook
, sound.play
, sound.stop
and sound.set_gain
besides posting messages for these functions.
Engine
-
DEF-1183
- Added: Timer API,timer.delay
andtimer.cancel
. -
DEF-3315
- Added: New sprite and sound message wrappers. -
DEF-3313
- Fixed: Facebook Gameroom is now dynamically loaded by our extension. -
DEF-3311
- Fixed: Updated OpenAL to latest built version for Win32.
Editor
On the editor side, we’ve added the ability to edit game-specific text files using the code editor. JSON files support syntax highlighting, but you can edit any text file. We’ve also added the ability to toggle between local- and world-space manipulators in the Scene View.
-
DEFEDIT-887
- Added: Scene view manipulators can be toggled between local- and world-space. -
DEFEDIT-1235
- Added: Non-spine JSON files can now be edited using the code editor. -
DEFEDIT-1319
- Added: Unrecognized text files can now be edited using the code editor. -
DEFEDIT-1407
- Fixed: Sometimes the NE build cache was invalidated between editor sessions.
Docs
Added new RPG map sample. It’s available from the editor welcome screen (New Project
-> From Sample
) and on Github: https://github.com/defold/sample-rpgmap
.