diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..81ee5f1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,22 @@ +cache/ +saves/ + +# Compiled output +*.com +*.class +*.dll +*.exe +*.o +*.so + +*.rpyc +*.rpymc + +# logs +log.txt +errors.txt +traceback.txt +files.txt + +# VS Code +.vscode/ diff --git a/game/audio/music/despair_searching.ogg b/game/audio/music/despair_searching.ogg new file mode 100644 index 0000000..0ba459a Binary files /dev/null and b/game/audio/music/despair_searching.ogg differ diff --git a/game/audio/sfx/byakuya/hm.ogg b/game/audio/sfx/byakuya/hm.ogg new file mode 100644 index 0000000..525ec38 Binary files /dev/null and b/game/audio/sfx/byakuya/hm.ogg differ diff --git a/game/audio/sfx/byakuya/lets_go.ogg b/game/audio/sfx/byakuya/lets_go.ogg new file mode 100644 index 0000000..1b0d8bb Binary files /dev/null and b/game/audio/sfx/byakuya/lets_go.ogg differ diff --git a/game/audio/sfx/byakuya/naturally.ogg b/game/audio/sfx/byakuya/naturally.ogg new file mode 100644 index 0000000..676e4db Binary files /dev/null and b/game/audio/sfx/byakuya/naturally.ogg differ diff --git a/game/audio/sfx/byakuya/out_with_it.ogg b/game/audio/sfx/byakuya/out_with_it.ogg new file mode 100644 index 0000000..2019747 Binary files /dev/null and b/game/audio/sfx/byakuya/out_with_it.ogg differ diff --git a/game/audio/sfx/byakuya/such_ignorance.ogg b/game/audio/sfx/byakuya/such_ignorance.ogg new file mode 100644 index 0000000..d1c0a42 Binary files /dev/null and b/game/audio/sfx/byakuya/such_ignorance.ogg differ diff --git a/game/audio/sfx/byakuya/this_cant_be.ogg b/game/audio/sfx/byakuya/this_cant_be.ogg new file mode 100644 index 0000000..6a9957e Binary files /dev/null and b/game/audio/sfx/byakuya/this_cant_be.ogg differ diff --git a/game/audio/sfx/general/adverse.ogg b/game/audio/sfx/general/adverse.ogg new file mode 100644 index 0000000..d92cce0 Binary files /dev/null and b/game/audio/sfx/general/adverse.ogg differ diff --git a/game/audio/sfx/general/confirm.ogg b/game/audio/sfx/general/confirm.ogg new file mode 100644 index 0000000..c74412a Binary files /dev/null and b/game/audio/sfx/general/confirm.ogg differ diff --git a/game/audio/sfx/general/got_it.ogg b/game/audio/sfx/general/got_it.ogg new file mode 100644 index 0000000..1ca67e0 Binary files /dev/null and b/game/audio/sfx/general/got_it.ogg differ diff --git a/game/audio/sfx/general/shock.ogg b/game/audio/sfx/general/shock.ogg new file mode 100644 index 0000000..335e718 Binary files /dev/null and b/game/audio/sfx/general/shock.ogg differ diff --git a/game/gui.rpy b/game/gui.rpy new file mode 100644 index 0000000..4c7e61f --- /dev/null +++ b/game/gui.rpy @@ -0,0 +1,474 @@ +################################################################################ +## Initialization +################################################################################ + +## The init offset statement causes the initialization statements in this file +## to run before init statements in any other file. +init offset = -2 + +## Calling gui.init resets the styles to sensible default values, and sets the +## width and height of the game. +init python: + gui.init(1920, 1080) + + + +################################################################################ +## GUI Configuration Variables +################################################################################ + + +## Colors ###################################################################### +## +## The colors of text in the interface. + +## An accent color used throughout the interface to label and highlight text. +define gui.accent_color = '#0099cc' + +## The color used for a text button when it is neither selected nor hovered. +define gui.idle_color = '#888888' + +## The small color is used for small text, which needs to be brighter/darker to +## achieve the same effect. +define gui.idle_small_color = '#aaaaaa' + +## The color that is used for buttons and bars that are hovered. +define gui.hover_color = '#66c1e0' + +## The color used for a text button when it is selected but not focused. A +## button is selected if it is the current screen or preference value. +define gui.selected_color = '#ffffff' + +## The color used for a text button when it cannot be selected. +define gui.insensitive_color = '#8888887f' + +## Colors used for the portions of bars that are not filled in. These are not +## used directly, but are used when re-generating bar image files. +define gui.muted_color = '#003d51' +define gui.hover_muted_color = '#005b7a' + +## The colors used for dialogue and menu choice text. +define gui.text_color = '#ffffff' +define gui.interface_text_color = '#ffffff' + + +## Fonts and Font Sizes ######################################################## + +## The font used for in-game text. +define gui.text_font = "DejaVuSans.ttf" + +## The font used for character names. +define gui.name_text_font = "DejaVuSans.ttf" + +## The font used for out-of-game text. +define gui.interface_text_font = "DejaVuSans.ttf" + +## The size of normal dialogue text. +define gui.text_size = 33 + +## The size of character names. +define gui.name_text_size = 45 + +## The size of text in the game's user interface. +define gui.interface_text_size = 33 + +## The size of labels in the game's user interface. +define gui.label_text_size = 36 + +## The size of text on the notify screen. +define gui.notify_text_size = 24 + +## The size of the game's title. +define gui.title_text_size = 75 + + +## Main and Game Menus ######################################################### + +## The images used for the main and game menus. +define gui.main_menu_background = "gui/main_menu.png" +define gui.game_menu_background = "gui/game_menu.png" + + +## Dialogue #################################################################### +## +## These variables control how dialogue is displayed on the screen one line at a +## time. + +## The height of the textbox containing dialogue. +define gui.textbox_height = 278 + +## The placement of the textbox vertically on the screen. 0.0 is the top, 0.5 is +## center, and 1.0 is the bottom. +define gui.textbox_yalign = 1.0 + + +## The placement of the speaking character's name, relative to the textbox. +## These can be a whole number of pixels from the left or top, or 0.5 to center. +define gui.name_xpos = 360 +define gui.name_ypos = 0 + +## The horizontal alignment of the character's name. This can be 0.0 for left- +## aligned, 0.5 for centered, and 1.0 for right-aligned. +define gui.name_xalign = 0.0 + +## The width, height, and borders of the box containing the character's name, or +## None to automatically size it. +define gui.namebox_width = None +define gui.namebox_height = None + +## The borders of the box containing the character's name, in left, top, right, +## bottom order. +define gui.namebox_borders = Borders(5, 5, 5, 5) + +## If True, the background of the namebox will be tiled, if False, the +## background of the namebox will be scaled. +define gui.namebox_tile = False + + +## The placement of dialogue relative to the textbox. These can be a whole +## number of pixels relative to the left or top side of the textbox, or 0.5 to +## center. +define gui.dialogue_xpos = 402 +define gui.dialogue_ypos = 75 + +## The maximum width of dialogue text, in pixels. +define gui.dialogue_width = 1116 + +## The horizontal alignment of the dialogue text. This can be 0.0 for left- +## aligned, 0.5 for centered, and 1.0 for right-aligned. +define gui.dialogue_text_xalign = 0.0 + + +## Buttons ##################################################################### +## +## These variables, along with the image files in gui/button, control aspects of +## how buttons are displayed. + +## The width and height of a button, in pixels. If None, Ren'Py computes a size. +define gui.button_width = None +define gui.button_height = None + +## The borders on each side of the button, in left, top, right, bottom order. +define gui.button_borders = Borders(6, 6, 6, 6) + +## If True, the background image will be tiled. If False, the background image +## will be linearly scaled. +define gui.button_tile = False + +## The font used by the button. +define gui.button_text_font = gui.interface_text_font + +## The size of the text used by the button. +define gui.button_text_size = gui.interface_text_size + +## The color of button text in various states. +define gui.button_text_idle_color = gui.idle_color +define gui.button_text_hover_color = gui.hover_color +define gui.button_text_selected_color = gui.selected_color +define gui.button_text_insensitive_color = gui.insensitive_color + +## The horizontal alignment of the button text. (0.0 is left, 0.5 is center, 1.0 +## is right). +define gui.button_text_xalign = 0.0 + + +## These variables override settings for different kinds of buttons. Please see +## the gui documentation for the kinds of buttons available, and what each is +## used for. +## +## These customizations are used by the default interface: + +define gui.radio_button_borders = Borders(27, 6, 6, 6) + +define gui.check_button_borders = Borders(27, 6, 6, 6) + +define gui.confirm_button_text_xalign = 0.5 + +define gui.page_button_borders = Borders(15, 6, 15, 6) + +define gui.quick_button_borders = Borders(15, 6, 15, 0) +define gui.quick_button_text_size = 21 +define gui.quick_button_text_idle_color = gui.idle_small_color +define gui.quick_button_text_selected_color = gui.accent_color + +## You can also add your own customizations, by adding properly-named variables. +## For example, you can uncomment the following line to set the width of a +## navigation button. + +# define gui.navigation_button_width = 250 + + +## Choice Buttons ############################################################## +## +## Choice buttons are used in the in-game menus. + +define gui.choice_button_width = 1185 +define gui.choice_button_height = None +define gui.choice_button_tile = False +define gui.choice_button_borders = Borders(150, 8, 150, 8) +define gui.choice_button_text_font = gui.text_font +define gui.choice_button_text_size = gui.text_size +define gui.choice_button_text_xalign = 0.5 +define gui.choice_button_text_idle_color = "#cccccc" +define gui.choice_button_text_hover_color = "#ffffff" +define gui.choice_button_text_insensitive_color = "#444444" + + +## File Slot Buttons ########################################################### +## +## A file slot button is a special kind of button. It contains a thumbnail +## image, and text describing the contents of the save slot. A save slot uses +## image files in gui/button, like the other kinds of buttons. + +## The save slot button. +define gui.slot_button_width = 414 +define gui.slot_button_height = 309 +define gui.slot_button_borders = Borders(15, 15, 15, 15) +define gui.slot_button_text_size = 21 +define gui.slot_button_text_xalign = 0.5 +define gui.slot_button_text_idle_color = gui.idle_small_color +define gui.slot_button_text_selected_idle_color = gui.selected_color +define gui.slot_button_text_selected_hover_color = gui.hover_color + +## The width and height of thumbnails used by the save slots. +define config.thumbnail_width = 384 +define config.thumbnail_height = 216 + +## The number of columns and rows in the grid of save slots. +define gui.file_slot_cols = 3 +define gui.file_slot_rows = 2 + + +## Positioning and Spacing ##################################################### +## +## These variables control the positioning and spacing of various user interface +## elements. + +## The position of the left side of the navigation buttons, relative to the left +## side of the screen. +define gui.navigation_xpos = 60 + +## The vertical position of the skip indicator. +define gui.skip_ypos = 15 + +## The vertical position of the notify screen. +define gui.notify_ypos = 68 + +## The spacing between menu choices. +define gui.choice_spacing = 33 + +## Buttons in the navigation section of the main and game menus. +define gui.navigation_spacing = 6 + +## Controls the amount of spacing between preferences. +define gui.pref_spacing = 15 + +## Controls the amount of spacing between preference buttons. +define gui.pref_button_spacing = 0 + +## The spacing between file page buttons. +define gui.page_spacing = 0 + +## The spacing between file slots. +define gui.slot_spacing = 15 + +## The position of the main menu text. +define gui.main_menu_text_xalign = 1.0 + + +## Frames ###################################################################### +## +## These variables control the look of frames that can contain user interface +## components when an overlay or window is not present. + +## Generic frames. +define gui.frame_borders = Borders(6, 6, 6, 6) + +## The frame that is used as part of the confirm screen. +define gui.confirm_frame_borders = Borders(60, 60, 60, 60) + +## The frame that is used as part of the skip screen. +define gui.skip_frame_borders = Borders(24, 8, 75, 8) + +## The frame that is used as part of the notify screen. +define gui.notify_frame_borders = Borders(24, 8, 60, 8) + +## Should frame backgrounds be tiled? +define gui.frame_tile = False + + +## Bars, Scrollbars, and Sliders ############################################### +## +## These control the look and size of bars, scrollbars, and sliders. +## +## The default GUI only uses sliders and vertical scrollbars. All of the other +## bars are only used in creator-written screens. + +## The height of horizontal bars, scrollbars, and sliders. The width of vertical +## bars, scrollbars, and sliders. +define gui.bar_size = 38 +define gui.scrollbar_size = 18 +define gui.slider_size = 38 + +## True if bar images should be tiled. False if they should be linearly scaled. +define gui.bar_tile = False +define gui.scrollbar_tile = False +define gui.slider_tile = False + +## Horizontal borders. +define gui.bar_borders = Borders(6, 6, 6, 6) +define gui.scrollbar_borders = Borders(6, 6, 6, 6) +define gui.slider_borders = Borders(6, 6, 6, 6) + +## Vertical borders. +define gui.vbar_borders = Borders(6, 6, 6, 6) +define gui.vscrollbar_borders = Borders(6, 6, 6, 6) +define gui.vslider_borders = Borders(6, 6, 6, 6) + +## What to do with unscrollable scrollbars in the gui. "hide" hides them, while +## None shows them. +define gui.unscrollable = "hide" + + +## History ##################################################################### +## +## The history screen displays dialogue that the player has already dismissed. + +## The number of blocks of dialogue history Ren'Py will keep. +define config.history_length = 250 + +## The height of a history screen entry, or None to make the height variable at +## the cost of performance. +define gui.history_height = 210 + +## The position, width, and alignment of the label giving the name of the +## speaking character. +define gui.history_name_xpos = 233 +define gui.history_name_ypos = 0 +define gui.history_name_width = 233 +define gui.history_name_xalign = 1.0 + +## The position, width, and alignment of the dialogue text. +define gui.history_text_xpos = 255 +define gui.history_text_ypos = 3 +define gui.history_text_width = 1110 +define gui.history_text_xalign = 0.0 + + +## NVL-Mode #################################################################### +## +## The NVL-mode screen displays the dialogue spoken by NVL-mode characters. + +## The borders of the background of the NVL-mode background window. +define gui.nvl_borders = Borders(0, 15, 0, 30) + +## The maximum number of NVL-mode entries Ren'Py will display. When more entries +## than this are to be show, the oldest entry will be removed. +define gui.nvl_list_length = 6 + +## The height of an NVL-mode entry. Set this to None to have the entries +## dynamically adjust height. +define gui.nvl_height = 173 + +## The spacing between NVL-mode entries when gui.nvl_height is None, and between +## NVL-mode entries and an NVL-mode menu. +define gui.nvl_spacing = 15 + +## The position, width, and alignment of the label giving the name of the +## speaking character. +define gui.nvl_name_xpos = 645 +define gui.nvl_name_ypos = 0 +define gui.nvl_name_width = 225 +define gui.nvl_name_xalign = 1.0 + +## The position, width, and alignment of the dialogue text. +define gui.nvl_text_xpos = 675 +define gui.nvl_text_ypos = 12 +define gui.nvl_text_width = 885 +define gui.nvl_text_xalign = 0.0 + +## The position, width, and alignment of nvl_thought text (the text said by the +## nvl_narrator character.) +define gui.nvl_thought_xpos = 360 +define gui.nvl_thought_ypos = 0 +define gui.nvl_thought_width = 1170 +define gui.nvl_thought_xalign = 0.0 + +## The position of nvl menu_buttons. +define gui.nvl_button_xpos = 675 +define gui.nvl_button_xalign = 0.0 + +## Localization ################################################################ + +## This controls where a line break is permitted. The default is suitable +## for most languages. A list of available values can be found at https:// +## www.renpy.org/doc/html/style_properties.html#style-property-language + +define gui.language = "unicode" + + +################################################################################ +## Mobile devices +################################################################################ + +init python: + + ## This increases the size of the quick buttons to make them easier to touch + ## on tablets and phones. + @gui.variant + def touch(): + + gui.quick_button_borders = Borders(60, 21, 60, 0) + + ## This changes the size and spacing of various GUI elements to ensure they + ## are easily visible on phones. + @gui.variant + def small(): + + ## Font sizes. + gui.text_size = 45 + gui.name_text_size = 54 + gui.notify_text_size = 38 + gui.interface_text_size = 45 + gui.button_text_size = 45 + gui.label_text_size = 51 + + ## Adjust the location of the textbox. + gui.textbox_height = 360 + gui.name_xpos = 120 + gui.dialogue_xpos = 135 + gui.dialogue_width = 1650 + + ## Change the size and spacing of various things. + gui.slider_size = 54 + + gui.choice_button_width = 1860 + gui.choice_button_text_size = 45 + + gui.navigation_spacing = 30 + gui.pref_button_spacing = 15 + + gui.history_height = 285 + gui.history_text_width = 1035 + + gui.quick_button_text_size = 30 + + ## File button layout. + gui.file_slot_cols = 2 + gui.file_slot_rows = 2 + + ## NVL-mode. + gui.nvl_height = 255 + + gui.nvl_name_width = 458 + gui.nvl_name_xpos = 488 + + gui.nvl_text_width = 1373 + gui.nvl_text_xpos = 518 + gui.nvl_text_ypos = 8 + + gui.nvl_thought_width = 1860 + gui.nvl_thought_xpos = 30 + + gui.nvl_button_width = 1860 + gui.nvl_button_xpos = 30 diff --git a/game/gui/bar/bottom.png b/game/gui/bar/bottom.png new file mode 100644 index 0000000..9e4af6f Binary files /dev/null and b/game/gui/bar/bottom.png differ diff --git a/game/gui/bar/left.png b/game/gui/bar/left.png new file mode 100644 index 0000000..d1110f5 Binary files /dev/null and b/game/gui/bar/left.png differ diff --git a/game/gui/bar/right.png b/game/gui/bar/right.png new file mode 100644 index 0000000..4cc7bbf Binary files /dev/null and b/game/gui/bar/right.png differ diff --git a/game/gui/bar/top.png b/game/gui/bar/top.png new file mode 100644 index 0000000..db59bad Binary files /dev/null and b/game/gui/bar/top.png differ diff --git a/game/gui/button/check_foreground.png b/game/gui/button/check_foreground.png new file mode 100644 index 0000000..4113f1a Binary files /dev/null and b/game/gui/button/check_foreground.png differ diff --git a/game/gui/button/check_selected_foreground.png b/game/gui/button/check_selected_foreground.png new file mode 100644 index 0000000..3476fd0 Binary files /dev/null and b/game/gui/button/check_selected_foreground.png differ diff --git a/game/gui/button/choice_hover_background.png b/game/gui/button/choice_hover_background.png new file mode 100644 index 0000000..9b81c2a Binary files /dev/null and b/game/gui/button/choice_hover_background.png differ diff --git a/game/gui/button/choice_idle_background.png b/game/gui/button/choice_idle_background.png new file mode 100644 index 0000000..bfae13c Binary files /dev/null and b/game/gui/button/choice_idle_background.png differ diff --git a/game/gui/button/hover_background.png b/game/gui/button/hover_background.png new file mode 100644 index 0000000..266d53b Binary files /dev/null and b/game/gui/button/hover_background.png differ diff --git a/game/gui/button/idle_background.png b/game/gui/button/idle_background.png new file mode 100644 index 0000000..266d53b Binary files /dev/null and b/game/gui/button/idle_background.png differ diff --git a/game/gui/button/quick_hover_background.png b/game/gui/button/quick_hover_background.png new file mode 100644 index 0000000..0ecc7c9 Binary files /dev/null and b/game/gui/button/quick_hover_background.png differ diff --git a/game/gui/button/quick_idle_background.png b/game/gui/button/quick_idle_background.png new file mode 100644 index 0000000..0ecc7c9 Binary files /dev/null and b/game/gui/button/quick_idle_background.png differ diff --git a/game/gui/button/radio_foreground.png b/game/gui/button/radio_foreground.png new file mode 100644 index 0000000..4113f1a Binary files /dev/null and b/game/gui/button/radio_foreground.png differ diff --git a/game/gui/button/radio_selected_foreground.png b/game/gui/button/radio_selected_foreground.png new file mode 100644 index 0000000..3476fd0 Binary files /dev/null and b/game/gui/button/radio_selected_foreground.png differ diff --git a/game/gui/button/slot_hover_background.png b/game/gui/button/slot_hover_background.png new file mode 100644 index 0000000..4337092 Binary files /dev/null and b/game/gui/button/slot_hover_background.png differ diff --git a/game/gui/button/slot_idle_background.png b/game/gui/button/slot_idle_background.png new file mode 100644 index 0000000..7698e50 Binary files /dev/null and b/game/gui/button/slot_idle_background.png differ diff --git a/game/gui/frame.png b/game/gui/frame.png new file mode 100644 index 0000000..53ee244 Binary files /dev/null and b/game/gui/frame.png differ diff --git a/game/gui/game_menu.png b/game/gui/game_menu.png new file mode 100644 index 0000000..20c36b8 Binary files /dev/null and b/game/gui/game_menu.png differ diff --git a/game/gui/main_menu.png b/game/gui/main_menu.png new file mode 100644 index 0000000..20c36b8 Binary files /dev/null and b/game/gui/main_menu.png differ diff --git a/game/gui/namebox.png b/game/gui/namebox.png new file mode 100644 index 0000000..c24135c Binary files /dev/null and b/game/gui/namebox.png differ diff --git a/game/gui/notify.png b/game/gui/notify.png new file mode 100644 index 0000000..780c311 Binary files /dev/null and b/game/gui/notify.png differ diff --git a/game/gui/nvl.png b/game/gui/nvl.png new file mode 100644 index 0000000..7bbc928 Binary files /dev/null and b/game/gui/nvl.png differ diff --git a/game/gui/overlay/confirm.png b/game/gui/overlay/confirm.png new file mode 100644 index 0000000..05591f2 Binary files /dev/null and b/game/gui/overlay/confirm.png differ diff --git a/game/gui/overlay/game_menu.png b/game/gui/overlay/game_menu.png new file mode 100644 index 0000000..c4843e2 Binary files /dev/null and b/game/gui/overlay/game_menu.png differ diff --git a/game/gui/overlay/main_menu.png b/game/gui/overlay/main_menu.png new file mode 100644 index 0000000..63fbecc Binary files /dev/null and b/game/gui/overlay/main_menu.png differ diff --git a/game/gui/phone/bar/bottom.png b/game/gui/phone/bar/bottom.png new file mode 100644 index 0000000..9e4af6f Binary files /dev/null and b/game/gui/phone/bar/bottom.png differ diff --git a/game/gui/phone/bar/left.png b/game/gui/phone/bar/left.png new file mode 100644 index 0000000..d1110f5 Binary files /dev/null and b/game/gui/phone/bar/left.png differ diff --git a/game/gui/phone/bar/right.png b/game/gui/phone/bar/right.png new file mode 100644 index 0000000..4cc7bbf Binary files /dev/null and b/game/gui/phone/bar/right.png differ diff --git a/game/gui/phone/bar/top.png b/game/gui/phone/bar/top.png new file mode 100644 index 0000000..db59bad Binary files /dev/null and b/game/gui/phone/bar/top.png differ diff --git a/game/gui/phone/button/check_foreground.png b/game/gui/phone/button/check_foreground.png new file mode 100644 index 0000000..c334a43 Binary files /dev/null and b/game/gui/phone/button/check_foreground.png differ diff --git a/game/gui/phone/button/check_selected_foreground.png b/game/gui/phone/button/check_selected_foreground.png new file mode 100644 index 0000000..f89676e Binary files /dev/null and b/game/gui/phone/button/check_selected_foreground.png differ diff --git a/game/gui/phone/button/choice_hover_background.png b/game/gui/phone/button/choice_hover_background.png new file mode 100644 index 0000000..9b81c2a Binary files /dev/null and b/game/gui/phone/button/choice_hover_background.png differ diff --git a/game/gui/phone/button/choice_idle_background.png b/game/gui/phone/button/choice_idle_background.png new file mode 100644 index 0000000..bfae13c Binary files /dev/null and b/game/gui/phone/button/choice_idle_background.png differ diff --git a/game/gui/phone/button/hover_background.png b/game/gui/phone/button/hover_background.png new file mode 100644 index 0000000..6264b8b Binary files /dev/null and b/game/gui/phone/button/hover_background.png differ diff --git a/game/gui/phone/button/idle_background.png b/game/gui/phone/button/idle_background.png new file mode 100644 index 0000000..6264b8b Binary files /dev/null and b/game/gui/phone/button/idle_background.png differ diff --git a/game/gui/phone/button/radio_foreground.png b/game/gui/phone/button/radio_foreground.png new file mode 100644 index 0000000..c334a43 Binary files /dev/null and b/game/gui/phone/button/radio_foreground.png differ diff --git a/game/gui/phone/button/radio_selected_foreground.png b/game/gui/phone/button/radio_selected_foreground.png new file mode 100644 index 0000000..f89676e Binary files /dev/null and b/game/gui/phone/button/radio_selected_foreground.png differ diff --git a/game/gui/phone/button/slot_hover_background.png b/game/gui/phone/button/slot_hover_background.png new file mode 100644 index 0000000..4337092 Binary files /dev/null and b/game/gui/phone/button/slot_hover_background.png differ diff --git a/game/gui/phone/button/slot_idle_background.png b/game/gui/phone/button/slot_idle_background.png new file mode 100644 index 0000000..7698e50 Binary files /dev/null and b/game/gui/phone/button/slot_idle_background.png differ diff --git a/game/gui/phone/nvl.png b/game/gui/phone/nvl.png new file mode 100644 index 0000000..20e4250 Binary files /dev/null and b/game/gui/phone/nvl.png differ diff --git a/game/gui/phone/overlay/game_menu.png b/game/gui/phone/overlay/game_menu.png new file mode 100644 index 0000000..027c73d Binary files /dev/null and b/game/gui/phone/overlay/game_menu.png differ diff --git a/game/gui/phone/overlay/main_menu.png b/game/gui/phone/overlay/main_menu.png new file mode 100644 index 0000000..4e44d11 Binary files /dev/null and b/game/gui/phone/overlay/main_menu.png differ diff --git a/game/gui/phone/scrollbar/horizontal_hover_bar.png b/game/gui/phone/scrollbar/horizontal_hover_bar.png new file mode 100644 index 0000000..8a7896b Binary files /dev/null and b/game/gui/phone/scrollbar/horizontal_hover_bar.png differ diff --git a/game/gui/phone/scrollbar/horizontal_hover_thumb.png b/game/gui/phone/scrollbar/horizontal_hover_thumb.png new file mode 100644 index 0000000..d77f3c3 Binary files /dev/null and b/game/gui/phone/scrollbar/horizontal_hover_thumb.png differ diff --git a/game/gui/phone/scrollbar/horizontal_idle_bar.png b/game/gui/phone/scrollbar/horizontal_idle_bar.png new file mode 100644 index 0000000..940b19e Binary files /dev/null and b/game/gui/phone/scrollbar/horizontal_idle_bar.png differ diff --git a/game/gui/phone/scrollbar/horizontal_idle_thumb.png b/game/gui/phone/scrollbar/horizontal_idle_thumb.png new file mode 100644 index 0000000..fc0f01e Binary files /dev/null and b/game/gui/phone/scrollbar/horizontal_idle_thumb.png differ diff --git a/game/gui/phone/scrollbar/vertical_hover_bar.png b/game/gui/phone/scrollbar/vertical_hover_bar.png new file mode 100644 index 0000000..d9180fa Binary files /dev/null and b/game/gui/phone/scrollbar/vertical_hover_bar.png differ diff --git a/game/gui/phone/scrollbar/vertical_hover_thumb.png b/game/gui/phone/scrollbar/vertical_hover_thumb.png new file mode 100644 index 0000000..e662802 Binary files /dev/null and b/game/gui/phone/scrollbar/vertical_hover_thumb.png differ diff --git a/game/gui/phone/scrollbar/vertical_idle_bar.png b/game/gui/phone/scrollbar/vertical_idle_bar.png new file mode 100644 index 0000000..b0c62bf Binary files /dev/null and b/game/gui/phone/scrollbar/vertical_idle_bar.png differ diff --git a/game/gui/phone/scrollbar/vertical_idle_thumb.png b/game/gui/phone/scrollbar/vertical_idle_thumb.png new file mode 100644 index 0000000..f66307b Binary files /dev/null and b/game/gui/phone/scrollbar/vertical_idle_thumb.png differ diff --git a/game/gui/phone/slider/horizontal_hover_bar.png b/game/gui/phone/slider/horizontal_hover_bar.png new file mode 100644 index 0000000..643c72d Binary files /dev/null and b/game/gui/phone/slider/horizontal_hover_bar.png differ diff --git a/game/gui/phone/slider/horizontal_hover_thumb.png b/game/gui/phone/slider/horizontal_hover_thumb.png new file mode 100644 index 0000000..0599090 Binary files /dev/null and b/game/gui/phone/slider/horizontal_hover_thumb.png differ diff --git a/game/gui/phone/slider/horizontal_idle_bar.png b/game/gui/phone/slider/horizontal_idle_bar.png new file mode 100644 index 0000000..f771ecc Binary files /dev/null and b/game/gui/phone/slider/horizontal_idle_bar.png differ diff --git a/game/gui/phone/slider/horizontal_idle_thumb.png b/game/gui/phone/slider/horizontal_idle_thumb.png new file mode 100644 index 0000000..e32f7bb Binary files /dev/null and b/game/gui/phone/slider/horizontal_idle_thumb.png differ diff --git a/game/gui/phone/slider/vertical_hover_bar.png b/game/gui/phone/slider/vertical_hover_bar.png new file mode 100644 index 0000000..0566a47 Binary files /dev/null and b/game/gui/phone/slider/vertical_hover_bar.png differ diff --git a/game/gui/phone/slider/vertical_hover_thumb.png b/game/gui/phone/slider/vertical_hover_thumb.png new file mode 100644 index 0000000..46356aa Binary files /dev/null and b/game/gui/phone/slider/vertical_hover_thumb.png differ diff --git a/game/gui/phone/slider/vertical_idle_bar.png b/game/gui/phone/slider/vertical_idle_bar.png new file mode 100644 index 0000000..1c70b33 Binary files /dev/null and b/game/gui/phone/slider/vertical_idle_bar.png differ diff --git a/game/gui/phone/slider/vertical_idle_thumb.png b/game/gui/phone/slider/vertical_idle_thumb.png new file mode 100644 index 0000000..e6d5e9e Binary files /dev/null and b/game/gui/phone/slider/vertical_idle_thumb.png differ diff --git a/game/gui/phone/textbox.png b/game/gui/phone/textbox.png new file mode 100644 index 0000000..48d8703 Binary files /dev/null and b/game/gui/phone/textbox.png differ diff --git a/game/gui/scrollbar/horizontal_hover_bar.png b/game/gui/scrollbar/horizontal_hover_bar.png new file mode 100644 index 0000000..8a7896b Binary files /dev/null and b/game/gui/scrollbar/horizontal_hover_bar.png differ diff --git a/game/gui/scrollbar/horizontal_hover_thumb.png b/game/gui/scrollbar/horizontal_hover_thumb.png new file mode 100644 index 0000000..d77f3c3 Binary files /dev/null and b/game/gui/scrollbar/horizontal_hover_thumb.png differ diff --git a/game/gui/scrollbar/horizontal_idle_bar.png b/game/gui/scrollbar/horizontal_idle_bar.png new file mode 100644 index 0000000..940b19e Binary files /dev/null and b/game/gui/scrollbar/horizontal_idle_bar.png differ diff --git a/game/gui/scrollbar/horizontal_idle_thumb.png b/game/gui/scrollbar/horizontal_idle_thumb.png new file mode 100644 index 0000000..fc0f01e Binary files /dev/null and b/game/gui/scrollbar/horizontal_idle_thumb.png differ diff --git a/game/gui/scrollbar/vertical_hover_bar.png b/game/gui/scrollbar/vertical_hover_bar.png new file mode 100644 index 0000000..d9180fa Binary files /dev/null and b/game/gui/scrollbar/vertical_hover_bar.png differ diff --git a/game/gui/scrollbar/vertical_hover_thumb.png b/game/gui/scrollbar/vertical_hover_thumb.png new file mode 100644 index 0000000..e662802 Binary files /dev/null and b/game/gui/scrollbar/vertical_hover_thumb.png differ diff --git a/game/gui/scrollbar/vertical_idle_bar.png b/game/gui/scrollbar/vertical_idle_bar.png new file mode 100644 index 0000000..b0c62bf Binary files /dev/null and b/game/gui/scrollbar/vertical_idle_bar.png differ diff --git a/game/gui/scrollbar/vertical_idle_thumb.png b/game/gui/scrollbar/vertical_idle_thumb.png new file mode 100644 index 0000000..f66307b Binary files /dev/null and b/game/gui/scrollbar/vertical_idle_thumb.png differ diff --git a/game/gui/skip.png b/game/gui/skip.png new file mode 100644 index 0000000..51235e8 Binary files /dev/null and b/game/gui/skip.png differ diff --git a/game/gui/slider/horizontal_hover_bar.png b/game/gui/slider/horizontal_hover_bar.png new file mode 100644 index 0000000..d77f54e Binary files /dev/null and b/game/gui/slider/horizontal_hover_bar.png differ diff --git a/game/gui/slider/horizontal_hover_thumb.png b/game/gui/slider/horizontal_hover_thumb.png new file mode 100644 index 0000000..dfdfa3f Binary files /dev/null and b/game/gui/slider/horizontal_hover_thumb.png differ diff --git a/game/gui/slider/horizontal_idle_bar.png b/game/gui/slider/horizontal_idle_bar.png new file mode 100644 index 0000000..4cc7bbf Binary files /dev/null and b/game/gui/slider/horizontal_idle_bar.png differ diff --git a/game/gui/slider/horizontal_idle_thumb.png b/game/gui/slider/horizontal_idle_thumb.png new file mode 100644 index 0000000..0a99af6 Binary files /dev/null and b/game/gui/slider/horizontal_idle_thumb.png differ diff --git a/game/gui/slider/vertical_hover_bar.png b/game/gui/slider/vertical_hover_bar.png new file mode 100644 index 0000000..47b191a Binary files /dev/null and b/game/gui/slider/vertical_hover_bar.png differ diff --git a/game/gui/slider/vertical_hover_thumb.png b/game/gui/slider/vertical_hover_thumb.png new file mode 100644 index 0000000..ff281b6 Binary files /dev/null and b/game/gui/slider/vertical_hover_thumb.png differ diff --git a/game/gui/slider/vertical_idle_bar.png b/game/gui/slider/vertical_idle_bar.png new file mode 100644 index 0000000..db59bad Binary files /dev/null and b/game/gui/slider/vertical_idle_bar.png differ diff --git a/game/gui/slider/vertical_idle_thumb.png b/game/gui/slider/vertical_idle_thumb.png new file mode 100644 index 0000000..a748133 Binary files /dev/null and b/game/gui/slider/vertical_idle_thumb.png differ diff --git a/game/gui/textbox.png b/game/gui/textbox.png new file mode 100644 index 0000000..1cd5cfd Binary files /dev/null and b/game/gui/textbox.png differ diff --git a/game/gui/window_icon.png b/game/gui/window_icon.png new file mode 100644 index 0000000..62c79cb Binary files /dev/null and b/game/gui/window_icon.png differ diff --git a/game/images/backgrounds/gym.png b/game/images/backgrounds/gym.png new file mode 100644 index 0000000..8ecfa6a Binary files /dev/null and b/game/images/backgrounds/gym.png differ diff --git a/game/images/characters/byakuya/command.png b/game/images/characters/byakuya/command.png new file mode 100644 index 0000000..35fc08a Binary files /dev/null and b/game/images/characters/byakuya/command.png differ diff --git a/game/images/characters/byakuya/despair.png b/game/images/characters/byakuya/despair.png new file mode 100644 index 0000000..bcef2c6 Binary files /dev/null and b/game/images/characters/byakuya/despair.png differ diff --git a/game/images/characters/byakuya/leave.png b/game/images/characters/byakuya/leave.png new file mode 100644 index 0000000..5d4656a Binary files /dev/null and b/game/images/characters/byakuya/leave.png differ diff --git a/game/images/characters/byakuya/mock.png b/game/images/characters/byakuya/mock.png new file mode 100644 index 0000000..127b043 Binary files /dev/null and b/game/images/characters/byakuya/mock.png differ diff --git a/game/images/characters/byakuya/neutral.png b/game/images/characters/byakuya/neutral.png new file mode 100644 index 0000000..8a789f4 Binary files /dev/null and b/game/images/characters/byakuya/neutral.png differ diff --git a/game/images/characters/byakuya/shock.png b/game/images/characters/byakuya/shock.png new file mode 100644 index 0000000..cba832d Binary files /dev/null and b/game/images/characters/byakuya/shock.png differ diff --git a/game/images/characters/byakuya/smirk.png b/game/images/characters/byakuya/smirk.png new file mode 100644 index 0000000..3104eb5 Binary files /dev/null and b/game/images/characters/byakuya/smirk.png differ diff --git a/game/images/characters/byakuya/think.png b/game/images/characters/byakuya/think.png new file mode 100644 index 0000000..ad46fc0 Binary files /dev/null and b/game/images/characters/byakuya/think.png differ diff --git a/game/images/characters/shuichi/flustered.png b/game/images/characters/shuichi/flustered.png new file mode 100644 index 0000000..3f21d43 Binary files /dev/null and b/game/images/characters/shuichi/flustered.png differ diff --git a/game/images/characters/shuichi/happy.png b/game/images/characters/shuichi/happy.png new file mode 100644 index 0000000..5e54654 Binary files /dev/null and b/game/images/characters/shuichi/happy.png differ diff --git a/game/images/characters/shuichi/happy_open.png b/game/images/characters/shuichi/happy_open.png new file mode 100644 index 0000000..ca58f4e Binary files /dev/null and b/game/images/characters/shuichi/happy_open.png differ diff --git a/game/images/characters/shuichi/neutral.png b/game/images/characters/shuichi/neutral.png new file mode 100644 index 0000000..017d706 Binary files /dev/null and b/game/images/characters/shuichi/neutral.png differ diff --git a/game/images/characters/shuichi/shock.png b/game/images/characters/shuichi/shock.png new file mode 100644 index 0000000..1e4cc70 Binary files /dev/null and b/game/images/characters/shuichi/shock.png differ diff --git a/game/images/characters/shuichi/think.png b/game/images/characters/shuichi/think.png new file mode 100644 index 0000000..1776764 Binary files /dev/null and b/game/images/characters/shuichi/think.png differ diff --git a/game/options.rpy b/game/options.rpy new file mode 100644 index 0000000..cf3484c --- /dev/null +++ b/game/options.rpy @@ -0,0 +1,209 @@ +## This file contains options that can be changed to customize your game. +## +## Lines beginning with two '#' marks are comments, and you shouldn't uncomment +## them. Lines beginning with a single '#' mark are commented-out code, and you +## may want to uncomment them when appropriate. + + +## Basics ###################################################################### + +## A human-readable name of the game. This is used to set the default window +## title, and shows up in the interface and error reports. +## +## The _() surrounding the string marks it as eligible for translation. + +define config.name = _("Test") + + +## Determines if the title given above is shown on the main menu screen. Set +## this to False to hide the title. + +define gui.show_name = True + + +## The version of the game. + +define config.version = "1.0" + + +## Text that is placed on the game's about screen. Place the text between the +## triple-quotes, and leave a blank line between paragraphs. + +define gui.about = _p(""" +""") + + +## A short name for the game used for executables and directories in the built +## distribution. This must be ASCII-only, and must not contain spaces, colons, +## or semicolons. + +define build.name = "Test" + + +## Sounds and music ############################################################ + +## These three variables control, among other things, which mixers are shown +## to the player by default. Setting one of these to False will hide the +## appropriate mixer. + +define config.has_sound = True +define config.has_music = True +define config.has_voice = True + + +## To allow the user to play a test sound on the sound or voice channel, +## uncomment a line below and use it to set a sample sound to play. + +# define config.sample_sound = "sample-sound.ogg" +# define config.sample_voice = "sample-voice.ogg" + + +## Uncomment the following line to set an audio file that will be played while +## the player is at the main menu. This file will continue playing into the +## game, until it is stopped or another file is played. + +# define config.main_menu_music = "main-menu-theme.ogg" + + +## Transitions ################################################################# +## +## These variables set transitions that are used when certain events occur. +## Each variable should be set to a transition, or None to indicate that no +## transition should be used. + +## Entering or exiting the game menu. + +define config.enter_transition = dissolve +define config.exit_transition = dissolve + + +## Between screens of the game menu. + +define config.intra_transition = dissolve + + +## A transition that is used after a game has been loaded. + +define config.after_load_transition = None + + +## Used when entering the main menu after the game has ended. + +define config.end_game_transition = None + + +## A variable to set the transition used when the game starts does not exist. +## Instead, use a with statement after showing the initial scene. + + +## Window management ########################################################### +## +## This controls when the dialogue window is displayed. If "show", it is always +## displayed. If "hide", it is only displayed when dialogue is present. If +## "auto", the window is hidden before scene statements and shown again once +## dialogue is displayed. +## +## After the game has started, this can be changed with the "window show", +## "window hide", and "window auto" statements. + +define config.window = "auto" + + +## Transitions used to show and hide the dialogue window + +define config.window_show_transition = Dissolve(.2) +define config.window_hide_transition = Dissolve(.2) + + +## Preference defaults ######################################################### + +## Controls the default text speed. The default, 0, is infinite, while any other +## number is the number of characters per second to type out. + +default preferences.text_cps = 0 + + +## The default auto-forward delay. Larger numbers lead to longer waits, with 0 +## to 30 being the valid range. + +default preferences.afm_time = 15 + + +## Save directory ############################################################## +## +## Controls the platform-specific place Ren'Py will place the save files for +## this game. The save files will be placed in: +## +## Windows: %APPDATA\RenPy\ +## +## Macintosh: $HOME/Library/RenPy/ +## +## Linux: $HOME/.renpy/ +## +## This generally should not be changed, and if it is, should always be a +## literal string, not an expression. + +define config.save_directory = "Test-1680821590" + + +## Icon ######################################################################## +## +## The icon displayed on the taskbar or dock. + +define config.window_icon = "gui/window_icon.png" + + +## Build configuration ######################################################### +## +## This section controls how Ren'Py turns your project into distribution files. + +init python: + + ## The following functions take file patterns. File patterns are case- + ## insensitive, and matched against the path relative to the base directory, + ## with and without a leading /. If multiple patterns match, the first is + ## used. + ## + ## In a pattern: + ## + ## / is the directory separator. + ## + ## * matches all characters, except the directory separator. + ## + ## ** matches all characters, including the directory separator. + ## + ## For example, "*.txt" matches txt files in the base directory, "game/ + ## **.ogg" matches ogg files in the game directory or any of its + ## subdirectories, and "**.psd" matches psd files anywhere in the project. + + ## Classify files as None to exclude them from the built distributions. + + build.classify('**~', None) + build.classify('**.bak', None) + build.classify('**/.**', None) + build.classify('**/#**', None) + build.classify('**/thumbs.db', None) + + ## To archive files, classify them as 'archive'. + + # build.classify('game/**.png', 'archive') + # build.classify('game/**.jpg', 'archive') + + ## Files matching documentation patterns are duplicated in a mac app build, + ## so they appear in both the app and the zip file. + + build.documentation('*.html') + build.documentation('*.txt') + + +## A Google Play license key is required to download expansion files and perform +## in-app purchases. It can be found on the "Services & APIs" page of the Google +## Play developer console. + +# define build.google_play_key = "..." + + +## The username and project name associated with an itch.io project, separated +## by a slash. + +# define build.itch_project = "renpytom/test-project" diff --git a/game/screens.rpy b/game/screens.rpy new file mode 100644 index 0000000..996f67a --- /dev/null +++ b/game/screens.rpy @@ -0,0 +1,1505 @@ +################################################################################ +## Initialization +################################################################################ + +init offset = -1 + + +################################################################################ +## Styles +################################################################################ + +style default: + properties gui.text_properties() + language gui.language + +style input: + properties gui.text_properties("input", accent=True) + adjust_spacing False + +style hyperlink_text: + properties gui.text_properties("hyperlink", accent=True) + hover_underline True + +style gui_text: + properties gui.text_properties("interface") + + +style button: + properties gui.button_properties("button") + +style button_text is gui_text: + properties gui.text_properties("button") + yalign 0.5 + + +style label_text is gui_text: + properties gui.text_properties("label", accent=True) + +style prompt_text is gui_text: + properties gui.text_properties("prompt") + + +style bar: + ysize gui.bar_size + left_bar Frame("gui/bar/left.png", gui.bar_borders, tile=gui.bar_tile) + right_bar Frame("gui/bar/right.png", gui.bar_borders, tile=gui.bar_tile) + +style vbar: + xsize gui.bar_size + top_bar Frame("gui/bar/top.png", gui.vbar_borders, tile=gui.bar_tile) + bottom_bar Frame("gui/bar/bottom.png", gui.vbar_borders, tile=gui.bar_tile) + +style scrollbar: + ysize gui.scrollbar_size + base_bar Frame("gui/scrollbar/horizontal_[prefix_]bar.png", gui.scrollbar_borders, tile=gui.scrollbar_tile) + thumb Frame("gui/scrollbar/horizontal_[prefix_]thumb.png", gui.scrollbar_borders, tile=gui.scrollbar_tile) + +style vscrollbar: + xsize gui.scrollbar_size + base_bar Frame("gui/scrollbar/vertical_[prefix_]bar.png", gui.vscrollbar_borders, tile=gui.scrollbar_tile) + thumb Frame("gui/scrollbar/vertical_[prefix_]thumb.png", gui.vscrollbar_borders, tile=gui.scrollbar_tile) + +style slider: + ysize gui.slider_size + base_bar Frame("gui/slider/horizontal_[prefix_]bar.png", gui.slider_borders, tile=gui.slider_tile) + thumb "gui/slider/horizontal_[prefix_]thumb.png" + +style vslider: + xsize gui.slider_size + base_bar Frame("gui/slider/vertical_[prefix_]bar.png", gui.vslider_borders, tile=gui.slider_tile) + thumb "gui/slider/vertical_[prefix_]thumb.png" + + +style frame: + padding gui.frame_borders.padding + background Frame("gui/frame.png", gui.frame_borders, tile=gui.frame_tile) + + + +################################################################################ +## In-game screens +################################################################################ + + +## Say screen ################################################################## +## +## The say screen is used to display dialogue to the player. It takes two +## parameters, who and what, which are the name of the speaking character and +## the text to be displayed, respectively. (The who parameter can be None if no +## name is given.) +## +## This screen must create a text displayable with id "what", as Ren'Py uses +## this to manage text display. It can also create displayables with id "who" +## and id "window" to apply style properties. +## +## https://www.renpy.org/doc/html/screen_special.html#say + +screen say(who, what): + style_prefix "say" + + window: + id "window" + + if who is not None: + + window: + id "namebox" + style "namebox" + text who id "who" + + text what id "what" + + + ## If there's a side image, display it above the text. Do not display on the + ## phone variant - there's no room. + if not renpy.variant("small"): + add SideImage() xalign 0.0 yalign 1.0 + + +## Make the namebox available for styling through the Character object. +init python: + config.character_id_prefixes.append('namebox') + +style window is default +style say_label is default +style say_dialogue is default +style say_thought is say_dialogue + +style namebox is default +style namebox_label is say_label + + +style window: + xalign 0.5 + xfill True + yalign gui.textbox_yalign + ysize gui.textbox_height + + background Image("gui/textbox.png", xalign=0.5, yalign=1.0) + +style namebox: + xpos gui.name_xpos + xanchor gui.name_xalign + xsize gui.namebox_width + ypos gui.name_ypos + ysize gui.namebox_height + + background Frame("gui/namebox.png", gui.namebox_borders, tile=gui.namebox_tile, xalign=gui.name_xalign) + padding gui.namebox_borders.padding + +style say_label: + properties gui.text_properties("name", accent=True) + xalign gui.name_xalign + yalign 0.5 + +style say_dialogue: + properties gui.text_properties("dialogue") + + xpos gui.dialogue_xpos + xsize gui.dialogue_width + ypos gui.dialogue_ypos + + adjust_spacing False + +## Input screen ################################################################ +## +## This screen is used to display renpy.input. The prompt parameter is used to +## pass a text prompt in. +## +## This screen must create an input displayable with id "input" to accept the +## various input parameters. +## +## https://www.renpy.org/doc/html/screen_special.html#input + +screen input(prompt): + style_prefix "input" + + window: + + vbox: + xanchor gui.dialogue_text_xalign + xpos gui.dialogue_xpos + xsize gui.dialogue_width + ypos gui.dialogue_ypos + + text prompt style "input_prompt" + input id "input" + +style input_prompt is default + +style input_prompt: + xalign gui.dialogue_text_xalign + properties gui.text_properties("input_prompt") + +style input: + xalign gui.dialogue_text_xalign + xmaximum gui.dialogue_width + + +## Choice screen ############################################################### +## +## This screen is used to display the in-game choices presented by the menu +## statement. The one parameter, items, is a list of objects, each with caption +## and action fields. +## +## https://www.renpy.org/doc/html/screen_special.html#choice + +screen choice(items): + style_prefix "choice" + + vbox: + for i in items: + textbutton i.caption action i.action + + +style choice_vbox is vbox +style choice_button is button +style choice_button_text is button_text + +style choice_vbox: + xalign 0.5 + ypos 405 + yanchor 0.5 + + spacing gui.choice_spacing + +style choice_button is default: + properties gui.button_properties("choice_button") + +style choice_button_text is default: + properties gui.button_text_properties("choice_button") + + +## Quick Menu screen ########################################################### +## +## The quick menu is displayed in-game to provide easy access to the out-of-game +## menus. + +screen quick_menu(): + + ## Ensure this appears on top of other screens. + zorder 100 + + if quick_menu: + + hbox: + style_prefix "quick" + + xalign 0.5 + yalign 1.0 + + textbutton _("Back") action Rollback() + textbutton _("History") action ShowMenu('history') + textbutton _("Skip") action Skip() alternate Skip(fast=True, confirm=True) + textbutton _("Auto") action Preference("auto-forward", "toggle") + textbutton _("Save") action ShowMenu('save') + textbutton _("Q.Save") action QuickSave() + textbutton _("Q.Load") action QuickLoad() + textbutton _("Prefs") action ShowMenu('preferences') + + +## This code ensures that the quick_menu screen is displayed in-game, whenever +## the player has not explicitly hidden the interface. +init python: + config.overlay_screens.append("quick_menu") + +default quick_menu = True + +style quick_button is default +style quick_button_text is button_text + +style quick_button: + properties gui.button_properties("quick_button") + +style quick_button_text: + properties gui.button_text_properties("quick_button") + + +################################################################################ +## Main and Game Menu Screens +################################################################################ + +## Navigation screen ########################################################### +## +## This screen is included in the main and game menus, and provides navigation +## to other menus, and to start the game. + +screen navigation(): + + vbox: + style_prefix "navigation" + + xpos gui.navigation_xpos + yalign 0.5 + + spacing gui.navigation_spacing + + if main_menu: + + textbutton _("Start") action Start() + + else: + + textbutton _("History") action ShowMenu("history") + + textbutton _("Save") action ShowMenu("save") + + textbutton _("Load") action ShowMenu("load") + + textbutton _("Preferences") action ShowMenu("preferences") + + if _in_replay: + + textbutton _("End Replay") action EndReplay(confirm=True) + + elif not main_menu: + + textbutton _("Main Menu") action MainMenu() + + textbutton _("About") action ShowMenu("about") + + if renpy.variant("pc") or (renpy.variant("web") and not renpy.variant("mobile")): + + ## Help isn't necessary or relevant to mobile devices. + textbutton _("Help") action ShowMenu("help") + + if renpy.variant("pc"): + + ## The quit button is banned on iOS and unnecessary on Android and + ## Web. + textbutton _("Quit") action Quit(confirm=not main_menu) + + +style navigation_button is gui_button +style navigation_button_text is gui_button_text + +style navigation_button: + size_group "navigation" + properties gui.button_properties("navigation_button") + +style navigation_button_text: + properties gui.button_text_properties("navigation_button") + + +## Main Menu screen ############################################################ +## +## Used to display the main menu when Ren'Py starts. +## +## https://www.renpy.org/doc/html/screen_special.html#main-menu + +screen main_menu(): + + ## This ensures that any other menu screen is replaced. + tag menu + + add gui.main_menu_background + + ## This empty frame darkens the main menu. + frame: + style "main_menu_frame" + + ## The use statement includes another screen inside this one. The actual + ## contents of the main menu are in the navigation screen. + use navigation + + if gui.show_name: + + vbox: + style "main_menu_vbox" + + text "[config.name!t]": + style "main_menu_title" + + text "[config.version]": + style "main_menu_version" + + +style main_menu_frame is empty +style main_menu_vbox is vbox +style main_menu_text is gui_text +style main_menu_title is main_menu_text +style main_menu_version is main_menu_text + +style main_menu_frame: + xsize 420 + yfill True + + background "gui/overlay/main_menu.png" + +style main_menu_vbox: + xalign 1.0 + xoffset -30 + xmaximum 1200 + yalign 1.0 + yoffset -30 + +style main_menu_text: + properties gui.text_properties("main_menu", accent=True) + +style main_menu_title: + properties gui.text_properties("title") + +style main_menu_version: + properties gui.text_properties("version") + + +## Game Menu screen ############################################################ +## +## This lays out the basic common structure of a game menu screen. It's called +## with the screen title, and displays the background, title, and navigation. +## +## The scroll parameter can be None, or one of "viewport" or "vpgrid". When +## this screen is intended to be used with one or more children, which are +## transcluded (placed) inside it. + +screen game_menu(title, scroll=None, yinitial=0.0): + + style_prefix "game_menu" + + if main_menu: + add gui.main_menu_background + else: + add gui.game_menu_background + + frame: + style "game_menu_outer_frame" + + hbox: + + ## Reserve space for the navigation section. + frame: + style "game_menu_navigation_frame" + + frame: + style "game_menu_content_frame" + + if scroll == "viewport": + + viewport: + yinitial yinitial + scrollbars "vertical" + mousewheel True + draggable True + pagekeys True + + side_yfill True + + vbox: + transclude + + elif scroll == "vpgrid": + + vpgrid: + cols 1 + yinitial yinitial + + scrollbars "vertical" + mousewheel True + draggable True + pagekeys True + + side_yfill True + + transclude + + else: + + transclude + + use navigation + + textbutton _("Return"): + style "return_button" + + action Return() + + label title + + if main_menu: + key "game_menu" action ShowMenu("main_menu") + + +style game_menu_outer_frame is empty +style game_menu_navigation_frame is empty +style game_menu_content_frame is empty +style game_menu_viewport is gui_viewport +style game_menu_side is gui_side +style game_menu_scrollbar is gui_vscrollbar + +style game_menu_label is gui_label +style game_menu_label_text is gui_label_text + +style return_button is navigation_button +style return_button_text is navigation_button_text + +style game_menu_outer_frame: + bottom_padding 45 + top_padding 180 + + background "gui/overlay/game_menu.png" + +style game_menu_navigation_frame: + xsize 420 + yfill True + +style game_menu_content_frame: + left_margin 60 + right_margin 30 + top_margin 15 + +style game_menu_viewport: + xsize 1380 + +style game_menu_vscrollbar: + unscrollable gui.unscrollable + +style game_menu_side: + spacing 15 + +style game_menu_label: + xpos 75 + ysize 180 + +style game_menu_label_text: + size gui.title_text_size + color gui.accent_color + yalign 0.5 + +style return_button: + xpos gui.navigation_xpos + yalign 1.0 + yoffset -45 + + +## About screen ################################################################ +## +## This screen gives credit and copyright information about the game and Ren'Py. +## +## There's nothing special about this screen, and hence it also serves as an +## example of how to make a custom screen. + +screen about(): + + tag menu + + ## This use statement includes the game_menu screen inside this one. The + ## vbox child is then included inside the viewport inside the game_menu + ## screen. + use game_menu(_("About"), scroll="viewport"): + + style_prefix "about" + + vbox: + + label "[config.name!t]" + text _("Version [config.version!t]\n") + + ## gui.about is usually set in options.rpy. + if gui.about: + text "[gui.about!t]\n" + + text _("Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]") + + +style about_label is gui_label +style about_label_text is gui_label_text +style about_text is gui_text + +style about_label_text: + size gui.label_text_size + + +## Load and Save screens ####################################################### +## +## These screens are responsible for letting the player save the game and load +## it again. Since they share nearly everything in common, both are implemented +## in terms of a third screen, file_slots. +## +## https://www.renpy.org/doc/html/screen_special.html#save https:// +## www.renpy.org/doc/html/screen_special.html#load + +screen save(): + + tag menu + + use file_slots(_("Save")) + + +screen load(): + + tag menu + + use file_slots(_("Load")) + + +screen file_slots(title): + + default page_name_value = FilePageNameInputValue(pattern=_("Page {}"), auto=_("Automatic saves"), quick=_("Quick saves")) + + use game_menu(title): + + fixed: + + ## This ensures the input will get the enter event before any of the + ## buttons do. + order_reverse True + + ## The page name, which can be edited by clicking on a button. + button: + style "page_label" + + key_events True + xalign 0.5 + action page_name_value.Toggle() + + input: + style "page_label_text" + value page_name_value + + ## The grid of file slots. + grid gui.file_slot_cols gui.file_slot_rows: + style_prefix "slot" + + xalign 0.5 + yalign 0.5 + + spacing gui.slot_spacing + + for i in range(gui.file_slot_cols * gui.file_slot_rows): + + $ slot = i + 1 + + button: + action FileAction(slot) + + has vbox + + add FileScreenshot(slot) xalign 0.5 + + text FileTime(slot, format=_("{#file_time}%A, %B %d %Y, %H:%M"), empty=_("empty slot")): + style "slot_time_text" + + text FileSaveName(slot): + style "slot_name_text" + + key "save_delete" action FileDelete(slot) + + ## Buttons to access other pages. + hbox: + style_prefix "page" + + xalign 0.5 + yalign 1.0 + + spacing gui.page_spacing + + textbutton _("<") action FilePagePrevious() + + if config.has_autosave: + textbutton _("{#auto_page}A") action FilePage("auto") + + if config.has_quicksave: + textbutton _("{#quick_page}Q") action FilePage("quick") + + ## range(1, 10) gives the numbers from 1 to 9. + for page in range(1, 10): + textbutton "[page]" action FilePage(page) + + textbutton _(">") action FilePageNext() + + +style page_label is gui_label +style page_label_text is gui_label_text +style page_button is gui_button +style page_button_text is gui_button_text + +style slot_button is gui_button +style slot_button_text is gui_button_text +style slot_time_text is slot_button_text +style slot_name_text is slot_button_text + +style page_label: + xpadding 75 + ypadding 5 + +style page_label_text: + text_align 0.5 + layout "subtitle" + hover_color gui.hover_color + +style page_button: + properties gui.button_properties("page_button") + +style page_button_text: + properties gui.button_text_properties("page_button") + +style slot_button: + properties gui.button_properties("slot_button") + +style slot_button_text: + properties gui.button_text_properties("slot_button") + + +## Preferences screen ########################################################## +## +## The preferences screen allows the player to configure the game to better suit +## themselves. +## +## https://www.renpy.org/doc/html/screen_special.html#preferences + +screen preferences(): + + tag menu + + use game_menu(_("Preferences"), scroll="viewport"): + + vbox: + + hbox: + box_wrap True + + if renpy.variant("pc") or renpy.variant("web"): + + vbox: + style_prefix "radio" + label _("Display") + textbutton _("Window") action Preference("display", "window") + textbutton _("Fullscreen") action Preference("display", "fullscreen") + + vbox: + style_prefix "check" + label _("Skip") + textbutton _("Unseen Text") action Preference("skip", "toggle") + textbutton _("After Choices") action Preference("after choices", "toggle") + textbutton _("Transitions") action InvertSelected(Preference("transitions", "toggle")) + + ## Additional vboxes of type "radio_pref" or "check_pref" can be + ## added here, to add additional creator-defined preferences. + + null height (4 * gui.pref_spacing) + + hbox: + style_prefix "slider" + box_wrap True + + vbox: + + label _("Text Speed") + + bar value Preference("text speed") + + label _("Auto-Forward Time") + + bar value Preference("auto-forward time") + + vbox: + + if config.has_music: + label _("Music Volume") + + hbox: + bar value Preference("music volume") + + if config.has_sound: + + label _("Sound Volume") + + hbox: + bar value Preference("sound volume") + + if config.sample_sound: + textbutton _("Test") action Play("sound", config.sample_sound) + + + if config.has_voice: + label _("Voice Volume") + + hbox: + bar value Preference("voice volume") + + if config.sample_voice: + textbutton _("Test") action Play("voice", config.sample_voice) + + if config.has_music or config.has_sound or config.has_voice: + null height gui.pref_spacing + + textbutton _("Mute All"): + action Preference("all mute", "toggle") + style "mute_all_button" + + +style pref_label is gui_label +style pref_label_text is gui_label_text +style pref_vbox is vbox + +style radio_label is pref_label +style radio_label_text is pref_label_text +style radio_button is gui_button +style radio_button_text is gui_button_text +style radio_vbox is pref_vbox + +style check_label is pref_label +style check_label_text is pref_label_text +style check_button is gui_button +style check_button_text is gui_button_text +style check_vbox is pref_vbox + +style slider_label is pref_label +style slider_label_text is pref_label_text +style slider_slider is gui_slider +style slider_button is gui_button +style slider_button_text is gui_button_text +style slider_pref_vbox is pref_vbox + +style mute_all_button is check_button +style mute_all_button_text is check_button_text + +style pref_label: + top_margin gui.pref_spacing + bottom_margin 3 + +style pref_label_text: + yalign 1.0 + +style pref_vbox: + xsize 338 + +style radio_vbox: + spacing gui.pref_button_spacing + +style radio_button: + properties gui.button_properties("radio_button") + foreground "gui/button/radio_[prefix_]foreground.png" + +style radio_button_text: + properties gui.button_text_properties("radio_button") + +style check_vbox: + spacing gui.pref_button_spacing + +style check_button: + properties gui.button_properties("check_button") + foreground "gui/button/check_[prefix_]foreground.png" + +style check_button_text: + properties gui.button_text_properties("check_button") + +style slider_slider: + xsize 525 + +style slider_button: + properties gui.button_properties("slider_button") + yalign 0.5 + left_margin 15 + +style slider_button_text: + properties gui.button_text_properties("slider_button") + +style slider_vbox: + xsize 675 + + +## History screen ############################################################## +## +## This is a screen that displays the dialogue history to the player. While +## there isn't anything special about this screen, it does have to access the +## dialogue history stored in _history_list. +## +## https://www.renpy.org/doc/html/history.html + +screen history(): + + tag menu + + ## Avoid predicting this screen, as it can be very large. + predict False + + use game_menu(_("History"), scroll=("vpgrid" if gui.history_height else "viewport"), yinitial=1.0): + + style_prefix "history" + + for h in _history_list: + + window: + + ## This lays things out properly if history_height is None. + has fixed: + yfit True + + if h.who: + + label h.who: + style "history_name" + substitute False + + ## Take the color of the who text from the Character, if + ## set. + if "color" in h.who_args: + text_color h.who_args["color"] + + $ what = renpy.filter_text_tags(h.what, allow=gui.history_allow_tags) + text what: + substitute False + + if not _history_list: + label _("The dialogue history is empty.") + + +## This determines what tags are allowed to be displayed on the history screen. + +define gui.history_allow_tags = { "alt", "noalt", "rt", "rb", "art" } + + +style history_window is empty + +style history_name is gui_label +style history_name_text is gui_label_text +style history_text is gui_text + +style history_label is gui_label +style history_label_text is gui_label_text + +style history_window: + xfill True + ysize gui.history_height + +style history_name: + xpos gui.history_name_xpos + xanchor gui.history_name_xalign + ypos gui.history_name_ypos + xsize gui.history_name_width + +style history_name_text: + min_width gui.history_name_width + text_align gui.history_name_xalign + +style history_text: + xpos gui.history_text_xpos + ypos gui.history_text_ypos + xanchor gui.history_text_xalign + xsize gui.history_text_width + min_width gui.history_text_width + text_align gui.history_text_xalign + layout ("subtitle" if gui.history_text_xalign else "tex") + +style history_label: + xfill True + +style history_label_text: + xalign 0.5 + + +## Help screen ################################################################# +## +## A screen that gives information about key and mouse bindings. It uses other +## screens (keyboard_help, mouse_help, and gamepad_help) to display the actual +## help. + +screen help(): + + tag menu + + default device = "keyboard" + + use game_menu(_("Help"), scroll="viewport"): + + style_prefix "help" + + vbox: + spacing 23 + + hbox: + + textbutton _("Keyboard") action SetScreenVariable("device", "keyboard") + textbutton _("Mouse") action SetScreenVariable("device", "mouse") + + if GamepadExists(): + textbutton _("Gamepad") action SetScreenVariable("device", "gamepad") + + if device == "keyboard": + use keyboard_help + elif device == "mouse": + use mouse_help + elif device == "gamepad": + use gamepad_help + + +screen keyboard_help(): + + hbox: + label _("Enter") + text _("Advances dialogue and activates the interface.") + + hbox: + label _("Space") + text _("Advances dialogue without selecting choices.") + + hbox: + label _("Arrow Keys") + text _("Navigate the interface.") + + hbox: + label _("Escape") + text _("Accesses the game menu.") + + hbox: + label _("Ctrl") + text _("Skips dialogue while held down.") + + hbox: + label _("Tab") + text _("Toggles dialogue skipping.") + + hbox: + label _("Page Up") + text _("Rolls back to earlier dialogue.") + + hbox: + label _("Page Down") + text _("Rolls forward to later dialogue.") + + hbox: + label "H" + text _("Hides the user interface.") + + hbox: + label "S" + text _("Takes a screenshot.") + + hbox: + label "V" + text _("Toggles assistive {a=https://www.renpy.org/l/voicing}self-voicing{/a}.") + + hbox: + label "Shift+A" + text _("Opens the accessibility menu.") + + +screen mouse_help(): + + hbox: + label _("Left Click") + text _("Advances dialogue and activates the interface.") + + hbox: + label _("Middle Click") + text _("Hides the user interface.") + + hbox: + label _("Right Click") + text _("Accesses the game menu.") + + hbox: + label _("Mouse Wheel Up\nClick Rollback Side") + text _("Rolls back to earlier dialogue.") + + hbox: + label _("Mouse Wheel Down") + text _("Rolls forward to later dialogue.") + + +screen gamepad_help(): + + hbox: + label _("Right Trigger\nA/Bottom Button") + text _("Advances dialogue and activates the interface.") + + hbox: + label _("Left Trigger\nLeft Shoulder") + text _("Rolls back to earlier dialogue.") + + hbox: + label _("Right Shoulder") + text _("Rolls forward to later dialogue.") + + + hbox: + label _("D-Pad, Sticks") + text _("Navigate the interface.") + + hbox: + label _("Start, Guide") + text _("Accesses the game menu.") + + hbox: + label _("Y/Top Button") + text _("Hides the user interface.") + + textbutton _("Calibrate") action GamepadCalibrate() + + +style help_button is gui_button +style help_button_text is gui_button_text +style help_label is gui_label +style help_label_text is gui_label_text +style help_text is gui_text + +style help_button: + properties gui.button_properties("help_button") + xmargin 12 + +style help_button_text: + properties gui.button_text_properties("help_button") + +style help_label: + xsize 375 + right_padding 30 + +style help_label_text: + size gui.text_size + xalign 1.0 + text_align 1.0 + + + +################################################################################ +## Additional screens +################################################################################ + + +## Confirm screen ############################################################## +## +## The confirm screen is called when Ren'Py wants to ask the player a yes or no +## question. +## +## https://www.renpy.org/doc/html/screen_special.html#confirm + +screen confirm(message, yes_action, no_action): + + ## Ensure other screens do not get input while this screen is displayed. + modal True + + zorder 200 + + style_prefix "confirm" + + add "gui/overlay/confirm.png" + + frame: + + vbox: + xalign .5 + yalign .5 + spacing 45 + + label _(message): + style "confirm_prompt" + xalign 0.5 + + hbox: + xalign 0.5 + spacing 150 + + textbutton _("Yes") action yes_action + textbutton _("No") action no_action + + ## Right-click and escape answer "no". + key "game_menu" action no_action + + +style confirm_frame is gui_frame +style confirm_prompt is gui_prompt +style confirm_prompt_text is gui_prompt_text +style confirm_button is gui_medium_button +style confirm_button_text is gui_medium_button_text + +style confirm_frame: + background Frame([ "gui/confirm_frame.png", "gui/frame.png"], gui.confirm_frame_borders, tile=gui.frame_tile) + padding gui.confirm_frame_borders.padding + xalign .5 + yalign .5 + +style confirm_prompt_text: + text_align 0.5 + layout "subtitle" + +style confirm_button: + properties gui.button_properties("confirm_button") + +style confirm_button_text: + properties gui.button_text_properties("confirm_button") + + +## Skip indicator screen ####################################################### +## +## The skip_indicator screen is displayed to indicate that skipping is in +## progress. +## +## https://www.renpy.org/doc/html/screen_special.html#skip-indicator + +screen skip_indicator(): + + zorder 100 + style_prefix "skip" + + frame: + + hbox: + spacing 9 + + text _("Skipping") + + text "▸" at delayed_blink(0.0, 1.0) style "skip_triangle" + text "▸" at delayed_blink(0.2, 1.0) style "skip_triangle" + text "▸" at delayed_blink(0.4, 1.0) style "skip_triangle" + + +## This transform is used to blink the arrows one after another. +transform delayed_blink(delay, cycle): + alpha .5 + + pause delay + + block: + linear .2 alpha 1.0 + pause .2 + linear .2 alpha 0.5 + pause (cycle - .4) + repeat + + +style skip_frame is empty +style skip_text is gui_text +style skip_triangle is skip_text + +style skip_frame: + ypos gui.skip_ypos + background Frame("gui/skip.png", gui.skip_frame_borders, tile=gui.frame_tile) + padding gui.skip_frame_borders.padding + +style skip_text: + size gui.notify_text_size + +style skip_triangle: + ## We have to use a font that has the BLACK RIGHT-POINTING SMALL TRIANGLE + ## glyph in it. + font "DejaVuSans.ttf" + + +## Notify screen ############################################################### +## +## The notify screen is used to show the player a message. (For example, when +## the game is quicksaved or a screenshot has been taken.) +## +## https://www.renpy.org/doc/html/screen_special.html#notify-screen + +screen notify(message): + + zorder 100 + style_prefix "notify" + + frame at notify_appear: + text "[message!tq]" + + timer 3.25 action Hide('notify') + + +transform notify_appear: + on show: + alpha 0 + linear .25 alpha 1.0 + on hide: + linear .5 alpha 0.0 + + +style notify_frame is empty +style notify_text is gui_text + +style notify_frame: + ypos gui.notify_ypos + + background Frame("gui/notify.png", gui.notify_frame_borders, tile=gui.frame_tile) + padding gui.notify_frame_borders.padding + +style notify_text: + properties gui.text_properties("notify") + + +## NVL screen ################################################################## +## +## This screen is used for NVL-mode dialogue and menus. +## +## https://www.renpy.org/doc/html/screen_special.html#nvl + + +screen nvl(dialogue, items=None): + + window: + style "nvl_window" + + has vbox: + spacing gui.nvl_spacing + + ## Displays dialogue in either a vpgrid or the vbox. + if gui.nvl_height: + + vpgrid: + cols 1 + yinitial 1.0 + + use nvl_dialogue(dialogue) + + else: + + use nvl_dialogue(dialogue) + + ## Displays the menu, if given. The menu may be displayed incorrectly if + ## config.narrator_menu is set to True. + for i in items: + + textbutton i.caption: + action i.action + style "nvl_button" + + add SideImage() xalign 0.0 yalign 1.0 + + +screen nvl_dialogue(dialogue): + + for d in dialogue: + + window: + id d.window_id + + fixed: + yfit gui.nvl_height is None + + if d.who is not None: + + text d.who: + id d.who_id + + text d.what: + id d.what_id + + +## This controls the maximum number of NVL-mode entries that can be displayed at +## once. +define config.nvl_list_length = gui.nvl_list_length + +style nvl_window is default +style nvl_entry is default + +style nvl_label is say_label +style nvl_dialogue is say_dialogue + +style nvl_button is button +style nvl_button_text is button_text + +style nvl_window: + xfill True + yfill True + + background "gui/nvl.png" + padding gui.nvl_borders.padding + +style nvl_entry: + xfill True + ysize gui.nvl_height + +style nvl_label: + xpos gui.nvl_name_xpos + xanchor gui.nvl_name_xalign + ypos gui.nvl_name_ypos + yanchor 0.0 + xsize gui.nvl_name_width + min_width gui.nvl_name_width + text_align gui.nvl_name_xalign + +style nvl_dialogue: + xpos gui.nvl_text_xpos + xanchor gui.nvl_text_xalign + ypos gui.nvl_text_ypos + xsize gui.nvl_text_width + min_width gui.nvl_text_width + text_align gui.nvl_text_xalign + layout ("subtitle" if gui.nvl_text_xalign else "tex") + +style nvl_thought: + xpos gui.nvl_thought_xpos + xanchor gui.nvl_thought_xalign + ypos gui.nvl_thought_ypos + xsize gui.nvl_thought_width + min_width gui.nvl_thought_width + text_align gui.nvl_thought_xalign + layout ("subtitle" if gui.nvl_text_xalign else "tex") + +style nvl_button: + properties gui.button_properties("nvl_button") + xpos gui.nvl_button_xpos + xanchor gui.nvl_button_xalign + +style nvl_button_text: + properties gui.button_text_properties("nvl_button") + + + +################################################################################ +## Mobile Variants +################################################################################ + +style pref_vbox: + variant "medium" + xsize 675 + +## Since a mouse may not be present, we replace the quick menu with a version +## that uses fewer and bigger buttons that are easier to touch. +screen quick_menu(): + variant "touch" + + zorder 100 + + if quick_menu: + + hbox: + style_prefix "quick" + + xalign 0.5 + yalign 1.0 + + textbutton _("Back") action Rollback() + textbutton _("Skip") action Skip() alternate Skip(fast=True, confirm=True) + textbutton _("Auto") action Preference("auto-forward", "toggle") + textbutton _("Menu") action ShowMenu() + + +style window: + variant "small" + background "gui/phone/textbox.png" + +style radio_button: + variant "small" + foreground "gui/phone/button/radio_[prefix_]foreground.png" + +style check_button: + variant "small" + foreground "gui/phone/button/check_[prefix_]foreground.png" + +style nvl_window: + variant "small" + background "gui/phone/nvl.png" + +style main_menu_frame: + variant "small" + background "gui/phone/overlay/main_menu.png" + +style game_menu_outer_frame: + variant "small" + background "gui/phone/overlay/game_menu.png" + +style game_menu_navigation_frame: + variant "small" + xsize 510 + +style game_menu_content_frame: + variant "small" + top_margin 0 + +style pref_vbox: + variant "small" + xsize 600 + +style bar: + variant "small" + ysize gui.bar_size + left_bar Frame("gui/phone/bar/left.png", gui.bar_borders, tile=gui.bar_tile) + right_bar Frame("gui/phone/bar/right.png", gui.bar_borders, tile=gui.bar_tile) + +style vbar: + variant "small" + xsize gui.bar_size + top_bar Frame("gui/phone/bar/top.png", gui.vbar_borders, tile=gui.bar_tile) + bottom_bar Frame("gui/phone/bar/bottom.png", gui.vbar_borders, tile=gui.bar_tile) + +style scrollbar: + variant "small" + ysize gui.scrollbar_size + base_bar Frame("gui/phone/scrollbar/horizontal_[prefix_]bar.png", gui.scrollbar_borders, tile=gui.scrollbar_tile) + thumb Frame("gui/phone/scrollbar/horizontal_[prefix_]thumb.png", gui.scrollbar_borders, tile=gui.scrollbar_tile) + +style vscrollbar: + variant "small" + xsize gui.scrollbar_size + base_bar Frame("gui/phone/scrollbar/vertical_[prefix_]bar.png", gui.vscrollbar_borders, tile=gui.scrollbar_tile) + thumb Frame("gui/phone/scrollbar/vertical_[prefix_]thumb.png", gui.vscrollbar_borders, tile=gui.scrollbar_tile) + +style slider: + variant "small" + ysize gui.slider_size + base_bar Frame("gui/phone/slider/horizontal_[prefix_]bar.png", gui.slider_borders, tile=gui.slider_tile) + thumb "gui/phone/slider/horizontal_[prefix_]thumb.png" + +style vslider: + variant "small" + xsize gui.slider_size + base_bar Frame("gui/phone/slider/vertical_[prefix_]bar.png", gui.vslider_borders, tile=gui.slider_tile) + thumb "gui/phone/slider/vertical_[prefix_]thumb.png" + +style slider_vbox: + variant "small" + xsize None + +style slider_slider: + variant "small" + xsize 900 diff --git a/game/script.rpy b/game/script.rpy new file mode 100644 index 0000000..be9a7a6 --- /dev/null +++ b/game/script.rpy @@ -0,0 +1,175 @@ +# The script of the game goes in this file. + +# Declare characters used by this game. The color argument colorizes the +# name of the character. +define byakuya = Character('Byakuya Togami', color='#e38929') +define shuichi = Character('Shuichi Saihara', color='#2992e3') + +# Declare background +image bg gym = im.FactorScale('backgrounds/gym.png', 2) + +# Declare character sprites +image byakuya command = im.FactorScale('characters/byakuya/command.png', 1.5) +image byakuya leave = im.FactorScale('characters/byakuya/leave.png', 1.5) +image byakuya mock = im.FactorScale('characters/byakuya/mock.png', 1.5) +image byakuya neutral = im.FactorScale('characters/byakuya/neutral.png', 1.5) +image byakuya shock = im.FactorScale('characters/byakuya/shock.png', 1.5) +image byakuya smirk = im.FactorScale('characters/byakuya/smirk.png', 1.5) +image byakuya think = im.FactorScale('characters/byakuya/think.png', 1.5) + +# The game starts here. +label start: + + # Show a background. This uses a placeholder by default, but you can + # add a file (named either "bg room.png" or "bg room.jpg") to the + # images directory to show it. + scene bg gym + + # This shows a character sprite. A placeholder is used, but you can + # replace it by adding a file named "eileen happy.png" to the images + # directory. + show byakuya neutral + + # Play music + play music 'audio/music/despair_searching.ogg' + + play sound 'audio/sfx/byakuya/out_with_it.ogg' + byakuya 'All right. Let us go over the case form the beginning.' + label weapon: + show byakuya neutral + byakuya 'What as the weapon used in the murder?' + menu: + 'A knife': + jump knife + 'A sledgehammer': + jump sledgehammer + label knife: + shuichi 'They used a knife.' + show byakuya smirk + play sound 'audio/sfx/byakuya/naturally.ogg' + byakuya 'Correct.' + byakuya 'The culprit stabbed the victim once she was cornered in the bathroom.' + jump location + label sledgehammer: + shuichi 'They used a sledgehammer.' + show byakuya mock + play sound 'audio/sfx/byakuya/such_ignorance.ogg' + byakuya 'I was a fool to name you my servant...' + byakuya 'Try. Again.' + jump weapon + label location: + show byakuya neutral + byakuya 'Where was the murder committed?' + menu: + 'Sayaka Maizono\'s room': + jump sayaka + 'Makoto Naegi\'s room': + jump makoto + label sayaka: + shuichi 'In Sayaka Maizono\'s room.' + show byakuya mock + play sound 'audio/sfx/byakuya/such_ignorance.ogg' + byakuya 'I was a fool to name you my servant...' + byakuya 'Try. Again.' + jump location + label makoto: + shuichi 'In Makoto Naegi\'s room' + show byakuya smirk + play sound 'audio/sfx/byakuya/naturally.ogg' + byakuya 'Indeed.' + jump location_evidence + label location_evidence: + show byakuya neutral + byakuya 'How do we know that is the case?' + menu: + 'The rooms\' nameplates were swapped': + jump swapped + 'There was evidence of a struggle': + jump struggle + label swapped: + shuichi 'The nameplates on the doors of both rooms were swapped.' + shuichi 'The victim and Makoto Naegi switched rooms for the night, which the victim used as an opportunity to switch the nameplates around and lure Leon Kuwata to what he thought was her room.' + show byakuya smirk + play sound 'audio/sfx/byakuya/naturally.ogg' + byakuya 'Well done, my servant.' + jump motive + label struggle: + shuichi 'There was evidence of a struggle in the room.' + show byakuya mock + play sound 'audio/sfx/byakuya/such_ignorance.ogg' + byakuya 'That tells us nothing!' + byakuya 'Try. Again.' + jump location_evidence + label motive: + show byakuya neutral + byakuya 'Did the culprit plan to murder the victim?' + menu: + 'Yes': + jump planned + 'No': + jump accident + label planned: + shuichi 'Of course.' + show byakuya mock + play sound 'audio/sfx/byakuya/such_ignorance.ogg' + byakuya 'I was a fool to name you my servant...' + byakuya 'Try. Again.' + jump motive + label accident: + shuichi 'No... It was all an accident...' + shuichi 'The victim planned to lure the culprit to her room, and murder him...' + show byakuya smirk + play sound 'audio/sfx/byakuya/naturally.ogg' + byakuya 'Corect, once again.' + jump message + label message: + show byakuya neutral + byakuya 'Why do we know Leon Kuwata is the culprit?' + menu: + 'The vitim left a message in blood.': + jump blood + 'Wait...he is...??': + jump confused + label blood: + shuichi 'The victim left a message in...her own blood with the last of her strength...' + show byakuya smirk + play sound 'audio/sfx/byakuya/naturally.ogg' + jump message_content + label confused: + shuichi 'Wait...he is...???' + show byakuya mock + play sound 'audio/sfx/byakuya/such_ignorance.ogg' + byakuya 'I was a fool to name you my servant...' + byakuya 'Try. Again.' + jump message + label message_content: + show byakuya neutral + byakuya 'What did the message say?' + menu: + '11037': + jump numbers + 'LEON': + jump leon + label numbers: + shuichi 'She simply wrote the numbers "11037".' + show byakuya mock + play voice 'audio/sfx/byakuya/such_ignorance.ogg' + byakuya 'I was a fool to name you my servant...' + byakuya 'Try. Again.' + jump message_content + label leon: + shuichi 'While it seems like the numbers "11037", if you were to flip it upside down, you\'d see that it spells out "LEON".' + play sound 'audio/sfx/general/got_it.ogg' + shuichi 'Daming evidence that Leon Kuwata is the culprit!' + show byakuya smirk + play sound 'audio/sfx/byakuya/naturally.ogg' + byakuya 'Daming evidence indeed!' + jump end + label end: + show byakuya leave + play sound 'audio/sfx/byakuya/lets_go.ogg' + byakuya 'Let\'s go. Monokuma will begin the class trial soon.' + shuichi 'Right.' + + # This ends the game. + return diff --git a/game/tl/None/common.rpym b/game/tl/None/common.rpym new file mode 100644 index 0000000..7d82c18 --- /dev/null +++ b/game/tl/None/common.rpym @@ -0,0 +1,1247 @@ + +translate None strings: + + # renpy/common/00accessibility.rpy:28 + old "Self-voicing disabled." + new "Self-voicing disabled." + + # renpy/common/00accessibility.rpy:29 + old "Clipboard voicing enabled. " + new "Clipboard voicing enabled. " + + # renpy/common/00accessibility.rpy:30 + old "Self-voicing enabled. " + new "Self-voicing enabled. " + + # renpy/common/00accessibility.rpy:32 + old "bar" + new "bar" + + # renpy/common/00accessibility.rpy:33 + old "selected" + new "selected" + + # renpy/common/00accessibility.rpy:34 + old "viewport" + new "viewport" + + # renpy/common/00accessibility.rpy:35 + old "horizontal scroll" + new "horizontal scroll" + + # renpy/common/00accessibility.rpy:36 + old "vertical scroll" + new "vertical scroll" + + # renpy/common/00accessibility.rpy:37 + old "activate" + new "activate" + + # renpy/common/00accessibility.rpy:38 + old "deactivate" + new "deactivate" + + # renpy/common/00accessibility.rpy:39 + old "increase" + new "increase" + + # renpy/common/00accessibility.rpy:40 + old "decrease" + new "decrease" + + # renpy/common/00accessibility.rpy:138 + old "Font Override" + new "Font Override" + + # renpy/common/00accessibility.rpy:142 + old "Default" + new "Default" + + # renpy/common/00accessibility.rpy:146 + old "DejaVu Sans" + new "DejaVu Sans" + + # renpy/common/00accessibility.rpy:150 + old "Opendyslexic" + new "Opendyslexic" + + # renpy/common/00accessibility.rpy:156 + old "Text Size Scaling" + new "Text Size Scaling" + + # renpy/common/00accessibility.rpy:162 + old "Reset" + new "Reset" + + # renpy/common/00accessibility.rpy:168 + old "Line Spacing Scaling" + new "Line Spacing Scaling" + + # renpy/common/00accessibility.rpy:180 + old "High Contrast Text" + new "High Contrast Text" + + # renpy/common/00accessibility.rpy:182 + old "Enable" + new "Enable" + + # renpy/common/00accessibility.rpy:186 + old "Disable" + new "Disable" + + # renpy/common/00accessibility.rpy:193 + old "Self-Voicing" + new "Self-Voicing" + + # renpy/common/00accessibility.rpy:197 + old "Off" + new "Off" + + # renpy/common/00accessibility.rpy:201 + old "Text-to-speech" + new "Text-to-speech" + + # renpy/common/00accessibility.rpy:205 + old "Clipboard" + new "Clipboard" + + # renpy/common/00accessibility.rpy:209 + old "Debug" + new "Debug" + + # renpy/common/00accessibility.rpy:215 + old "Self-Voicing Volume Drop" + new "Self-Voicing Volume Drop" + + # renpy/common/00accessibility.rpy:224 + old "The options on this menu are intended to improve accessibility. They may not work with all games, and some combinations of options may render the game unplayable. This is not an issue with the game or engine. For the best results when changing fonts, try to keep the text size the same as it originally was." + new "The options on this menu are intended to improve accessibility. They may not work with all games, and some combinations of options may render the game unplayable. This is not an issue with the game or engine. For the best results when changing fonts, try to keep the text size the same as it originally was." + + # renpy/common/00accessibility.rpy:229 + old "Return" + new "Return" + + # renpy/common/00action_file.rpy:26 + old "{#weekday}Monday" + new "{#weekday}Monday" + + # renpy/common/00action_file.rpy:26 + old "{#weekday}Tuesday" + new "{#weekday}Tuesday" + + # renpy/common/00action_file.rpy:26 + old "{#weekday}Wednesday" + new "{#weekday}Wednesday" + + # renpy/common/00action_file.rpy:26 + old "{#weekday}Thursday" + new "{#weekday}Thursday" + + # renpy/common/00action_file.rpy:26 + old "{#weekday}Friday" + new "{#weekday}Friday" + + # renpy/common/00action_file.rpy:26 + old "{#weekday}Saturday" + new "{#weekday}Saturday" + + # renpy/common/00action_file.rpy:26 + old "{#weekday}Sunday" + new "{#weekday}Sunday" + + # renpy/common/00action_file.rpy:37 + old "{#weekday_short}Mon" + new "{#weekday_short}Mon" + + # renpy/common/00action_file.rpy:37 + old "{#weekday_short}Tue" + new "{#weekday_short}Tue" + + # renpy/common/00action_file.rpy:37 + old "{#weekday_short}Wed" + new "{#weekday_short}Wed" + + # renpy/common/00action_file.rpy:37 + old "{#weekday_short}Thu" + new "{#weekday_short}Thu" + + # renpy/common/00action_file.rpy:37 + old "{#weekday_short}Fri" + new "{#weekday_short}Fri" + + # renpy/common/00action_file.rpy:37 + old "{#weekday_short}Sat" + new "{#weekday_short}Sat" + + # renpy/common/00action_file.rpy:37 + old "{#weekday_short}Sun" + new "{#weekday_short}Sun" + + # renpy/common/00action_file.rpy:47 + old "{#month}January" + new "{#month}January" + + # renpy/common/00action_file.rpy:47 + old "{#month}February" + new "{#month}February" + + # renpy/common/00action_file.rpy:47 + old "{#month}March" + new "{#month}March" + + # renpy/common/00action_file.rpy:47 + old "{#month}April" + new "{#month}April" + + # renpy/common/00action_file.rpy:47 + old "{#month}May" + new "{#month}May" + + # renpy/common/00action_file.rpy:47 + old "{#month}June" + new "{#month}June" + + # renpy/common/00action_file.rpy:47 + old "{#month}July" + new "{#month}July" + + # renpy/common/00action_file.rpy:47 + old "{#month}August" + new "{#month}August" + + # renpy/common/00action_file.rpy:47 + old "{#month}September" + new "{#month}September" + + # renpy/common/00action_file.rpy:47 + old "{#month}October" + new "{#month}October" + + # renpy/common/00action_file.rpy:47 + old "{#month}November" + new "{#month}November" + + # renpy/common/00action_file.rpy:47 + old "{#month}December" + new "{#month}December" + + # renpy/common/00action_file.rpy:63 + old "{#month_short}Jan" + new "{#month_short}Jan" + + # renpy/common/00action_file.rpy:63 + old "{#month_short}Feb" + new "{#month_short}Feb" + + # renpy/common/00action_file.rpy:63 + old "{#month_short}Mar" + new "{#month_short}Mar" + + # renpy/common/00action_file.rpy:63 + old "{#month_short}Apr" + new "{#month_short}Apr" + + # renpy/common/00action_file.rpy:63 + old "{#month_short}May" + new "{#month_short}May" + + # renpy/common/00action_file.rpy:63 + old "{#month_short}Jun" + new "{#month_short}Jun" + + # renpy/common/00action_file.rpy:63 + old "{#month_short}Jul" + new "{#month_short}Jul" + + # renpy/common/00action_file.rpy:63 + old "{#month_short}Aug" + new "{#month_short}Aug" + + # renpy/common/00action_file.rpy:63 + old "{#month_short}Sep" + new "{#month_short}Sep" + + # renpy/common/00action_file.rpy:63 + old "{#month_short}Oct" + new "{#month_short}Oct" + + # renpy/common/00action_file.rpy:63 + old "{#month_short}Nov" + new "{#month_short}Nov" + + # renpy/common/00action_file.rpy:63 + old "{#month_short}Dec" + new "{#month_short}Dec" + + # renpy/common/00action_file.rpy:250 + old "%b %d, %H:%M" + new "%b %d, %H:%M" + + # renpy/common/00action_file.rpy:364 + old "Save slot %s: [text]" + new "Save slot %s: [text]" + + # renpy/common/00action_file.rpy:445 + old "Load slot %s: [text]" + new "Load slot %s: [text]" + + # renpy/common/00action_file.rpy:498 + old "Delete slot [text]" + new "Delete slot [text]" + + # renpy/common/00action_file.rpy:577 + old "File page auto" + new "File page auto" + + # renpy/common/00action_file.rpy:579 + old "File page quick" + new "File page quick" + + # renpy/common/00action_file.rpy:581 + old "File page [text]" + new "File page [text]" + + # renpy/common/00action_file.rpy:639 + old "Page {}" + new "Page {}" + + # renpy/common/00action_file.rpy:639 + old "Automatic saves" + new "Automatic saves" + + # renpy/common/00action_file.rpy:639 + old "Quick saves" + new "Quick saves" + + # renpy/common/00action_file.rpy:780 + old "Next file page." + new "Next file page." + + # renpy/common/00action_file.rpy:852 + old "Previous file page." + new "Previous file page." + + # renpy/common/00action_file.rpy:913 + old "Quick save complete." + new "Quick save complete." + + # renpy/common/00action_file.rpy:931 + old "Quick save." + new "Quick save." + + # renpy/common/00action_file.rpy:950 + old "Quick load." + new "Quick load." + + # renpy/common/00action_other.rpy:381 + old "Language [text]" + new "Language [text]" + + # renpy/common/00action_other.rpy:703 + old "Open [text] directory." + new "Open [text] directory." + + # renpy/common/00director.rpy:708 + old "The interactive director is not enabled here." + new "The interactive director is not enabled here." + + # renpy/common/00director.rpy:1481 + old "⬆" + new "⬆" + + # renpy/common/00director.rpy:1487 + old "⬇" + new "⬇" + + # renpy/common/00director.rpy:1551 + old "Done" + new "Done" + + # renpy/common/00director.rpy:1561 + old "(statement)" + new "(statement)" + + # renpy/common/00director.rpy:1562 + old "(tag)" + new "(tag)" + + # renpy/common/00director.rpy:1563 + old "(attributes)" + new "(attributes)" + + # renpy/common/00director.rpy:1564 + old "(transform)" + new "(transform)" + + # renpy/common/00director.rpy:1589 + old "(transition)" + new "(transition)" + + # renpy/common/00director.rpy:1601 + old "(channel)" + new "(channel)" + + # renpy/common/00director.rpy:1602 + old "(filename)" + new "(filename)" + + # renpy/common/00director.rpy:1631 + old "Change" + new "Change" + + # renpy/common/00director.rpy:1633 + old "Add" + new "Add" + + # renpy/common/00director.rpy:1636 + old "Cancel" + new "Cancel" + + # renpy/common/00director.rpy:1639 + old "Remove" + new "Remove" + + # renpy/common/00director.rpy:1674 + old "Statement:" + new "Statement:" + + # renpy/common/00director.rpy:1695 + old "Tag:" + new "Tag:" + + # renpy/common/00director.rpy:1711 + old "Attributes:" + new "Attributes:" + + # renpy/common/00director.rpy:1729 + old "Transforms:" + new "Transforms:" + + # renpy/common/00director.rpy:1748 + old "Behind:" + new "Behind:" + + # renpy/common/00director.rpy:1767 + old "Transition:" + new "Transition:" + + # renpy/common/00director.rpy:1785 + old "Channel:" + new "Channel:" + + # renpy/common/00director.rpy:1803 + old "Audio Filename:" + new "Audio Filename:" + + # renpy/common/00gui.rpy:445 + old "Are you sure?" + new "Are you sure?" + + # renpy/common/00gui.rpy:446 + old "Are you sure you want to delete this save?" + new "Are you sure you want to delete this save?" + + # renpy/common/00gui.rpy:447 + old "Are you sure you want to overwrite your save?" + new "Are you sure you want to overwrite your save?" + + # renpy/common/00gui.rpy:448 + old "Loading will lose unsaved progress.\nAre you sure you want to do this?" + new "Loading will lose unsaved progress.\nAre you sure you want to do this?" + + # renpy/common/00gui.rpy:449 + old "Are you sure you want to quit?" + new "Are you sure you want to quit?" + + # renpy/common/00gui.rpy:450 + old "Are you sure you want to return to the main menu?\nThis will lose unsaved progress." + new "Are you sure you want to return to the main menu?\nThis will lose unsaved progress." + + # renpy/common/00gui.rpy:451 + old "Are you sure you want to end the replay?" + new "Are you sure you want to end the replay?" + + # renpy/common/00gui.rpy:452 + old "Are you sure you want to begin skipping?" + new "Are you sure you want to begin skipping?" + + # renpy/common/00gui.rpy:453 + old "Are you sure you want to skip to the next choice?" + new "Are you sure you want to skip to the next choice?" + + # renpy/common/00gui.rpy:454 + old "Are you sure you want to skip unseen dialogue to the next choice?" + new "Are you sure you want to skip unseen dialogue to the next choice?" + + # renpy/common/00keymap.rpy:310 + old "Failed to save screenshot as %s." + new "Failed to save screenshot as %s." + + # renpy/common/00keymap.rpy:322 + old "Saved screenshot as %s." + new "Saved screenshot as %s." + + # renpy/common/00library.rpy:230 + old "Skip Mode" + new "Skip Mode" + + # renpy/common/00library.rpy:316 + old "This program contains free software under a number of licenses, including the MIT License and GNU Lesser General Public License. A complete list of software, including links to full source code, can be found {a=https://www.renpy.org/l/license}here{/a}." + new "This program contains free software under a number of licenses, including the MIT License and GNU Lesser General Public License. A complete list of software, including links to full source code, can be found {a=https://www.renpy.org/l/license}here{/a}." + + # renpy/common/00preferences.rpy:259 + old "display" + new "display" + + # renpy/common/00preferences.rpy:271 + old "transitions" + new "transitions" + + # renpy/common/00preferences.rpy:280 + old "skip transitions" + new "skip transitions" + + # renpy/common/00preferences.rpy:282 + old "video sprites" + new "video sprites" + + # renpy/common/00preferences.rpy:291 + old "show empty window" + new "show empty window" + + # renpy/common/00preferences.rpy:300 + old "text speed" + new "text speed" + + # renpy/common/00preferences.rpy:308 + old "joystick" + new "joystick" + + # renpy/common/00preferences.rpy:308 + old "joystick..." + new "joystick..." + + # renpy/common/00preferences.rpy:315 + old "skip" + new "skip" + + # renpy/common/00preferences.rpy:318 + old "skip unseen [text]" + new "skip unseen [text]" + + # renpy/common/00preferences.rpy:323 + old "skip unseen text" + new "skip unseen text" + + # renpy/common/00preferences.rpy:325 + old "begin skipping" + new "begin skipping" + + # renpy/common/00preferences.rpy:329 + old "after choices" + new "after choices" + + # renpy/common/00preferences.rpy:336 + old "skip after choices" + new "skip after choices" + + # renpy/common/00preferences.rpy:338 + old "auto-forward time" + new "auto-forward time" + + # renpy/common/00preferences.rpy:352 + old "auto-forward" + new "auto-forward" + + # renpy/common/00preferences.rpy:359 + old "Auto forward" + new "Auto forward" + + # renpy/common/00preferences.rpy:362 + old "auto-forward after click" + new "auto-forward after click" + + # renpy/common/00preferences.rpy:371 + old "automatic move" + new "automatic move" + + # renpy/common/00preferences.rpy:380 + old "wait for voice" + new "wait for voice" + + # renpy/common/00preferences.rpy:389 + old "voice sustain" + new "voice sustain" + + # renpy/common/00preferences.rpy:398 + old "self voicing" + new "self voicing" + + # renpy/common/00preferences.rpy:407 + old "self voicing volume drop" + new "self voicing volume drop" + + # renpy/common/00preferences.rpy:415 + old "clipboard voicing" + new "clipboard voicing" + + # renpy/common/00preferences.rpy:424 + old "debug voicing" + new "debug voicing" + + # renpy/common/00preferences.rpy:433 + old "emphasize audio" + new "emphasize audio" + + # renpy/common/00preferences.rpy:442 + old "rollback side" + new "rollback side" + + # renpy/common/00preferences.rpy:452 + old "gl powersave" + new "gl powersave" + + # renpy/common/00preferences.rpy:458 + old "gl framerate" + new "gl framerate" + + # renpy/common/00preferences.rpy:461 + old "gl tearing" + new "gl tearing" + + # renpy/common/00preferences.rpy:464 + old "font transform" + new "font transform" + + # renpy/common/00preferences.rpy:467 + old "font size" + new "font size" + + # renpy/common/00preferences.rpy:475 + old "font line spacing" + new "font line spacing" + + # renpy/common/00preferences.rpy:483 + old "system cursor" + new "system cursor" + + # renpy/common/00preferences.rpy:492 + old "renderer menu" + new "renderer menu" + + # renpy/common/00preferences.rpy:495 + old "accessibility menu" + new "accessibility menu" + + # renpy/common/00preferences.rpy:498 + old "high contrast text" + new "high contrast text" + + # renpy/common/00preferences.rpy:507 + old "audio when minimized" + new "audio when minimized" + + # renpy/common/00preferences.rpy:527 + old "main volume" + new "main volume" + + # renpy/common/00preferences.rpy:528 + old "music volume" + new "music volume" + + # renpy/common/00preferences.rpy:529 + old "sound volume" + new "sound volume" + + # renpy/common/00preferences.rpy:530 + old "voice volume" + new "voice volume" + + # renpy/common/00preferences.rpy:531 + old "mute main" + new "mute main" + + # renpy/common/00preferences.rpy:532 + old "mute music" + new "mute music" + + # renpy/common/00preferences.rpy:533 + old "mute sound" + new "mute sound" + + # renpy/common/00preferences.rpy:534 + old "mute voice" + new "mute voice" + + # renpy/common/00preferences.rpy:535 + old "mute all" + new "mute all" + + # renpy/common/00preferences.rpy:616 + old "Clipboard voicing enabled. Press 'shift+C' to disable." + new "Clipboard voicing enabled. Press 'shift+C' to disable." + + # renpy/common/00preferences.rpy:618 + old "Self-voicing would say \"[renpy.display.tts.last]\". Press 'alt+shift+V' to disable." + new "Self-voicing would say \"[renpy.display.tts.last]\". Press 'alt+shift+V' to disable." + + # renpy/common/00preferences.rpy:620 + old "Self-voicing enabled. Press 'v' to disable." + new "Self-voicing enabled. Press 'v' to disable." + + # renpy/common/00iap.rpy:219 + old "Contacting App Store\nPlease Wait..." + new "Contacting App Store\nPlease Wait..." + + # renpy/common/00updater.rpy:419 + old "The Ren'Py Updater is not supported on mobile devices." + new "The Ren'Py Updater is not supported on mobile devices." + + # renpy/common/00updater.rpy:548 + old "An error is being simulated." + new "An error is being simulated." + + # renpy/common/00updater.rpy:738 + old "Either this project does not support updating, or the update status file was deleted." + new "Either this project does not support updating, or the update status file was deleted." + + # renpy/common/00updater.rpy:752 + old "This account does not have permission to perform an update." + new "This account does not have permission to perform an update." + + # renpy/common/00updater.rpy:755 + old "This account does not have permission to write the update log." + new "This account does not have permission to write the update log." + + # renpy/common/00updater.rpy:783 + old "Could not verify update signature." + new "Could not verify update signature." + + # renpy/common/00updater.rpy:1084 + old "The update file was not downloaded." + new "The update file was not downloaded." + + # renpy/common/00updater.rpy:1102 + old "The update file does not have the correct digest - it may have been corrupted." + new "The update file does not have the correct digest - it may have been corrupted." + + # renpy/common/00updater.rpy:1252 + old "While unpacking {}, unknown type {}." + new "While unpacking {}, unknown type {}." + + # renpy/common/00updater.rpy:1624 + old "Updater" + new "Updater" + + # renpy/common/00updater.rpy:1631 + old "An error has occured:" + new "An error has occured:" + + # renpy/common/00updater.rpy:1633 + old "Checking for updates." + new "Checking for updates." + + # renpy/common/00updater.rpy:1635 + old "This program is up to date." + new "This program is up to date." + + # renpy/common/00updater.rpy:1637 + old "[u.version] is available. Do you want to install it?" + new "[u.version] is available. Do you want to install it?" + + # renpy/common/00updater.rpy:1639 + old "Preparing to download the updates." + new "Preparing to download the updates." + + # renpy/common/00updater.rpy:1641 + old "Downloading the updates." + new "Downloading the updates." + + # renpy/common/00updater.rpy:1643 + old "Unpacking the updates." + new "Unpacking the updates." + + # renpy/common/00updater.rpy:1645 + old "Finishing up." + new "Finishing up." + + # renpy/common/00updater.rpy:1647 + old "The updates have been installed. The program will restart." + new "The updates have been installed. The program will restart." + + # renpy/common/00updater.rpy:1649 + old "The updates have been installed." + new "The updates have been installed." + + # renpy/common/00updater.rpy:1651 + old "The updates were cancelled." + new "The updates were cancelled." + + # renpy/common/00updater.rpy:1666 + old "Proceed" + new "Proceed" + + # renpy/common/00compat.rpy:371 + old "Fullscreen" + new "Fullscreen" + + # renpy/common/00gallery.rpy:627 + old "Image [index] of [count] locked." + new "Image [index] of [count] locked." + + # renpy/common/00gallery.rpy:647 + old "prev" + new "prev" + + # renpy/common/00gallery.rpy:648 + old "next" + new "next" + + # renpy/common/00gallery.rpy:649 + old "slideshow" + new "slideshow" + + # renpy/common/00gallery.rpy:650 + old "return" + new "return" + + # renpy/common/00gltest.rpy:89 + old "Renderer" + new "Renderer" + + # renpy/common/00gltest.rpy:93 + old "Automatically Choose" + new "Automatically Choose" + + # renpy/common/00gltest.rpy:100 + old "Force GL Renderer" + new "Force GL Renderer" + + # renpy/common/00gltest.rpy:105 + old "Force ANGLE Renderer" + new "Force ANGLE Renderer" + + # renpy/common/00gltest.rpy:110 + old "Force GLES Renderer" + new "Force GLES Renderer" + + # renpy/common/00gltest.rpy:116 + old "Force GL2 Renderer" + new "Force GL2 Renderer" + + # renpy/common/00gltest.rpy:121 + old "Force ANGLE2 Renderer" + new "Force ANGLE2 Renderer" + + # renpy/common/00gltest.rpy:126 + old "Force GLES2 Renderer" + new "Force GLES2 Renderer" + + # renpy/common/00gltest.rpy:132 + old "Gamepad" + new "Gamepad" + + # renpy/common/00gltest.rpy:136 + old "Enable (No Blocklist)" + new "Enable (No Blocklist)" + + # renpy/common/00gltest.rpy:150 + old "Calibrate" + new "Calibrate" + + # renpy/common/00gltest.rpy:159 + old "Powersave" + new "Powersave" + + # renpy/common/00gltest.rpy:173 + old "Framerate" + new "Framerate" + + # renpy/common/00gltest.rpy:177 + old "Screen" + new "Screen" + + # renpy/common/00gltest.rpy:181 + old "60" + new "60" + + # renpy/common/00gltest.rpy:185 + old "30" + new "30" + + # renpy/common/00gltest.rpy:191 + old "Tearing" + new "Tearing" + + # renpy/common/00gltest.rpy:207 + old "Changes will take effect the next time this program is run." + new "Changes will take effect the next time this program is run." + + # renpy/common/00gltest.rpy:214 + old "Quit" + new "Quit" + + # renpy/common/00gltest.rpy:242 + old "Performance Warning" + new "Performance Warning" + + # renpy/common/00gltest.rpy:247 + old "This computer is using software rendering." + new "This computer is using software rendering." + + # renpy/common/00gltest.rpy:249 + old "This game requires use of GL2 that can't be initialised." + new "This game requires use of GL2 that can't be initialised." + + # renpy/common/00gltest.rpy:251 + old "This computer has a problem displaying graphics: [problem]." + new "This computer has a problem displaying graphics: [problem]." + + # renpy/common/00gltest.rpy:255 + old "Its graphics drivers may be out of date or not operating correctly. This can lead to slow or incorrect graphics display." + new "Its graphics drivers may be out of date or not operating correctly. This can lead to slow or incorrect graphics display." + + # renpy/common/00gltest.rpy:259 + old "The {a=edit:1:log.txt}log.txt{/a} file may contain information to help you determine what is wrong with your computer." + new "The {a=edit:1:log.txt}log.txt{/a} file may contain information to help you determine what is wrong with your computer." + + # renpy/common/00gltest.rpy:264 + old "More details on how to fix this can be found in the {a=[url]}documentation{/a}." + new "More details on how to fix this can be found in the {a=[url]}documentation{/a}." + + # renpy/common/00gltest.rpy:269 + old "Continue, Show this warning again" + new "Continue, Show this warning again" + + # renpy/common/00gltest.rpy:273 + old "Continue, Don't show warning again" + new "Continue, Don't show warning again" + + # renpy/common/00gltest.rpy:281 + old "Change render options" + new "Change render options" + + # renpy/common/00gamepad.rpy:32 + old "Select Gamepad to Calibrate" + new "Select Gamepad to Calibrate" + + # renpy/common/00gamepad.rpy:35 + old "No Gamepads Available" + new "No Gamepads Available" + + # renpy/common/00gamepad.rpy:54 + old "Calibrating [name] ([i]/[total])" + new "Calibrating [name] ([i]/[total])" + + # renpy/common/00gamepad.rpy:58 + old "Press or move the '[control!s]' [kind]." + new "Press or move the '[control!s]' [kind]." + + # renpy/common/00gamepad.rpy:68 + old "Skip (A)" + new "Skip (A)" + + # renpy/common/00gamepad.rpy:71 + old "Back (B)" + new "Back (B)" + + # renpy/common/_errorhandling.rpym:555 + old "Open" + new "Open" + + # renpy/common/_errorhandling.rpym:557 + old "Opens the traceback.txt file in a text editor." + new "Opens the traceback.txt file in a text editor." + + # renpy/common/_errorhandling.rpym:559 + old "Copy BBCode" + new "Copy BBCode" + + # renpy/common/_errorhandling.rpym:561 + old "Copies the traceback.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/." + new "Copies the traceback.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/." + + # renpy/common/_errorhandling.rpym:563 + old "Copy Markdown" + new "Copy Markdown" + + # renpy/common/_errorhandling.rpym:565 + old "Copies the traceback.txt file to the clipboard as Markdown for Discord." + new "Copies the traceback.txt file to the clipboard as Markdown for Discord." + + # renpy/common/_errorhandling.rpym:594 + old "An exception has occurred." + new "An exception has occurred." + + # renpy/common/_errorhandling.rpym:617 + old "Rollback" + new "Rollback" + + # renpy/common/_errorhandling.rpym:619 + old "Attempts a roll back to a prior time, allowing you to save or choose a different choice." + new "Attempts a roll back to a prior time, allowing you to save or choose a different choice." + + # renpy/common/_errorhandling.rpym:622 + old "Ignore" + new "Ignore" + + # renpy/common/_errorhandling.rpym:626 + old "Ignores the exception, allowing you to continue." + new "Ignores the exception, allowing you to continue." + + # renpy/common/_errorhandling.rpym:628 + old "Ignores the exception, allowing you to continue. This often leads to additional errors." + new "Ignores the exception, allowing you to continue. This often leads to additional errors." + + # renpy/common/_errorhandling.rpym:632 + old "Reload" + new "Reload" + + # renpy/common/_errorhandling.rpym:634 + old "Reloads the game from disk, saving and restoring game state if possible." + new "Reloads the game from disk, saving and restoring game state if possible." + + # renpy/common/_errorhandling.rpym:637 + old "Console" + new "Console" + + # renpy/common/_errorhandling.rpym:639 + old "Opens a console to allow debugging the problem." + new "Opens a console to allow debugging the problem." + + # renpy/common/_errorhandling.rpym:652 + old "Quits the game." + new "Quits the game." + + # renpy/common/_errorhandling.rpym:673 + old "Parsing the script failed." + new "Parsing the script failed." + + # renpy/common/_developer/developer.rpym:38 + old "Developer Menu" + new "Developer Menu" + + # renpy/common/_developer/developer.rpym:43 + old "Interactive Director (D)" + new "Interactive Director (D)" + + # renpy/common/_developer/developer.rpym:45 + old "Reload Game (Shift+R)" + new "Reload Game (Shift+R)" + + # renpy/common/_developer/developer.rpym:47 + old "Console (Shift+O)" + new "Console (Shift+O)" + + # renpy/common/_developer/developer.rpym:49 + old "Variable Viewer" + new "Variable Viewer" + + # renpy/common/_developer/developer.rpym:51 + old "Image Location Picker" + new "Image Location Picker" + + # renpy/common/_developer/developer.rpym:53 + old "Filename List" + new "Filename List" + + # renpy/common/_developer/developer.rpym:57 + old "Show Image Load Log (F4)" + new "Show Image Load Log (F4)" + + # renpy/common/_developer/developer.rpym:60 + old "Hide Image Load Log (F4)" + new "Hide Image Load Log (F4)" + + # renpy/common/_developer/developer.rpym:63 + old "Image Attributes" + new "Image Attributes" + + # renpy/common/_developer/developer.rpym:90 + old "[name] [attributes] (hidden)" + new "[name] [attributes] (hidden)" + + # renpy/common/_developer/developer.rpym:94 + old "[name] [attributes]" + new "[name] [attributes]" + + # renpy/common/_developer/developer.rpym:143 + old "Nothing to inspect." + new "Nothing to inspect." + + # renpy/common/_developer/developer.rpym:154 + old "Hide deleted" + new "Hide deleted" + + # renpy/common/_developer/developer.rpym:154 + old "Show deleted" + new "Show deleted" + + # renpy/common/_developer/developer.rpym:278 + old "Return to the developer menu" + new "Return to the developer menu" + + # renpy/common/_developer/developer.rpym:443 + old "Rectangle: %r" + new "Rectangle: %r" + + # renpy/common/_developer/developer.rpym:448 + old "Mouse position: %r" + new "Mouse position: %r" + + # renpy/common/_developer/developer.rpym:453 + old "Right-click or escape to quit." + new "Right-click or escape to quit." + + # renpy/common/_developer/developer.rpym:485 + old "Rectangle copied to clipboard." + new "Rectangle copied to clipboard." + + # renpy/common/_developer/developer.rpym:488 + old "Position copied to clipboard." + new "Position copied to clipboard." + + # renpy/common/_developer/developer.rpym:506 + old "Type to filter: " + new "Type to filter: " + + # renpy/common/_developer/developer.rpym:633 + old "Textures: [tex_count] ([tex_size_mb:.1f] MB)" + new "Textures: [tex_count] ([tex_size_mb:.1f] MB)" + + # renpy/common/_developer/developer.rpym:637 + old "Image cache: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)" + new "Image cache: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)" + + # renpy/common/_developer/developer.rpym:647 + old "✔ " + new "✔ " + + # renpy/common/_developer/developer.rpym:650 + old "✘ " + new "✘ " + + # renpy/common/_developer/developer.rpym:655 + old "\n{color=#cfc}✔ predicted image (good){/color}\n{color=#fcc}✘ unpredicted image (bad){/color}\n{color=#fff}Drag to move.{/color}" + new "\n{color=#cfc}✔ predicted image (good){/color}\n{color=#fcc}✘ unpredicted image (bad){/color}\n{color=#fff}Drag to move.{/color}" + + # renpy/common/_developer/inspector.rpym:38 + old "Displayable Inspector" + new "Displayable Inspector" + + # renpy/common/_developer/inspector.rpym:61 + old "Size" + new "Size" + + # renpy/common/_developer/inspector.rpym:65 + old "Style" + new "Style" + + # renpy/common/_developer/inspector.rpym:71 + old "Location" + new "Location" + + # renpy/common/_developer/inspector.rpym:122 + old "Inspecting Styles of [displayable_name!q]" + new "Inspecting Styles of [displayable_name!q]" + + # renpy/common/_developer/inspector.rpym:139 + old "displayable:" + new "displayable:" + + # renpy/common/_developer/inspector.rpym:145 + old " (no properties affect the displayable)" + new " (no properties affect the displayable)" + + # renpy/common/_developer/inspector.rpym:147 + old " (default properties omitted)" + new " (default properties omitted)" + + # renpy/common/_developer/inspector.rpym:185 + old "" + new "" + + # renpy/common/00console.rpy:524 + old "Press to exit console. Type help for help.\n" + new "Press to exit console. Type help for help.\n" + + # renpy/common/00console.rpy:528 + old "Ren'Py script enabled." + new "Ren'Py script enabled." + + # renpy/common/00console.rpy:530 + old "Ren'Py script disabled." + new "Ren'Py script disabled." + + # renpy/common/00console.rpy:779 + old "help: show this help" + new "help: show this help" + + # renpy/common/00console.rpy:784 + old "commands:\n" + new "commands:\n" + + # renpy/common/00console.rpy:794 + old " : run the statement\n" + new " : run the statement\n" + + # renpy/common/00console.rpy:796 + old " : run the expression or statement" + new " : run the expression or statement" + + # renpy/common/00console.rpy:804 + old "clear: clear the console history" + new "clear: clear the console history" + + # renpy/common/00console.rpy:808 + old "exit: exit the console" + new "exit: exit the console" + + # renpy/common/00console.rpy:816 + old "stack: print the return stack" + new "stack: print the return stack" + + # renpy/common/00console.rpy:838 + old "load : loads the game from slot" + new "load : loads the game from slot" + + # renpy/common/00console.rpy:851 + old "save : saves the game in slot" + new "save : saves the game in slot" + + # renpy/common/00console.rpy:862 + old "reload: reloads the game, refreshing the scripts" + new "reload: reloads the game, refreshing the scripts" + + # renpy/common/00console.rpy:870 + old "watch : watch a python expression\n watch short: makes the representation of traced expressions short (default)\n watch long: makes the representation of traced expressions as is" + new "watch : watch a python expression\n watch short: makes the representation of traced expressions short (default)\n watch long: makes the representation of traced expressions as is" + + # renpy/common/00console.rpy:907 + old "unwatch : stop watching an expression" + new "unwatch : stop watching an expression" + + # renpy/common/00console.rpy:953 + old "unwatchall: stop watching all expressions" + new "unwatchall: stop watching all expressions" + + # renpy/common/00console.rpy:974 + old "jump