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 20 MB
Version 2019.03.13 35 days ago
Tiled for Windows (64-bit), snapshot 18 MB
Version 2019.03.13 35 days ago
Tiled for Windows XP, snapshot 18 MB
Version 2019.03.13 35 days ago
Tiled for macOS, snapshot 14 MB
Version 2019.03.13 35 days ago
Tiled for Linux (64-bit), snapshot 31 MB
Version 2019.03.13 35 days ago

Get Tiled Map Editor

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.