logo  

Occillo

Occillo Level Design and Customisation.

Occillo is primarily data driven in design and can be modified via configuration.

There are two main configuration files, in addition to the actual level files. These are ${HOME}/.config/occillo/occillo.ini and ${INSTALL}/game/game.ini. The first file is for user configuration items, eg. player name, audio levels, etc. There will be an entry in this file that points to the game configuration file to be used. (This will typically be the game.ini file that comes with Occillo).

To use an alternate game configuration, simply modify the occillo.ini file to point to the game configuration file you wish to use.

Game Customisation

This section primarily deals with creating your own Occillo based game.

The ${INSTALL}/game/game.ini defines most of the parameters to be used by the game engine. These include game name, backgrounds used on menus, colours, fonts, etc.

This file uses a typical key=value setup found in most common INI file configurations.

Most of the entries are self explanatory, however the following entries do require additional information:

Level Customisation

All level files are simple text files of the following format:

Brick Data Format.

Brick data is formatted as 1 line per in game brick row, with each brick being defined as two values in hex:

The following brick properties values are currently supported:

For example, a brick defined as:

Note: If the texture id doesn’t match a defined texture, it will be treated as no brick. If the actual texture is missing or can’t be loaded/renendered, then the brick will still be activated, but with a fill-in plain colour texture of random colour.