User:Sim533/RLE

This page contains the explanation of the Rustyard XML Levels.

level : contains the level contents and has 2 properties: w and h w : contains the width of the level in number of blocks h : contains the height of the level in number of blocks  st : contains the information about blocks where Rusty can walk on (including blocks that let Rusty walk faster and cages where Rusty can take a break) ** rt : contains the information about blocks that guide the direction of a moving platform (if a moving platform can go up and down, it will contain the directions of this)** nt : contains the decorations where Rusty will walk before. (so backyard decorations)** a: contains the start and ending point for the player, contains moving platforms (start point), contains battery location, contains handles, movable boxes.**</li> </ul> </ul>

** The content of this row is in a special format. For example: 1,-:27,2,3:2,2:4,3:2,4,3,2:2,1,3,2,3,2,1 The first block is number 1, followed by 27 empty locations, then followed by number 2, then followed by 2 blocks of number 3, ... With a "," the game knows that now the information comes about the following place in a row. With a ":" the game knows that the block is repeated for the next insert number behind the : here places.