-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathConfig.pde
50 lines (35 loc) · 1.15 KB
/
Config.pde
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
//Resolutions
final int MAPWIDTH = 1280;
final int MAPHEIGHT = 800;
//Path to sound effect files. This path is relative to /Data
final String SOUNDFXPATH = "soundfx/";
final String SOUNDTRACKPATH = "soundtrack/Blood/";
final float SOUNDTRACKGAIN = -25.0;
final int SOUNDBUFFERSIZE = 256;
final String IMGPATH = "images/";
//Player energy
final int INITIALENERGY = 100;
//Player energy
final int HEARINGDISTANCE = 200;
//Enemy size in the radar
final int ENEMYSIZE = 20;
//Dead zombie stay counter
final int CORPSESTAY = 50;
//Size of the radar;
final int RADARSIZE = 450;
//Speed of the bullets
final int BULLETSPEED = 8;
//Shot delay in frames;
final int SHOOTDELAY = 30;
//This is used to calculate the player hit area;
final int PLAYERSIZE = 10;
//Duration of the wave in millis;
final int WAVEDURATION = 60 * 1000;
//Spawn interval of the wave in millis;
final int WAVESPAWN = 10 * 1000;
//Score board path;
final String SCOREBOARDFILE = "scoreboard/scoreboard.csv";
final int SCORESLINEHEIGHT = 50;
final int SCORESDISPLAYED = MAPHEIGHT / SCORESLINEHEIGHT - 1;
final int SCOREBOARDDISPLAYTIME = 20 * 1000; //In millis
final int GOREDURATION = 3 * 1000;