SHOW:
|
|
- or go back to the newest paste.
| 1 | - | // SML Overworld Tile Configuration File Format |
| 1 | + | ; SML Overworld Tile Configuration File Format |
| 2 | - | // Revision 1, 3/4/2012 |
| 2 | + | ; Revision 2 (Joey), 4/3/2012 |
| 3 | ||
| 4 | - | type=static // Static tiles use one frame, animated uses many |
| 4 | + | ; Static tile config: |
| 5 | - | id=1 // The tile's index |
| 5 | + | |
| 6 | - | name=SMB3 Grass Top Left // The tile's name in the world editor |
| 6 | + | type = static ; Static tiles use one frame, animated uses many |
| 7 | - | source=owtiles // The name of the spritesheet in the content pipeline |
| 7 | + | id = 1 ; The tile's index |
| 8 | - | rext=16,16 // The origin of the tile on the spritesheet |
| 8 | + | name = SMB3 Grass Top Left ; The tile's name in the world editor |
| 9 | - | size=16,16 // The size of the tile |
| 9 | + | source = owtiles ; The name of the spritesheet in the content pipeline |
| 10 | rext = 16,16 ; The origin of the tile on the spritesheet | |
| 11 | - | // Animated tile config: |
| 11 | + | size = 16,16 ; The size of the tile |
| 12 | ||
| 13 | - | type=animated |
| 13 | + | ; Animated tile config: |
| 14 | - | id=2 |
| 14 | + | |
| 15 | - | name=SMB3 Water (64x64) |
| 15 | + | type = animated |
| 16 | - | source=owanimtiles |
| 16 | + | id = 2 |
| 17 | - | frames=4 // The number of frames for this tile |
| 17 | + | name = SMB3 Water (64x64) |
| 18 | - | rect=32,32 // The first tile's position |
| 18 | + | source = owanimtiles |
| 19 | - | rect=64,64 // The second tile's position |
| 19 | + | frames = 4 ; The number of frames for this tile |
| 20 | - | rect=128,128 |
| 20 | + | rect = 32,32 ; The first tile's position |
| 21 | - | rect=256,256 |
| 21 | + | rect = 64,64 ; The second tile's position |
| 22 | - | size=16,16 |
| 22 | + | rect = 128,128 |
| 23 | - | frametime=10 // time each frame is displayed in GameTime frames (normally 16.67 ms) |
| 23 | + | rect = 256,256 |
| 24 | size = 16,16 | |
| 25 | frametime = 10 ; time each frame is displayed in GameTime frames (normally 16.67 ms) |