From 398eebe7829622c6983cb28528f2208b4d596f32 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Wed, 20 Mar 2024 16:59:13 +0200 Subject: text to srites. cache scaled font sprites... --- src/sliceitoff/__main__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/sliceitoff/__main__.py') 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 -- cgit v1.2.3