final without vid
This commit is contained in:
parent
5ceecdb0f3
commit
ecb0fb29b6
1 changed files with 9 additions and 0 deletions
|
|
@ -152,6 +152,14 @@ def draw_minimap(win, map_surface, player, enemies, kranwasser):
|
||||||
pygame.draw.circle(win, (0, 180, 255), map2mini(wasser.x, wasser.y), 3)
|
pygame.draw.circle(win, (0, 180, 255), map2mini(wasser.x, wasser.y), 3)
|
||||||
|
|
||||||
|
|
||||||
|
def show_title_screen(win):
|
||||||
|
title = pygame.image.load("images/Wasser_der_Regierung.PNG")
|
||||||
|
title = pygame.transform.smoothscale(title, (WIDTH, HEIGHT))
|
||||||
|
|
||||||
|
win.blit(title,(0,0))
|
||||||
|
pygame.display.update()
|
||||||
|
pygame.time.wait(3000)
|
||||||
|
|
||||||
def show_win_screen(win):
|
def show_win_screen(win):
|
||||||
win.fill((40, 180, 80))
|
win.fill((40, 180, 80))
|
||||||
font = pygame.font.SysFont(None, 72)
|
font = pygame.font.SysFont(None, 72)
|
||||||
|
|
@ -185,6 +193,7 @@ def main():
|
||||||
clock = pygame.time.Clock()
|
clock = pygame.time.Clock()
|
||||||
|
|
||||||
play_video(WIN, "videos/test.mov")
|
play_video(WIN, "videos/test.mov")
|
||||||
|
show_title_screen(WIN)
|
||||||
running = True
|
running = True
|
||||||
while running:
|
while running:
|
||||||
clock.tick(60)
|
clock.tick(60)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue