Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file is in the public domain. Feel free to modify it as a basis
- # for your own screens.
- ##############################################################################
- # Say
- #
- # Screen that's used to display adv-mode dialogue.
- # http://www.renpy.org/doc/html/screen_special.html#say
- screen say:
- # Defaults for side_image and two_window
- default side_image = None
- default two_window = False
- # Decide if we want to use the one-window or two-window varaint.
- if not two_window:
- # The one window variant.
- window:
- id "window"
- has vbox:
- style "say_vbox"
- if who:
- text who id "who"
- text what id "what"
- else:
- vbox:
- style "say_two_window_vbox"
- if who:
- window:
- style "say_who_window"
- text who:
- id "who"
- window:
- id "window"
- has vbox:
- style "say_vbox"
- text what id "what"
- # If there's a side image, display it above the text.
- if side_image:
- add side_image
- ##############################################################################
- # Choice
- #
- # Screen that's used to display in-game menus.
- # http://www.renpy.org/doc/html/screen_special.html#choice
- screen choice:
- window:
- style "menu_window"
- xalign 0.5
- yalign 0.5
- vbox:
- style "menu"
- spacing 2
- for caption, action, chosen in items:
- if action:
- button:
- action action
- style "menu_choice_button"
- text caption style "menu_choice"
- else:
- text caption style "menu_caption"
- init -2 python:
- config.narrator_menu = True
- style.menu_window.set_parent(style.default)
- style.menu_choice.set_parent(style.button_text)
- style.menu_choice.clear()
- style.menu_choice_button.set_parent(style.button)
- style.menu_choice_button.xminimum = int(config.screen_width * 0.75)
- style.menu_choice_button.xmaximum = int(config.screen_width * 0.75)
- ##############################################################################
- # Input
- #
- # Screen that's used to display renpy.input()
- # http://www.renpy.org/doc/html/screen_special.html#input
- screen input:
- window:
- has vbox
- text prompt
- input id "input"
- ##############################################################################
- # Nvl
- #
- # Screen used for nvl-mode dialogue and menus.
- # http://www.renpy.org/doc/html/screen_special.html#nvl
- screen nvl:
- window:
- style "nvl_window"
- has vbox:
- style "nvl_vbox"
- # Display dialogue.
- for who, what, who_id, what_id, window_id in dialogue:
- window:
- id window_id
- has hbox:
- spacing 10
- if who is not None:
- text who id who_id
- text what id what_id
- # Display a menu, if given.
- if items:
- vbox:
- id "menu"
- for caption, action, chosen in items:
- if action:
- button:
- style "nvl_menu_choice_button"
- action action
- text caption style "nvl_menu_choice"
- else:
- text caption style "nvl_dialogue"
- ##############################################################################
- # Main Menu
- #
- # Screen that's used to display the main menu, when Ren'Py first starts
- # http://www.renpy.org/doc/html/screen_special.html#main-menu
- screen main_menu:
- # This ensures that any other menu screen is replaced.
- tag menu
- # The background of the main menu.
- window:
- style "mm_root"
- imagemap:
- ground "main_menu_idle.jpg"
- hover "main_menu_hover.jpg"
- hotspot (784,4,1015,112) action Start()
- hotspot (772,114,1002,220) action ShowMenu("load")
- hotspot (775,223,1005,332) action ShowMenu("preferences")
- hotspot (767,333,1009,447) action Help()
- hotspot (769,449,1005,565) action Quit(confirm=True)
- init -2 python:
- # Make all the main menu buttons be the same size.
- style.mm_button.size_group = "mm"
- ##############################################################################
- # Navigation
- #
- # Screen that's included in other screens to display the game menu
- # navigation and background.
- # http://www.renpy.org/doc/html/screen_special.html#navigation
- screen navigation:
- # The background of the game menu.
- window:
- style "gm_root"
- # The various buttons.
- imagemap:
- ground "navigation_ground.png"
- idle "navigation_idle.png"
- hover "navigation_selected.png"
- selected_idle "navigation_selected_idle.png"
- selected_hover "navigation_selected_hover.png"
- hotspot (1,684,159,767) action Return()
- hotspot (161,685,316,768) action ShowMenu("save")
- hotspot (318,685,470,768) action ShowMenu("load")
- hotspot (473,685,622,768) action ShowMenu("preferences")
- hotspot (624,686,776,767) action MainMenu()
- hotspot (778,685,947,768) action Quit()
- init -2 python:
- style.gm_nav_button.size_group = "gm_nav"
- ##############################################################################
- # Save, Load
- #
- # Screens that allow the user to save and load the game.
- # http://www.renpy.org/doc/html/screen_special.html#save
- # http://www.renpy.org/doc/html/screen_special.html#load
- screen save:
- # This ensures that any other menu screen is replaced.
- tag menu
- imagemap:
- ground "HVB_Save_Load_Ground.png"
- idle "HVB_Save_Load_Idle.png"
- hover "HVB_Save_Load_Hover.png"
- cache False
- hotspot (857,197,869,226) clicked FilePage(1) activate_sound "SwooshCombo3.mp3" hover_sound "SwooshCombo4.mp3"
- hotspot (854,242,870,269) clicked FilePage(2) activate_sound "SwooshCombo3.mp3" hover_sound "SwooshCombo4.mp3"
- hotspot (856,287,869,312) clicked FilePage(3) activate_sound "SwooshCombo3.mp3" hover_sound "SwooshCombo4.mp3"
- hotspot (857,334,869,357) clicked FilePage(4) activate_sound "SwooshCombo3.mp3" hover_sound "SwooshCombo4.mp3"
- hotspot (855,377,870,401) clicked FilePage(5) activate_sound "SwooshCombo3.mp3" hover_sound "SwooshCombo4.mp3"
- hotspot (857,423,870,448) clicked FilePage(6) activate_sound "SwooshCombo3.mp3" hover_sound "SwooshCombo4.mp3"
- hotspot (858,468,871,495) clicked FilePage(7) activate_sound "SwooshCombo3.mp3" hover_sound "SwooshCombo4.mp3"
- hotspot (857,513,870,536) clicked FilePage(8) activate_sound "SwooshCombo3.mp3" hover_sound "SwooshCombo4.mp3"
- hotspot (857,558,870,584) clicked FilePage(9) activate_sound "SwooshCombo3.mp3" hover_sound "SwooshCombo4.mp3"
- hotspot (213,214,425,353) clicked FileSave(1):
- use load_save_slot(number=1)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (528,212,738,353) clicked FileSave(2):
- use load_save_slot(number=2)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (214,423,425,561) clicked FileSave(3):
- use load_save_slot(number=3)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (527,422,741,566) clicked FileSave(4):
- use load_save_slot(number=4)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (805,129,884,155) action Return()
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- screen load:
- # This ensures that any other menu screen is replaced.
- tag menu
- imagemap:
- ground "HVB_Save_Load_Ground.png"
- idle "HVB_Save_Load_Idle.png"
- hover "HVB_Save_Load_Hover.png"
- cache False
- hotspot (857,197,869,226) clicked FilePage(1)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (854,242,870,269) clicked FilePage(2)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (856,287,869,312) clicked FilePage(3)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (857,334,869,357) clicked FilePage(4)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (855,377,870,401) clicked FilePage(5)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (857,423,870,448) clicked FilePage(6)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (858,468,871,495) clicked FilePage(7)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (857,513,870,536) clicked FilePage(8)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (857,558,870,584) clicked FilePage(9)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (213,214,425,353) clicked FileLoad(1):
- use load_save_slot(number=1)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (528,212,738,353) clicked FileLoad(3):
- use load_save_slot(number=3)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (214,423,425,561) clicked FileLoad(2):
- use load_save_slot(number=2)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (527,422,741,566) clicked FileLoad(4):
- use load_save_slot(number=4)
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- hotspot (805,129,884,155) action Return()
- activate_sound "SwooshCombo3.mp3"
- hover_sound "SwooshCombo4.mp3"
- screen load_save_slot:
- $ file_text = "% 2s. %s\n%s" % (
- FileSlotName(number, 4),
- FileTime(number, empty=_("Empty Slot")),
- FileSaveName(number))
- add FileScreenshot(number) xpos 220 ypos 20
- text file_text xpos 0 ypos 10 size 40 color "#ffffff" outlines [ (2, "#302B54") ] kerning 2 font "FONT FILE NAME HERE"
- key "save_delete" action FileDelete(number)
- init -2 python:
- config.thumbnail_width = 215
- config.thumbnail_height = 144
- ##############################################################################
- # Preferences
- #
- # Screen that allows the user to change the preferences.
- # http://www.renpy.org/doc/html/screen_special.html#prefereces
- screen preferences:
- tag menu
- # Include the navigation.
- imagemap:
- ground "navigation_ground.png"
- idle "navigation_idle.png"
- hover "navigation_selected.png"
- selected_idle "navigation_selected_idle.png"
- selected_hover "navigation_selected_hover.png"
- hotspot (1,684,159,767) action Return()
- hotspot (161,685,316,768) action ShowMenu("save")
- hotspot (318,685,470,768) action ShowMenu("load")
- hotspot (473,685,622,768) action ShowMenu("preferences")
- hotspot (624,686,776,767) action MainMenu()
- hotspot (778,685,947,768) action Quit()
- imagemap:
- ground "Preferences_Ground.png"
- idle "Preferences_Ground.png"
- hover "Preferences_Hover.png"
- selected_idle "Preferences_Ground.png"
- selected_hover "Preferences_Hover.png"
- alpha False
- hotspot (175,437,328,473) action Preference("display", "fullscreen")
- hotspot (175,385,388,420) action Preference("display", "window")
- hotspot (146,223,378,265) action ShowMenu("credits")
- bar pos (596,290) value Preference("text speed") style "pref_slider"
- bar pos (601,428) value Preference("sound volume") style "pref_slider"
- bar pos (606,570,864,615) value Preference("music volume") style "pref_slider"
- init -2 python:
- style.pref_slider.left_bar = "left_bar.png"
- style.pref_slider.right_bar = "right_bar.png"
- style.pref_slider.xmaximum = 259
- style.pref_slider.ymaximum = 45
- style.pref_slider.thumb = "thumb.png"
- style.pref_slider.thumb_offset = 4
- style.pref_slider.thumb_shadow = None
- #############################
- #
- # Credits screen from Options ("Preferences")
- #
- #
- screen credits:
- init python:
- menu = nvl_menu
- # The color of a menu choice when it isn't hovered.
- style.nvl_menu_choice.idle_color = "#0e829f"
- # The color of a menu choice when it is hovered.
- style.nvl_menu_choice.hover_color = "#00b9e7"
- # The color of the background of a menu choice, when it isn't
- # hovered.
- # style.nvl_menu_choice_button.idle_background = "#00000000"
- # The color of the background of a menu choice, when it is
- # hovered.
- # style.nvl_menu_choice_button.hover_background = "#ff000044"
- # How far from the left menu choices should be indented.
- style.nvl_menu_choice_button.left_margin = 20
- style.nvl_window.background = "nvl_window.png"
- style.nvl_window.xpadding = 0
- style.nvl_window.ypadding = 0
- config.empty_window = nvl_show_core
- config.window_hide_transition = pixellate
- config.window_show_transition = pixellate
- define narrator = Character(None, kind=nvl)
- window show
- "Story, script, programming, original art assets, and creative direction by Kim Crawley, a.k.a. \"Crowgirl\"."
- "Vector background for UI and Hackers Versus Banksters logo designed by Freepik."
- "Made with the Ren'Py Visual Novel engine."
- window hide
- nvl clear
- window show
- "Music by Eric Matyas, www.soundimage.org"
- "Sound FX by www.soundfxnow.com"
- "Backgrounds are derived from original Creative Commons licensed photographs."
- window hide
- nvl clear
- window show
- "Queen Street West photo by Diego Silvestre. Eaton Centre photo by 松林 L."
- "Hipster Cafe photo by eyeliam. TTC subway photo by Gloom."
- "Home computer desk photo by THOR. Apartment photo by hobvias sudoneighm."
- window hide
- nvl clear
- window show
- "Hospital bed photo by Mark Hillary. Bank photos by shi zhao and Tinkoff Bank."
- "Bay Street photos by mark.watmough and Chris Tyler. Server room photo by BalticServers.com."
- "Toronto skyline photo by Prayitno. Honest Ed's photo by Mikerussell."
- window hide
- nvl clear
- window show
- "Candy display photo by Jeffrey O. Gustafson. Toronto Reference Library photo by Raysonho."
- "/"Sujeta/" UI font by Tepid Monkey Fonts, www.fontframe.com/tepidmonkey"
- "Hackers Versus Banksters logo font \"minya-nouvelle\" by Typodermic Fonts, typodermicfonts.com"
- window hide
- nvl clear
- window show
- "Hackers Versus Banksters logo font \"Old Gate Lane NF\" by 1001Fonts, 1001fonts.com"
- "Hackers Versus Banksters logo font \"Rational Integer\" by Tepid Monkey Fonts, www.fontframe.com/tepidmonkey"
- "Special thanks to those in the Ren'Py VN development community who created guides and tutorials I've found helpful..."
- window hide
- nvl clear
- window show
- "Fuck Yeah Ren'Py, fuckyeahrenpy.tumblr.com, Aleema, happybackwards.tumblr.com"
- "The Ren'Py Handbook, renpyhandbook.tumblr.com, Camille, himeutsugi.org"
- "Lemma Soft Forums community, lemmasoft.renai.us"
- window hide
- nvl clear
- window show
- "Extra special thanks go to the following Kickstarter funders!"
- "*****************"
- "This game is dedicated to my husband, Sean Rooney a.k.a. \"Tankboy\", for his love, moral, and emotional support."
- window hide
- nvl clear
- window show
- "And the mysterious \"MLW\" for preventing my husband and I from becoming destitute during hard financial times."
- "Also to my late father, Michael Crawley, for encouraging me to write and create stories ever since I was a little girl..."
- "For teaching me how to write for a living, for encouraging my technical and artistic pursuits, and for dedicating his novels to me."
- window hide
- nvl clear
- window show
- "Now I've dedicated a commercial fiction product to you. I'm sad that you aren't alive to see it."
- "Rest In Peace, April 4th, 1937-December 23rd, 2013."
- window hide
- nvl clear
- ##############################################################################
- # Yes/No Prompt
- #
- # Screen that asks the user a yes or no question.
- # http://www.renpy.org/doc/html/screen_special.html#yesno-prompt
- screen yesno_prompt:
- modal True
- imagemap:
- ground 'yesno_ground.png'
- idle 'yesno_idle.png'
- hover 'yesno_hover.png'
- hotspot (434,451,508,503) action yes_action
- hotspot (594,448,669,503) action no_action
- add "yesno_ground.png"
- if message == layout.ARE_YOU_SURE:
- add "yesno_are_you_sure.png"
- elif message == layout.DELETE_SAVE:
- add "yesno_delete_save.png"
- elif message == layout.OVERWRITE_SAVE:
- add "yesno_overwrite_save.png"
- elif message == layout.LOADING:
- add "yesno_loading.png"
- elif message == layout.QUIT:
- add "yesno_quit.png"
- elif message == layout.MAIN_MENU:
- add "yesno_main_menu.png"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement