This repository contains all in-game content for the game Brain / Out.
The directory packages contains a list of the contnent "packages", each serving individual purpose. Each name of the package pretty much describes itself:
| Name | Description |
|---|---|
| base | "root" package, where the most stings belong |
| sounds | A package for all in-game sounds and music |
| mainmenu | A package containing GUI graphics |
| freeplay | A package for the Free Play mode |
map_* |
A package for each individual map |
Each package may contain smart folder, which may contant in-game items.
| Name | Description |
|---|---|
| base / smart | smart package for the base package |
| base / smart / Weapons | In-game Weapons |
| base / smart / Player Skins | Player Outfits |
| base / smart / Containers | In-game "containers" |
| freeplay / smart | smart package for the freeplay package |
- Each
smartfolder is parsed for the*.txtdocuments; - The names of the documents is ignored,
AK74.txtorak-74.txtdoes not matter. - The file format is very simplified user-friendly JSON:
class = content.instrument.Weapon
components = [
...
]
defaultSkin = skin-weapon-ar15-default
id = weapon-ar15
instrumentTags = primary
primary = {
accuracy = 85
aimDistance = 30
allowedBullets = bullet-5.56x45
clipSize = 20
damage = 65
fire-rate = 540
recoil = 50
reloadTime = 3
shootModes = single
}
slot = slot-primary
For even more readability, = is allowed as key/value separator.
class = content.bullet.ShotBullet
components = [
...
]
id = bullet-5.56x45
mass = 0.05
name = ITEM_BULLET_556_45MM
power = 0.04
powerDistance = 160
speed = 240
good = 30
All weapons are stored in Weapons folder. Each weapon usually consists of several items:
- Spine animation;
Weapon.txt– a document describing weapon's features;Skins– a folder for possible skins for the weapon;Upgrades– a folder for possible upgrades for the weapon;Store Item.txt– a document putting all of above together.
Pretty much all textures are stored within textures folder within each package.
Key textures are:
| Name | Description |
|---|---|
| base / GAME | In-game textures, such as weapon parts, player skins, in-game items |
| base / ICONS | If there's icon, its gonna be there |
| base / BLOCKS | 16x16 sprites for each tile for the "blocks" |
| base / CARDS | Achievement items, in-game store sprites |
| base / QUESTS | Sprites for Free Play quests |
| freeplay / FREEPLAY | Textures for Free Play mode's environment |
Most of the sounds stored within the sounds package, here.
Most sound effects may have been downloaded from freesound, others have been bought from private sound collections using appropriate licenses.