diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-26 22:55:30 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-26 22:55:30 +0300 |
commit | 220211bf89e5c873c2ee694b14ab70578188a36c (patch) | |
tree | 612a794c7192cc2b1cd7419a8ce3a5d650cdf4b9 | |
parent | e6a958b6c9d5f6c77918e11f3f862156d563ba14 (diff) |
setting mainmenu item
-rw-r--r-- | src/sliceitoff/display/static.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/game/mainmenu.py | 3 | ||||
-rw-r--r-- | src/sliceitoff/screens/mainmenu.py | 4 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/sliceitoff/display/static.py b/src/sliceitoff/display/static.py index fdbba3c..5bbea08 100644 --- a/src/sliceitoff/display/static.py +++ b/src/sliceitoff/display/static.py @@ -31,4 +31,4 @@ RAINBOW_COLORS=[ CGA_COLORS[10], CGA_COLORS[14], CGA_COLORS[12], -]
\ No newline at end of file +] diff --git a/src/sliceitoff/game/mainmenu.py b/src/sliceitoff/game/mainmenu.py index f9a70e0..8db0536 100644 --- a/src/sliceitoff/game/mainmenu.py +++ b/src/sliceitoff/game/mainmenu.py @@ -15,7 +15,8 @@ class MenuItems(IntEnum): NEWGAME = 0 HISCORES = 1 INSTRUCT = 2 - QUIT = 3 + SETTINGS = 3 + QUIT = 4 class Mainmenu(ExplodeOutGroup): """ sprite group with imputs to make selection """ diff --git a/src/sliceitoff/screens/mainmenu.py b/src/sliceitoff/screens/mainmenu.py index 17def9a..ce69aa1 100644 --- a/src/sliceitoff/screens/mainmenu.py +++ b/src/sliceitoff/screens/mainmenu.py @@ -16,9 +16,11 @@ def mainmenu_screen(selection): f"{chr(active if selection == 2 else inactive)}" f"Instructions\n\n" f"{chr(active if selection == 3 else inactive)}" + f"Settings\n\n" + f"{chr(active if selection == 4 else inactive)}" f"Quit, Why?") return TextPage( text, font = '8x8', size = (16_000, 16_000), - pos = (24_000, 32_000) ) + pos = (32_000, 16_000) ) |