Add Scripted Actions to the Menu


In this development snapshot it finally becomes easy to trigger custom scripted actions, since now they can be added to the menu. You can also set a shortcut to make invoking your custom actions even easier! See the documentation about tiled.registerAction and tiled.extendMenu for details.

  tiled.extendMenu("Edit", [
      { action: "ThrottleFumes", before: "SelectAll" },
      { action: "RandomizeScale" },
      { action: "PigLatin" },
      { separator: true }
  ]);

This snapshot also brings two more bug bugfixes that were done for Tiled 1.2.3.

Changelog

Thorbjørn Lindeijer

  • Scripting: Added registering of actions and adding them to menus
  • Scripting: Show backtrace in Console also for startup scripts
  • Fixed cut/copy in Tile Collision Editor (#2075)
  • Fixed crash when trying to add Wang colors without a selected Wang set (#2083)

Mitch Curtis

  • Allow qrc-based tileset images in new tileset code (#2079)

After a lot of stress finalizing renovations, spending one week moving stuff and slowly unpacking everything, I'm back working on Tiled in my new office room, so expect more frequent updates again!

Files

Tiled for Windows (32-bit), snapshot 22 MB
Version 2019.03.13 Mar 13, 2019
Tiled for Windows 64-bit (snapshot) 24 MB
Version 2019.03.13 Mar 13, 2019
Tiled for Windows XP (snapshot) 19 MB
Version 2019.03.13 Mar 13, 2019
Tiled for macOS (snapshot) 15 MB
Version 2019.03.13 Mar 13, 2019
Tiled for Linux (snapshot) 35 MB
Version 2019.03.13 Mar 13, 2019

Get Tiled Map Editor

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.