-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefaults.go
More file actions
28 lines (27 loc) · 871 Bytes
/
defaults.go
File metadata and controls
28 lines (27 loc) · 871 Bytes
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
package main
// Game defaults
const (
WindowWidth = 800.0
WindowHeight = 480.0
NumRows = 18
NumColumns = 28
WindowTitle = "Cavern"
SampleRate = 44100
LeftGridOffset = 50.0
GridBlockSize = 25.0
MaxFallSpeed = 10.0
NewFruitRate = 100
NewEnemyRate = 81
FruitTTL = 500 // this will keep 5 fruits maximum at all time
GameNormalSpeed = 60
GameSlowSpeed = 20
PlayerStartLives = 2
PlayerStartHealth = 3
PlayerDefaultSpeed = 4.0
PlayerStartInvulnerability = 200
MaxOrbs = 5
MaxBlowingTime = 30
OrbMaxTimer = 250
OrbFireTimer = 20
BoltSpeed = 7.0
)