18,700
edits
m (→Introduction to the Oni engine: wording) |
m (→Introduction to the game data: wording) |
||
Line 22: | Line 22: | ||
==Introduction to the game data== | ==Introduction to the game data== | ||
A game can be compared to a theater play: in both cases, you have | A game can be compared to a theater play: in both cases, you have <u>stages</u>, <u>actors</u>, <u>scripts</u>, and <u>music</u>. A level is built so that when the player performs certain actions or reaches certain locations on the <u>stage</u>, further events are set in motion according to the <u>script</u>. The player is told what to do through various textual instructions, cutscenes, and/or voice acting (more <u>scripts</u>), and he interacts with [[wiktionary:artificial_intelligence|AI]] <u>actors</u>. <u>Music</u> will often play dynamically behind all this, changing along with the flow of events. | ||
In Oni's case, the stages, actors, and music (and other sounds) are all packed together | In Oni's case, the <u>stages</u>, <u>actors</u>, and <u>music</u> (and other sounds) are all packed together into files inside GameDataFolder/ that end in ".dat", ".raw", and, on Macs, ".sep". The files called level0_Final provide resources for all levels, and when you load a Chapter, the set of files for that level, e.g. level12_Final, provide the level-specific resources for that Chapter. The <u>scripts</u> are stored in separate, plain-text files ending in ".bsl", in the subfolders inside GameDataFolder/IGMD/. The player's progress is stored in persist.dat, next to the Oni application. | ||
*See [[Oni (folder)]] for information on each file, or; | *See [[Oni (folder)]] for information on each file, or; |