-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathconstants.py
More file actions
75 lines (64 loc) · 1.65 KB
/
constants.py
File metadata and controls
75 lines (64 loc) · 1.65 KB
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
69
70
71
72
73
74
75
"""
Global constants
"""
#Colors
BLACK = (0, 0, 0)
WHITE = (255, 255, 255)
#Screen dimensions
SCREEN_WIDTH = 1920
SCREEN_HEIGHT = 1080
#------------PIXEL POSITION, WIDTH, HEIGHT OF ALL SPRITES-----------------
#small clouds
SMALL1 = (0, 0, 399, 113)
SMALL2 = (0, 113, 334, 178)
SMALL3 = (9, 291, 561, 128)
SMALL4 = (0, 419, 582, 168)
#purple clouds
PURP1 = (0, 0, 1145, 577)
PURP2 = (1145, 0, 1008, 277)
PURP3 = (0, 577, 877, 280)
PURP4 = (877, 540, 977, 413)
#black clouds
BLK1 = (0, 0, 1197, 345)
BLK2 = (1197, 0, 1992, 248)
BLK3 = (0, 345, 908, 359)
BLK4 = (908, 245, 971, 363)
#Hot-air balloons
BIG1 = (0, 0, 127, 180)
BIG2 = (0, 180, 164, 201)
BIG3 = (0, 381, 199, 239)
BIG4 = (56, 620, 138, 194)
BIG5 = (164, 0, 215, 276)
SMOL1 = (0, 620, 56, 57)
SMOL2 = (0, 677, 43, 52)
SMOL3 = (0, 729, 56, 73)
SMOL4 = (164, 276, 69, 103)
SMOL5 = (233, 276, 70, 109)
SMOL6 = (199, 385, 70, 81)
#comets
SHORT1 = (91, 0, 38, 78)
SHORT2 = (91, 94, 78, 50)
SHORT3 = (175, 0, 91, 32)
LONG1 = (0, 0, 68, 187)
LONG2 = (0, 187, 182, 175)
LONG3 = (0, 362, 350, 148)
#big cactus
CACTUS = (0, 0, 363, 495)
#[CACTUS, 3012, 489]
FLOWER = (0, 0, 82, 105)
#--------------------SPRITE LISTS----------------------
summer = [[BLK1, 1739, 18],
[BLK2, 45, 46],
[BLK3, 2538, 32],
[BLK4, 1046, -30],
[PURP1, 862, -15],
[PURP2, 196, 260],
[PURP3, 1188, 300],
[PURP4, 2773, 139],
[SMALL1, 429, 390],
[SMALL2, 3488, 375],
[SMALL3, 1911, 400],
[SMALL4, 1301, 420],
[CACTUS, 2958, 497],
[FLOWER, 2971, 728]]
balloons = [BIG1, BIG2, BIG3, BIG4, BIG5, SMOL1, SMOL2, SMOL3, SMOL4, SMOL5, SMOL6]