-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.py
52 lines (35 loc) · 1.24 KB
/
settings.py
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
import logging
VERTICAL_TILE_NUMBER = 12 # 11 17
TILE_SIZE = 64
#VERTICAL_OFFSET = -(TILE_SIZE * (17 - VERTICAL_TILE_NUMBER))
SCREEN_HEIGHT = VERTICAL_TILE_NUMBER * TILE_SIZE
SCREEN_WIDTH = 1200 # 1200 1920
# macbook air 2560 1600
FULL_SCREEN = False
# toggle wether screen resolution should be scaled in full screen mode
SCALED = False # True
# playback backgroud music flag
ENABLE_SOUND_ON_START = False
# playback sound effects flag
ENABLE_SOUND_EFFECTS = True
# clouds on the sky moiving along with player
MOVING_CLOUDS = False
# horizon level as % of screen height
HORIZON_LEVEL = 0.65
# immortal mode for debug (also enables debug panel by pressing '~' or 'X' on gamepad)
GOD_MODE = True
# how many levels are available on start
START_MAX_LEVEL = 4
# maximum amount of health on start
START_MAX_HEALTH = 100
# show debug info on start (press '~' or 'X' on gamepad to toggle)
SHOW_DEBUG_INFO = False
# set level of logging
DEBUG_LEVEL = logging.DEBUG # CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET
# show touchscreen buttons on start (also to force visibility for testing even when not on mobile)
SHOW_TOUCHSCREEN = True
# amount of health recovered by a heart
HEART_RECOVERY = 10
# max fps (cut-off for fast machines)
MAX_FPS = 50
MESSAGE_LOG = ""