-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.go
40 lines (35 loc) · 868 Bytes
/
constants.go
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
package main
const (
appWidth = 1024
appHeight = 768
scale = 1
speedToChangeSprite = 6
initialSoundEnabled = true
)
const (
startingLevel = 0
totalRowsTxt = 7
totalLevelRowsTxt = 6
firstLevelRowTxt = 1
platformLevelCharacter = "-"
emptyLevelCharacter = "0"
normalFloorLevelCharacter = "1"
lavaFloorLevelCharacter = "2"
lavaFloorWithDropsLevelCharacter = "3"
travelingTextMaxTime = 160
marginTopPlatforms = 62
marginLeftPlatforms = 0
platformWidthLanding = 150
floorWidth = 180
floorY = 300
floorHeight = 48
)
const (
maxTimeToShowSmoke = 175
maxTimeToShowExplosion = 25
smokeX = 800
smokeOffsetY = 320
)
const (
CRLF = "\r\n"
)