Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [header]
- name=Overworld File Format
- author=smc_gamer
- project=This will be used for projects later on, for now this field is useless.
- start=0,0 // The top-left corner of the overworld
- size=1024,1024 // The size of the overworld
- [/header]
- [static] // Static tiles
- 1,5,32,32
- // 1: The tile's number in this file. Increments for every tile.
- // 5: The tile's ID number, used to load the configuration for it.
- // 32: The tile's X-position on the worldmap.
- // 32: The tile's Y-position on the worldmap.
- 2,13,128,512
- [/static]
- [anim] // Animated tiles
- 1,18,64,192 // Same format as the static tiles, but the IDs here refer to a different set of tiles. Subject to change.
- 2,36,128,384
- [/anim]
- [scenery]
- [/scenery]
- [path] // Path tiles
- 1,892,12,24,yes // Same format as above. The "yes" and "no" determine if the tile is revealed.
- 2,457,24,48,no
- [/path]
- [level] // Level tiles
- 1,30,16,64,yes,level1.lvl,Level Display Name,Coins Collected
- // This one's a bit odd. The first four numbers are number, ID, position, and revealed state, same as above.
- // The "level1.lvl" is the path to the level, and the "Level Display Name" is what will be used on the borders.
- // "Coins Collected" actually refers to the number of Yoshi Coins/Star Coins/Whatever the collectable is. It will be saved after the end of every level, and will be tied to the eventual "projects" field.
- [/level]
- [music] // Music tiles
- 1,world_music1.mp3,82,28 // Roughly the same as a static tile, but with the music's filename as opposed to an ID.
- [/music]
- // Revision 1, published 3/9/2012.
- // I'll add WorldPlayer stuff when I have that determined.
- // Oh, and the actual code won't support comments, unless any of you want it to.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement