From 2e22ce43405fd8b6b3a1e217e87a5f8235c5de59 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 18 Dec 2020 22:05:07 -0300 Subject: Remake the basic menus but they still don't look great =/ --- game/ATTRIBUTION | 3 ++- game/gui/WideBB_insensitive.png | Bin 0 -> 1162 bytes game/screens.rpy | 14 ++++++++++---- game/script.rpy | 7 +++++++ 4 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 game/gui/WideBB_insensitive.png (limited to 'game') diff --git a/game/ATTRIBUTION b/game/ATTRIBUTION index 794f807..5c47fe9 100644 --- a/game/ATTRIBUTION +++ b/game/ATTRIBUTION @@ -122,7 +122,8 @@ Where relevant, you must also include a link to https://tmw2.org in your credit. gfx/units/10000000.png # GUI - elegant.png (?) (CC0) (Open Game Art) + gui/elegant.png (?) (CC0) (Open Game Art) + gui/WideBB_insensitive.png (Jesusalva) (CC0) ***All other assets are default Ren'Py assets (MIT)*** # SFX diff --git a/game/gui/WideBB_insensitive.png b/game/gui/WideBB_insensitive.png new file mode 100644 index 0000000..a2353b9 Binary files /dev/null and b/game/gui/WideBB_insensitive.png differ diff --git a/game/screens.rpy b/game/screens.rpy index 33b4392..e4e77e3 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -209,7 +209,10 @@ screen choice(items): vbox: for i in items: - textbutton i.caption action i.action + textbutton i.caption: + xalign 0.5 + xmaximum 0.95 + action i.action ## When this is true, menu captions will be spoken by the narrator. When false, @@ -223,17 +226,20 @@ style choice_button_text is button_text style choice_vbox: xalign 0.5 - ypos 320 - yanchor 0.5 + ypos 0.25 + yanchor 0.0 spacing gui.choice_spacing style choice_button is default: properties gui.button_properties("choice_button") + background Frame("gui/WideBB_insensitive.png", 5, 5) style choice_button_text is default: + xmaximum 0.92 + ymargin 12 properties gui.button_text_properties("choice_button") - size 30 + size 42 ## Quick Menu screen ########################################################### diff --git a/game/script.rpy b/game/script.rpy index 63c7071..ccb1d73 100644 --- a/game/script.rpy +++ b/game/script.rpy @@ -32,6 +32,13 @@ label start: # Initial configuration call prestart + menu: + "Hello": + pass + "World": + pass + "This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.": + pass # Run updater $ renpy.invoke_in_thread(GAME_UPDATER) -- cgit v1.2.3-70-g09d2