-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.py
68 lines (59 loc) · 1.3 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#base properties
TITLE = "Finding the rabbit"
WIDTH = 512
HEIGHT = 600
FPS = 60
SCORE = 'highscore.txt'
#Font
FONT_NAME = 'arial'
BULLY = "Bully.ttf"
SURFING = "Surfing Capital.ttf"
LIBERTY = "A Voice Liberty.ttf"
LIBERTY2 = "A_Voice_Liberty.otf"
#Player properties
PLAYER_ACC = 0.65
PLAYER_FRICTION = -0.15
PLAYER_GRAV = 0.5
PLAYER_JUMP = 15.5
#Select properties
SELECT_ACC = 4
#items
ITEM_SPAWN_PCT = 10
#Heads
HEAD_SPAWN_PCT = 14
# Starting platforms
PLATFORM_LIST = [(0, HEIGHT - 40),
(WIDTH / 2 - 50, HEIGHT * 3 / 4),
(125, HEIGHT - 350),
(350, 400),
(175, 300)] #total 5 List
#define colors
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)
GRAY = (100, 100, 100)
RED = (255, 0, 0)
GREEN = (0, 255, 0)
BLUE = (0, 0, 255)
YELLOW = (255 ,255 ,0)
BROWN = (111, 109, 81)
#Image
STAND = "stand.png"
JUMP = "jump.png"
MOVE = "move.png"
BULLET = "bullet.png"
BULLET2 = "bullet2.png"
ENEMY = "meteorite.png"
JUMP = "jump.png"
JUMP_RIGHT = "jump_right.png"
BLOCK1 = "block1.png"
BLOCK2 = "block2.png"
BLOCK3 = "block3.png"
BACKGROUND = "background.png"
BOX = "box.png"
START_SCREEND = "start_screen.png"
START_LOGO = "start_logo.png"
MENU_SELECT = "menu_select.png"
HEAD = "head.png"
EXPLOSION = "explosion.png"
EXPLOSION2 = "explosion2.png"
ENDING_IMAGE = "ending.jpg"