-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.py
52 lines (46 loc) · 833 Bytes
/
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
from pygame.math import Vector2
# screen
SCREEN_WIDTH = 1280
SCREEN_HEIGHT = 720
TILE_SIZE = 64
# overlay positions
OVERLAY_POSITIONS = {
'tool' : (40, SCREEN_HEIGHT - 15),
'seed': (70, SCREEN_HEIGHT - 5)}
PLAYER_TOOL_OFFSET = {
'left': Vector2(-50,40),
'right': Vector2(50,40),
'up': Vector2(0,-10),
'down': Vector2(0,50)
}
LAYERS = {
'water': 0,
'ground': 1,
'soil': 2,
'soil water': 3,
'rain floor': 4,
'house bottom': 5,
'ground plant': 6,
'main': 7,
'house top': 8,
'fruit': 9,
'rain drops': 10
}
APPLE_POS = {
'Small': [(18,17), (30,37), (12,50), (30,45), (20,30), (30,10)],
'Large': [(30,24), (60,65), (50,50), (16,40),(45,50), (42,70)]
}
GROW_SPEED = {
'corn': 1,
'tomato': 0.7
}
SALE_PRICES = {
'wood': 4,
'apple': 2,
'corn': 10,
'tomato': 20
}
PURCHASE_PRICES = {
'corn': 4,
'tomato': 5
}