Tiled is a well-liked open supply 2D map editor, take a look at our tutorial sequence obtainable right here, that simply launched Tiled 1.9. The Tiled 1.9 launch includes a utterly rewritten automapping algorithm, with reported velocity enhancements of 20-30x.
Particulars of the Tiled 1.9 launch from the discharge announcement weblog put up:
Let Automapping Work For You
Automapping, or pattern-based tile placement, was initially launched in Tiled 0.6 to simplify enhancing of maps for The Mana World. On this launch the algorithm has been nearly solely rewritten, making it a lot quicker, simpler to arrange and including a number of new choices.
(an indication of AutoMapping by eishiya, the place tile variations are chosen based mostly on a “mild” layer)
Efficiency and Usability
On account of optimizations and profiting from multi-core CPUs, making use of Automapping guidelines is now 10-30x quicker and usually not causes noticeable delays. As well as, the “AutoMap Whereas Drawing” choice not creates separate undo steps, as an alternative seamlessly integrating any modifications with the paint operation.
To use a sure algorithm solely to a few of your maps, now you can use filename filters within the guidelines.txt
file.
Simplified Setup
The enter and output area of every rule at the moment are routinely decided. To nonetheless allow the matching of “empty tile” or “non-empty tile” and different particular instances, a built-in “Automapping Guidelines Tileset” was launched, which might be added to your guidelines map from the Map menu. This tileset at present supplies the next particular tiles:
From left to proper, these are Empty, Ignore, NonEmpty, Different and Negate. It’s also doable to arrange your individual tiles for these particular instances.
Per-Rule Choices
A variety of per-rule choices might be set by putting a rectangle object on a “rule_options” layer that covers all the foundations the choices ought to apply to.
Any customized map, layer and object properties supported by Automapping at the moment are displayed within the Properties view when it detects that the present map is an Automapping Guidelines map (the map must have not less than one “enter*” and one “output*” layer).
Customized Scripted Dialogs
Because of @dogboydog, scripted extensions can now construct their very own customized dialogs. This may vastly simplify the configuration of extensions, which beforehand may need relied on a number of prompts or studying customized properties.
Speaking about scripts, it’s now doable to set off a script from the command-line utilizing the brand new --evaluate <file>
argument.
Simplified Challenge Setup
The project-related actions have been simplified, with File > New > New Challenge changing the Challenge > Save Challenge As motion, and the “Current Tasks” and “Shut Challenge” actions transferring to the File menu as properly.
As well as, all project-related settings at the moment are solely obtainable after creating or loading a challenge.
Unified Customized Sorts
Object Sorts have been merged into the Property Sorts, now merely referred to as “Customized Sorts”. This implies customized lessons can now have a coloration and can be utilized as “object sort”. In case your challenge refers to an object sorts file, these sorts might be routinely imported as customized lessons. In the event you used globally saved object sorts earlier than, they are often manually imported to your challenge.
As well as, the “Sort” property beforehand obtainable just for objects and tiles is now obtainable for all knowledge sorts as the brand new “Class” property. For consistency, this worth is written out as “class” additionally for objects and tiles, however a project-wide compatibility choice is offered to make it nonetheless write out as “sort”:
New Tileset Choices
The dimensions at which all tiles in a tileset render can now be configured to be both the tile measurement (as earlier than) or the map grid measurement. The latter is beneficial if you wish to use tiles with a distinct decision however scale them up or down to suit the grid.
When a tile will not be rendered at its native measurement, it used to all the time get stretched. A brand new “Fill Mode” choice was added to the tileset that may be both “Stretch” or “Protect Facet Ratio”.
As a primary step in the direction of supporting sprite atlasses, the pictures in an Picture Assortment tileset can now discuss with a sub-rectangle of their picture. This sub-rectangle might be modified within the Tile Properties, or by scripts via the Tile.imageRect
property.
Key Hyperlinks
Tiled is obtainable for obtain on Home windows, Mac and Linux platforms. You may study extra in regards to the Tiled map editor and particulars of the 1.9 launch within the video beneath.