summaryrefslogtreecommitdiff
path: root/src/sliceitoff/screens/welcome.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/screens/welcome.py
parent191110be33196866998da385fbc3107344d2bf73 (diff)
text to srites. cache scaled font sprites...
Diffstat (limited to 'src/sliceitoff/screens/welcome.py')
-rw-r--r--src/sliceitoff/screens/welcome.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sliceitoff/screens/welcome.py b/src/sliceitoff/screens/welcome.py
new file mode 100644
index 0000000..ddfd997
--- /dev/null
+++ b/src/sliceitoff/screens/welcome.py
@@ -0,0 +1,15 @@
+from text import TextPage
+from display import Scaling
+
+class Welcome():
+ def __init__(self):
+ self.sprites = TextPage(
+ " Slice it off!\n"
+ "\n"
+ "* Do not hit the balls\n"
+ "* Slice off empty areas\n"
+ "* Slice off empty areas\n",
+ font = 'computer',
+ size = (8_000, 16_000),
+ grid = (9_000, 16_000) )
+ \ No newline at end of file