ProtoRPG:Bundle file
The bundle file is always named bundle.txt and must reside at the root of the file structure holding all game datas.
{ title: 'Title of the game', newGame: { /* new game data */ }, graphics: { "tileSize": 32, // Tile size in pixels "player": { "file": [['avatar.png',0], ['avatar.png',1], ['avatar.png',2], ['avatar.png',3]] } }, itemFile: 'items.txt', monsterFile: 'monsters.txt' }
The property newGame must be an save game object that describes the player starting situation.
The graphics.player describes the visual representation of the character the player will be controlling : it can be just a file name (string), a file name and a sprite number (array) or the list of sprites (array) to use depending on which direction the character will be facing, ordered clockwise starting from "facing North".