-
Notifications
You must be signed in to change notification settings - Fork 0
/
Constants.pde
56 lines (50 loc) · 1.38 KB
/
Constants.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
50
51
52
53
54
55
56
final color cShip = #27ae60;
final color cLow = #16a085;
final color cMed = #f39c12;
final color cHigh = #c0392b; // or #c0392b
final color cWell = #8e44ad;
final color cBack = #34495e;
final color cObstacle = #2980b9;
final color cGoal = #f1c40f;
final color cUnSelected = #E0E4CC;
final color cSelected = #E22211;
final float lowRad = 10.0;
final float medRad = 20.0;
final float highRad = 30.0;
final float wellRad = 15.0;
final float lowAct = 100;
final float medAct = 160;
final float highAct = 250;
final float wellAct = wellRad*5;
final float lowMass = 200;
final float medMass = 350;
final float highMass = 500;
final float wellMass = 800;
final float menuBufDiameter = 80;
final float shipMass = 2;
final float shipRad = 12;
final int LEVEL = -1;
final int PLANET = 0;
final int GRAVITYWELL = 1;
final int REPULSOR = 2;
final int WALL = 3;
final int PICKUP = 4;
final int NOCOLTRI = 5;
final int NOCOLRECT = 6;
final int LOADINGSCREEN = -3;
final int MENU = -2;
final int NOTSTARTED = -1;
final int STARTED = 0;
final int CRASHED = 1;
final int FINISHED = 2; // Finished Game
final int COMPLETED = 3; // Finished Level
final int RED = 0;
final int BLUE = 1;
final int GREEN = 2;
final int PURPLE = 3;
final int YELLOW = 4;
final int textColour = #bdc3c7;
final int menuTextColour = #333333;
final int menuHeight = 75;
final int mapHeight = 500-menuHeight;
final float shipPushRadius = 100;