summaryrefslogtreecommitdiff
path: root/src/sliceitoff/__main__.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-20 16:59:13 +0200
committerViljami Ilola <+@hix.fi>2024-03-20 16:59:13 +0200
commit398eebe7829622c6983cb28528f2208b4d596f32 (patch)
tree411f5d2fa3b7fc8b5352bc3cda49621fbd858919 /src/sliceitoff/__main__.py
parent191110be33196866998da385fbc3107344d2bf73 (diff)
text to srites. cache scaled font sprites...
Diffstat (limited to 'src/sliceitoff/__main__.py')
-rw-r--r--src/sliceitoff/__main__.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sliceitoff/__main__.py b/src/sliceitoff/__main__.py
index 295bce9..717403e 100644
--- a/src/sliceitoff/__main__.py
+++ b/src/sliceitoff/__main__.py
@@ -11,6 +11,7 @@ from display import Display
from images import Images, Fonts
from game import Level
from stats import Stats
+from screens import Welcome
def sliceitoff():
@@ -23,7 +24,11 @@ def sliceitoff():
current_path = Path(__file__).parent.resolve()
Images.load_images( current_path )
Fonts.load_fonts( current_path )
-
+
+ welcome = Welcome()
+ display.update( [welcome.sprites] )
+ sleep(2)
+
clock = pygame.time.Clock()
dt = 0