-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.py
57 lines (44 loc) · 1.47 KB
/
data.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
53
54
55
56
57
# Constant variables
SCREEN_WIDTH=1280
SCREEN_HEIGHT=720
SPRITE_SCALING_PLAYER=0.35
FULLSCREEN = False
BORDERS_OFFSET = 15
#MOVEMENT SPEED
MOVEMENT_SPEED = 5
SECURITAS_SPEED = 2
ANGRY_SECURITAS_SPEED = 3
# Angry securitas BAC
ANGRY_SECURITAS_BAC = 3
SECURITAS_RADIUS = 400
# Define the duration (sec) of the CAN'T_MOVE capability of the player/securitas.
# This capability is set to True when the player/securitas hit a vomit.
TIME_STATIC=3
SUPER_TIME_STATIC=5
# Define the duration (sec) of the invincible capability of the player.
# This capability is set to True when the player vomit.
# The player is can't hit a vomit when he is invincible
TIME_INVINCIBLE=1
SPRITE_SCALING_BEER=0.100
SPRITE_SCALING_SECURITAS=0.35
SPRITE_SCALING_VOMIT=0.2
#BEER GENERATION COEFF
BEER_GENERATION_COEFF = 20
BEER_BOOST_COEFF = 5
BEER_DELAY = 35 # not in second, probability that a beer appear on a tick is 1/BEER_DELAY
MAX_BAC_BOOST = 0
SECOND_STEP_MAX_BAC_BOOST = 3
TOTAL_TIME_SECOND_STEP = 30
# Number of beer to set the player drunk
DRUNK_LEVEL_PLAYER = 3
SUPER_DRUNK_LEVEL_PLAYER = 10
# Percentage of the player speed for super vomit
SUPER_VOMIT_PERCENT_SPEED = 0.7
# Player score increased by player.BAC * multiplicator
SUPER_DRUNK_SCORE_MULTIPLICATOR = 5
RIGHT=1
LEFT=2
UP=3
DOWN=4
HIGHSCORE_FILE="highscore"
MAP1_POINT_LIST = ((183,720),(1206,720),(1226,586),(1150,493),(1106,365),(1100,320),(1093,146),(1100,20),(986,20),(986,186),(926,186),(926,120),(823,120),(820,186),(160,166),(183,720))