Menu

[r42]: / trunk / src / hazards2.ini  Maximize  Restore  History

Download this file

63 lines (61 with data), 1.7 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#
# List of hazards to create. Each non-blank, uncommented (comments start with #)
# line defines one or more new hazard(s). All fields except Type are optional,
# but skipped fields must still include the separator.
#
# Fields
# ------
# Type: Fire, Ice, Mud, Glue, Hole or Wall (case-sensitive)
# Strength: a double, usually represents a percentage of some sort
# Range: a double, range of the hazard's effect (usually in pixels)
# Direction: a double, direction of the hazard's effect (in degrees)
# Number: an int, how many hazards of these specs to create
# PositionX: an int, x-coord of left edge of hazard (position 0 is left-most edge of screen)
# PositionY: an int, y-coord of top edge of hazard (position 0 is top-most edge of screen)
#
# Line format
# -----------
# Type:Strength:Range:Direction:Number:PositionX:PositionY
#
# eg:
#
# # 10 fires that do 5 damage each
# Fire:0.05:::10
#
# # 1 block of ice
# Ice
#
# # 1 block of ice, of strength 10%, with a y-coord of 100 (and a random x-coord)
# Ice:0.10:::::100
#
# # A vertical line of 100 walls, all along the x-coord 75 (with random y-coords)
# Wall::::100:75
#
# # 1 block of mud, of strength 20%, with coords (250, 410)
# Mud:0.2:::1:250:410
#
Ice:1.5:::100:150
Ice:1.5:::100:160
Ice:1.5:::100:170
Ice:1.5:::100:180
Ice:1.5:::100:190
Mud:0.5:::100:200
Mud:0.5:::100:210
Mud:0.5:::100:220
Mud:0.5:::100:230
Mud:0.5:::100:240
Ice:1.5:::100:250
Ice:1.5:::100:260
Ice:1.5:::100:270
Ice:1.5:::100:280
Ice:1.5:::100:290
Mud:0.5:::100:300
Mud:0.5:::100:310
Mud:0.5:::100:320
Mud:0.5:::100:330
Mud:0.5:::100:340
Ice:1.5:::100:350
Ice:1.5:::100:360
Ice:1.5:::100:370
Ice:1.5:::100:380
Ice:1.5:::100:390
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.