home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
games
/
volume13
/
thricken
/
part01
/
data
/
README
< prev
next >
Wrap
Text File
|
1992-08-03
|
2KB
|
65 lines
Designing screens:
Use 'thricken -d directory' where directory is where you have your own set of
game files. These consist of:
A screen file which must be called 'screen' - copy it out of here.
A 00level file (for level 0). (eg 01level, 02level etc)
A sprite file. (eg 0-3spr)
A collision file. (eg 0-3col)
A 'scores' file. This must exist - create it with something like 'touch scores'
level file
==========
line 1: sprite filename
line 2: sprite data filename
line 3: map height
line 4: map width
line 5: start x coord (top left of map is 0 0)
line 6: start y coord
line 7: no. of diamonds needed to finish the level
then : map data (`height` lines)
end-2 : name of diamonds
end-1 : name of screen
end : author of level
Rules:
sprite 'd' is always a diamond, and is the only collectable sprite
sprite ' ' should always be a background (walkable) sprite.
sprites <,v,^,> are the sprites for you facing left,down,up and right.
spr file
========
Consists of a list of sprites.
Each sprite is:
1 line containing a single char - the sprite character for map
3 lines of six characters - the sprite
Collision file
==============
line 1: list of sprites that can be walked over - such as ' '
line 2: list of sprites that can be pushed - such as 'oO'
then : list of sprite collisions with directions.
char 1-2 = which sprites for collision
char 3-4 = new sprites to replace old ones
char 5-8 = directions for collision (must be 4 chars)
char 9- = decimal number for score change.
eg's:
'ooddhjkl10' for boulders to diamonds
'hH h 15' for key & lock (from one direction).
sprites x, X and * are reserved
they are wildcards for collision.
x = any non walkable sprite
X = any non pushable sprite
* = any sprite
Hence 'GXGdh l10' would be a sprite G which can turn any pushable sprite into
a diamond (scoring 10 points), but only on directions left and right.