diff options
Diffstat (limited to 'mathquwy.py')
-rwxr-xr-x | mathquwy.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mathquwy.py b/mathquwy.py index 3861a9c..47c74df 100755 --- a/mathquwy.py +++ b/mathquwy.py @@ -20,7 +20,7 @@ class MathQuwy(usmpgames.Application): pygame.mouse.set_visible(False) # even numbers congratulations message - background_congrats = pygame.transform.scale( pygame.image.load("data/backgrounds/congrats.jpg"), size) + background_congrats = "data/backgrounds/congrats.jpg" congrats = usmpgames.InfoState( None, background_congrats ) # even numbers game @@ -28,7 +28,7 @@ class MathQuwy(usmpgames.Application): odd_numbers_game = game1.collectgame.CollectGame( "impares", congrats ) # even numbers game state (tutorial) - background_tutorial = pygame.transform.scale( pygame.image.load("data/backgrounds/tutorial.jpg"), size) + background_tutorial = "data/backgrounds/tutorial.jpg" even_numbers_tutorial = usmpgames.InfoState( even_numbers_game, background_tutorial ) even_numbers_tutorial.add_text2( _("""Instrucciones Juego Pares\n\nSuma puntos cogiendo las frutas\ncon numeros pares.\n\nEvita tocar las frutas con numeros\nimpares o te restaran puntos.\n\nMueve al cuy Quwy con las fechas.\n\nEvita los peligros como el agua y\notros animales.\n\nPulsa una tecla para jugar."""), @@ -91,7 +91,7 @@ class MathQuwy(usmpgames.Application): rectsize = (380, 390)); # menu state - background_menu = pygame.transform.scale( pygame.image.load("data/backgrounds/menu.jpg"), size) + background_menu = "data/backgrounds/menu.jpg" main_menu = usmpgames.MenuState( background_menu ) main_menu.add_menu_option(_("Pares"), even_numbers_tutorial ) main_menu.add_menu_option(_("Impares"), odd_numbers_tutorial ) |