-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
37 lines (30 loc) · 733 Bytes
/
Copy pathsettings.py
File metadata and controls
37 lines (30 loc) · 733 Bytes
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
from pygame.locals import * #import keymap
screen_scale = 2 #scale factor of the screen before displaying
screen_x = 256 #size of screen before scaling
screen_y = 192
framerate = 30 #framerate to keep
keys = [-1, K_ESCAPE, K_UP, K_DOWN, K_LEFT, K_RIGHT, ord("x"), ord("p"), ord("z"),
ord("j"), ord("k"), ord("i")] #array of keys
key_escape = 1 #index into keys array
key_up = 2
key_down = 3
key_left = 4
key_right = 5
key_accept = 6
key_debug = 7
key_cancel = 8
key_dbg_save = 9
key_dbg_load = 10
key_menu = 11
save_name = "save.pokesav"
data_path = "data"
TILE_NORMAL = 0
TILE_SOLID = 1
TILE_WATER = 2
TILE_WARP = 3
TILE_GRASS = 5
TILE_DOUBLEGRASS = 8
def load(s): #load our data
pass
def save(s): #save our data
pass