-
Notifications
You must be signed in to change notification settings - Fork 1
/
const.lua
30 lines (30 loc) · 891 Bytes
/
const.lua
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
-- debug
DEBUG_ENABLE = false
-- windows
WIN_WIDTH = 1200
WIN_HEIGHT = 768
-- game
GAME_TITLE = "Disc Room Escape"
GAME_SCALE = 3
GAME_SPRITE_SIZE = 16
GAME_LEVEL_START = 1
GAME_LEVEL_MAX = 9
GAME_LEVEL_TIMER_MAX = 25
GAME_LEVEL_TIMER_ALERT = 5
GAME_MUSIC_PATH = "assets/music/525290__disquantic__cyberpunk-beat.wav"
GAME_MUSIC_VOLUME = 0.3
--
HERO_MAX_SPEED = 220
HERO_ACCELERATION = 4
HERO_DECELERATION = 5
HERO_GRAVITY = 35
HERO_JUMP_SPEED = -3
HERO_JUMP_GRAVITY = 30
HERO_JUMP_FORGIVENESS = 0.3
HERO_MAX_VELOCITY = 12
--
SOUND_JUMP = 'assets/DISC ROOM SFX 101/FEETS/DR SFX FEET5.wav'
SOUND_DEATH = 'assets/DISC ROOM SFX 101/DEATH GORE SFX/DR SFX DEATH GOREnew1.wav'
SOUND_DOOR = 'assets/DISC ROOM SFX 101/DOORS/DR SFX DOOR OPEN ROBO1.wav'
SOUND_DISC = 'assets/DISC ROOM SFX 101/BOUNCE MISC/DR SFX DiscBounce1.wav'
SOUND_ALERT = 'assets/DISC ROOM SFX 101/SPAWN MISC/DR SFX DiscSpawn2.wav'