Sonntag, 24. Januar 2016

Edit Map Tiles

I finished the map compression routine so now it's possible to read back map arrangement and tileset data back to the ROM!
With this post I will show the editing of the tileset data:

You can choose a specific tile in the editor and change it's properties. You can change the X/Y mirror, the palette and tileset offset as well if the tile is displayed above the player or not.
You can also change the property of the tile which means what interaction takes place if the player is on a specific tile.
Here is a list of the possible properties:

0 - Tile Pass
1 - Steps
2 - Climb (Up/Down)
3 - Ramp (Down)
4 - ?
5 - Ramp (Left)
6 - Tile Block (Diagonal Left)
7- Climb (Left/Right)
8 - Jump Down
9 - Tile Block (Diagonal Right)
10 - Ramp (Right)
11 - ?
12 - Ramp (Up)
13 - ?
14 - ?
15 - Tile Block

As an example I changed the property of the wall tile from "Jump Down" to "Climb (Up/Down)".

The result in the game, the player doesn't jump down the wall but climbs it up and down:

I also changed the gras tile property so the player climbs from the left to the right:

In the next post I will show how you can edit a map and write it back to the ROM.

1 Kommentar: