-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.py
25 lines (24 loc) · 863 Bytes
/
doc.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
import pygame
from pygame import *
from screen import log
def doc():
log("Starting documentation menu ...")
pygame.init()
dim = (largeur, hauteur) = (900, 900)
win = pygame.display.set_mode(dim)
pygame.display.set_caption("VOLTAIRE PROJECT HACK BY BAALBAKYA | DOCUMENTATION")
font = pygame.font.Font(None, 24)
while True:
for i in range(1, 5):
win.fill((0, 0, 0))
background = pygame.image.load("doc/doc" + str(i) + ".png")
fond = background.convert()
win.blit(fond,(0,0))
pygame.display.update()
for j in range(0, 500):
for event in pygame.event.get():
if event.type == QUIT:
pygame.quit()
return True
else: pass
pygame.time.wait(10)