diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-18 22:05:07 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-18 22:05:07 -0300 |
commit | 2e22ce43405fd8b6b3a1e217e87a5f8235c5de59 (patch) | |
tree | 443a7ad5bdaf0f1ab25e24205d99f9b1d5d669c3 /game | |
parent | aca105aaa5fd0468be24a53a08f5e8861f67187d (diff) | |
download | client-2e22ce43405fd8b6b3a1e217e87a5f8235c5de59.tar.gz client-2e22ce43405fd8b6b3a1e217e87a5f8235c5de59.tar.bz2 client-2e22ce43405fd8b6b3a1e217e87a5f8235c5de59.tar.xz client-2e22ce43405fd8b6b3a1e217e87a5f8235c5de59.zip |
Remake the basic menus but they still don't look great =/
Diffstat (limited to 'game')
-rw-r--r-- | game/ATTRIBUTION | 3 | ||||
-rw-r--r-- | game/gui/WideBB_insensitive.png | bin | 0 -> 1162 bytes | |||
-rw-r--r-- | game/screens.rpy | 14 | ||||
-rw-r--r-- | game/script.rpy | 7 |
4 files changed, 19 insertions, 5 deletions
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 Binary files differnew file mode 100644 index 0000000..a2353b9 --- /dev/null +++ b/game/gui/WideBB_insensitive.png 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) |