SHOW:
|
|
- or go back to the newest paste.
| 1 | ; Super Mario Limitless overworld file format (.wld) | |
| 2 | ; Will be kept as much like INI files as possible (static, anim, scenery, and path will probably not) | |
| 3 | ; {Braces} represent material that is still being decided
| |
| 4 | ||
| 5 | ; General world info | |
| 6 | [header] | |
| 7 | name = World 1 ; Specified in world editor | |
| 8 | author = smc_gamer/Joey ; Specified in world editor | |
| 9 | project = Super Mario Project ; Project that file will be associated with | |
| 10 | start = 0,0 ; The top-left corner of the overworld | |
| 11 | size = 1024,1024 ; The size of the overworld | |
| 12 | ||
| 13 | ; List of static tiles, tile number increments by tile and ID is used to associate tile with its config | |
| 14 | [static] | |
| 15 | 1,5,32,32 ; Tile number in file, ID #, x-position, y-position | |
| 16 | 2,13,128,512 | |
| 17 | 3,\custom\worldtile1.cfg,256,1024 ; Custom tiles use a filepath to config file | |
| 18 | ||
| 19 | ; List of animated tiles, same format but IDs refer to a different set of tiles | |
| 20 | [anim] | |
| 21 | 1,18,64,192 | |
| 22 | 2,36,128,384 | |
| 23 | 3,\custom\worldatile1.cfg,256,768 | |
| 24 | ||
| 25 | ; {To be completed}
| |
| 26 | [scenery] | |
| 27 | ||
| 28 | ; Path tiles | |
| 29 | [path] | |
| 30 | 1,0,12,24 ; Path tiles use a different ID space | |
| 31 | 2,1,24,48 | |
| 32 | 3,\custom\path1.cfg,48,96 | |
| 33 | ||
| 34 | ||
| 35 | [player] | |
| 36 | 1,0,64,64 ; WorldPlayers use separate ID space | |
| 37 | ; WorldPlayers use the above coords only when starting for the first time, after that it's the save file that stores coords | |
| 38 | ; Starting coords must be on a path tile or it won't work | |
| 39 | 2,\custom\worldplayer1.cfg,128,128 | |
| 40 | ||
| 41 | ; Level tiles {we can write these like tiles (confusing), or we can write them like an INI (longer)}
| |
| 42 | ; not yet finalized | |
| 43 | [level] | |
| 44 | number = 1 ; Level number in project | |
| 45 | - | id = 30 ; {What is this for?}
|
| 45 | + | id = 30 ; Level tile ID |
| 46 | - | x = 16 ; X position |
| 46 | + | position= 640,480 |
| 47 | - | y = 64 ; Y position |
| 47 | + | |
| 48 | path = level1.lvl ; Relative path to level, by default it should be in same directory as world file | |
| 49 | - | path = level1.lvl ; Path to level, by default it should be in same directory as world file |
| 49 | + | |
| 50 | ||
| 51 | - | coins = 5 ; How many special coins are collected {tied to "projects field"}
|
| 51 | + | |
| 52 | [music] | |
| 53 | number = 1 ; {What is this for?}
| |
| 54 | source = world_music1.mp3 ; Music file {MP3 and WAV should be supported}
| |
| 55 | x = 82 ; X position {not necessary if music is set to world file}
| |
| 56 | y = 28 ; Y position | |
| 57 | ||
| 58 | ; Revision 6, published 7/1/2012 by Celarix. |