Skip to content

Update Maps in Tiled

alekmaul edited this page Nov 1, 2022 · 23 revisions

**update in progress **

You must now have a tmx file with a tileset properly configured for Tiled. We need now to update tile properties for map engine. If not, read 1st part of the tutorial to create it (https://github.com/alekmaul/pvsneslib/wiki/Import-maps-for-Tiled)

Update tile properties

On the screen below, click on "Edit Tileset" button to open a new tab with tileset properties.

If you used the converter tool described in Part1, you will have 3 properties for each tile ("attribute", "palette" and "priority"). If not, select all the tiles on the right with the mouse and use the "+" button on the bottom left to add the 3 properties.

Now select the tiles as shown below (red rectangles to show the tiles) to change their "attribute" property to FF00 to describe them as blocker. Our hero will not be able to pass through them.

Do the same with pillars (again, red rectangles to show the tiles) to change priority property to 1, to allow our hero to pass behind them.

Add objects on map

Export map in jSON format