|
@@ -12,6 +12,7 @@ from playsound import playsound |
|
|
from pygame.locals import * |
|
|
from pygame.locals import * |
|
|
|
|
|
|
|
|
from aques import Aques |
|
|
from aques import Aques |
|
|
|
|
|
from common_const import * |
|
|
from common_module import CommonModule |
|
|
from common_module import CommonModule |
|
|
from mode import Mode |
|
|
from mode import Mode |
|
|
from talk import Talk |
|
|
from talk import Talk |
|
@@ -35,9 +36,9 @@ class Main: |
|
|
print (mode) |
|
|
print (mode) |
|
|
|
|
|
|
|
|
pygame.init () |
|
|
pygame.init () |
|
|
screen: pygame.Surface = pygame.display.set_mode ((1024, 768)) |
|
|
|
|
|
|
|
|
screen: pygame.Surface = pygame.display.set_mode ((Window.WIDTH, Window.HEIGHT)) |
|
|
balloon = pygame.transform.scale (pygame.image.load ('talking.png'), |
|
|
balloon = pygame.transform.scale (pygame.image.load ('talking.png'), |
|
|
(1024, 384)) |
|
|
|
|
|
|
|
|
(Window.WIDTH, 384)) |
|
|
if goatoh_mode: |
|
|
if goatoh_mode: |
|
|
balloon = pygame.transform.flip (balloon, False, True) |
|
|
balloon = pygame.transform.flip (balloon, False, True) |
|
|
pygame.mixer.init (frequency = 44100) |
|
|
pygame.mixer.init (frequency = 44100) |
|
|