User Tools

Site Tools


modding:mapping

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
modding:mapping [2022/04/16 15:09]
pyro Big overhaul, this page now has images!
modding:mapping [2022/05/23 17:29] (current)
pyro
Line 18: Line 18:
 Get Tiled version 1.0.3 (anything newer/older might break), start it and open the newly copy and pasted map. Get Tiled version 1.0.3 (anything newer/older might break), start it and open the newly copy and pasted map.
  
 +Now you'll want to make sure that the tileset window and layer window are both open. If they aren't, go to the "view" dropdown menu, then on "Views and Toolbars" and select the windows you need.
 +
 +To create the map, you'll want to import a tileset and just "draw" with the stamp brush tool (shortcut: B).
 +If you do not have a tileset imported, take a look at the next step.
 === Step 3. Tilesets=== === Step 3. Tilesets===
 To import tilesets, simply click on “Map” and then on “Add External Tileset”. This will open a file browser. Go select the tileset(s) you need, they’re in the maps folder. To import tilesets, simply click on “Map” and then on “Add External Tileset”. This will open a file browser. Go select the tileset(s) you need, they’re in the maps folder.
Line 70: Line 74:
 These aren't used a lot. These aren't used a lot.
 Here is a list of currently known Tile Region IDs Here is a list of currently known Tile Region IDs
 +
 +10: Will make the player slide. (akin to the snowglobe caves)
 +
 +20: Will act as collision tiles but only for enemies.
  
 28: Will make footprints appear. 28: Will make footprints appear.
  
 90: Will swap the character's sprite to the ladder climbing one. 90: Will swap the character's sprite to the ladder climbing one.
 +
 +92: Will flash the screen red and damage the entire party by 10 HP
 +
 +===Step 6.1 Custom Tile Regions (Optional)===
 +
 +Furthermore, you can use them for your own needs.
 +For example, if you stick this in the script section of the "if command"
 +
 +''$gamePlayer.regionId() === 100''
 +
 +Then the game will check if the player is currently standing on the Tile Region 100.
 +
 +The following code snippet can be put in a "script command" to place a specified event to a random Tile Region. In this example, the '8' is the event and '15' is the Region ID.
 +
 +''$gameMap.randomPos(8, 15);''
modding/mapping.1650121793.txt.gz · Last modified: 2022/04/16 15:09 by pyro