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/05/22 21:04]
pyro added region 20
modding:mapping [2022/05/23 17:29] (current)
pyro
Line 74: 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. 20: Will act as collision tiles but only for enemies.
Line 80: Line 82:
  
 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.1653253454.txt.gz · Last modified: 2022/05/22 21:04 by pyro