-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscreens.py
More file actions
59 lines (49 loc) · 1.67 KB
/
Copy pathscreens.py
File metadata and controls
59 lines (49 loc) · 1.67 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
import pygame
from pygame import Surface
from pygame import image
from pygame import display
from constants import *
import fonts
import sys
if len(sys.argv)>1:
if sys.argv[1] == 'f':
#print ('Test mode')
#control.auto = False
#test_arg = True
window = display.set_mode((860,634),pygame.FULLSCREEN)
else:
window = display.set_mode((860, 634))
else:
window = display.set_mode((860, 634))
#display.toggle_fullscreen()
#window = display.set_mode((860,634),pygame.FULLSCREEN)
display.set_caption('Giperborea')
text_intro_screen = Surface ((600, 150))
start_screen = Surface((840, 630))
#background = image.load ('images/back.png')
adventure_screen = Surface ((840, 420))
instrumental_screen = Surface ((880,190))
hero_screen = Surface ((180,190))
monster_screen = Surface ((190,200))
information_screen = Surface ((680,190))
roll_screen = Surface ((600, 170))
high_screen = Surface ((810, 22))
inventory_screen = Surface ((380,380))
char_screen = Surface ((380,380))
journal_screen = Surface ((380,380))
start_screen_text_surface = pygame.Surface ((300, 100))
start_screen_version_surface = pygame.Surface ((300, 100))
def main_interface (level):
window.blit(start_screen, (10, 10))
start_screen.fill ((black))
start_screen.blit (high_screen, (0,2))
high_screen.fill ((black))
start_screen.blit (adventure_screen, (0,25))
adventure_screen.fill ((black))
start_screen.blit (instrumental_screen, (0,430))
instrumental_screen.fill ((black))
instrumental_screen.blit (hero_screen, (0,2))
hero_screen.fill ((black))
instrumental_screen.blit (information_screen, (180,10))
information_screen.fill ((black))
high_screen.blit(fonts.font5.render (level.name, True, (250,250,250)),(580,0))