comparison docs/Level_structure @ 408:02a6de5629d6

Levels can include starting equipment
author Neil Muller <drnlmuller@gmail.com>
date Sat, 21 Nov 2009 09:40:29 +0000
parents a0bd30dee476
children
comparison
equal deleted inserted replaced
407:bdc8bc78a796 408:02a6de5629d6
1 Levels are stored as two files. 1 Levels are stored as two files.
2 2
3 The level.tga file provides the tilemap for the starting layout. We use 3 The level.tga file provides the tilemap for the starting layout. We use
4 two layers of pgu's tilemap - the tile layer, for the objects of interest, 4 two layers of pgu's tilemap - the tile layer, for the objects of interest,
5 and the code layer, which indicates the starting chicken positions. 5 and the code layer, which indicates the starting chicken positions.
6
7 Different codes mean chickens ahve different levels of equipment.
8
9 01 - chicken with no equipment
10 02 - chicken with helmet
11 03 - chicken with kevlar
12 04 - chicken with knife
13 05 - chicken with rifle
14 06 - chicken with kevlar & helmet
15 07 - chicken with helmet & knife
16 08 - chicken with kevlar & knife
17 09 - chicken with kevlar, helmet & knife
18 10 - chicken with helmet & rifle
19 11 - chicken with kevlar & rifle
20 12 - chicken with kevlar, helmet & rifle
6 21
7 The level.conf file allows the default game constants to be customised. 22 The level.conf file allows the default game constants to be customised.
8 23
9 Example level.conf: 24 Example level.conf:
10 25