diff --git a/docs/running.md b/docs/running.md index 7b42d9c..8fc80b4 100644 --- a/docs/running.md +++ b/docs/running.md @@ -59,6 +59,25 @@ HOME=$TMPDIR/renpy-home tools/renpy-sdk/renpy.sh vn/faust lint The expected result is a statistics block with no warnings above it. +## 3b. End-to-end playthrough test + +Lint does not catch runtime errors (missing GUI images, display bugs). `--with-test` also +writes `game/e2e_test.rpy`, a Ren'Py `testcase` that clicks "Start", advances through the +whole game up to the final card (`label the_end`) and back to the main menu, failing on any +exception (`traceback.txt`). Use a throw-away output directory so the test file never ends +up in `vn/` or in a build: + +```sh +uv run vnpipe renpy --with-test --out build/e2e +HOME=$TMPDIR/renpy-home SDL_VIDEODRIVER=dummy SDL_AUDIODRIVER=dummy RENPY_RENDERER=sw \ + tools/renpy-sdk/renpy.sh build/e2e test +``` + +The headless run needs the software renderer (`RENPY_RENDERER=sw`, no GL under the dummy +video driver); matrix tints are therefore not rendered but all game logic is exercised. +`tests/test_renpy_gen.py` runs this for the fixture and for Faust when the SDK exists +(slow: about a minute). On a desktop with a display, drop the three variables. + ## 4. Play ```sh diff --git a/src/vnpipe/renpy_gen.py b/src/vnpipe/renpy_gen.py index 96b103a..1e8fde1 100644 --- a/src/vnpipe/renpy_gen.py +++ b/src/vnpipe/renpy_gen.py @@ -16,6 +16,8 @@ from dataclasses import dataclass, field from pathlib import Path from typing import Any +from PIL import Image, ImageDraw + from vnpipe import PACKAGE_DIR from vnpipe.assets import USABLE, load_manifest, placeholder from vnpipe.config import Work, load_work @@ -402,13 +404,10 @@ class SceneWriter: scene = self.scene self.out.append(f"label scene_{scene['id']}:") self.emit("scene black") - self.emit( - f'show text "{{size=60}}{escape_text(scene["heading"])}{{/size}}" ' - "as title_card at truecenter" - ) + self.emit(f"show card_{scene['id']} at truecenter") self.emit("with fade") self.emit(f"pause {TITLE_PAUSE}") - self.emit("hide title_card") + self.emit(f"hide card_{scene['id']}") if self.bg: self.emit(f"scene {bg_image_name(self.bg)} at tint_{self.tint}") self.emit("with fade") @@ -464,7 +463,6 @@ def apply_overrides(work: Work, annotated: dict[str, Any]) -> dict[str, Any]: def render_script(work: Work, annotated: dict[str, Any], moods: set[str]) -> str: validate_staging(work, annotated) annotated = apply_overrides(work, annotated) - end_text = work.data["work"].get("end_text", DEFAULT_END_TEXT) out = [ "## Generated by `vnpipe renpy`. Do not edit: regenerate instead.", "", @@ -482,9 +480,10 @@ def render_script(work: Work, annotated: dict[str, Any], moods: set[str]) -> str if missing: raise ValueError(f"cues refer to unknown line ids: {sorted(missing)}") out += [ + "label the_end:", " scene black", " with fade", - f' show text "{{size=60}}{escape_text(end_text)}{{/size}}" as title_card at truecenter', + " show card_end at truecenter", " with dissolve", f" pause {END_PAUSE}", " return", @@ -493,6 +492,99 @@ def render_script(work: Work, annotated: dict[str, Any], moods: set[str]) -> str return "\n".join(out) +# --- GUI images the SDK template leaves out -------------------------------------------------- +# `generate_gui` only makes a few GUI images; button, bar, scrollbar, slider, check and radio +# images are expected to exist (Ren'Py's prefix search falls back to the un-prefixed name). + +ACCENT = (201, 162, 91) +IVORY = (239, 230, 210) +DARK = (20, 17, 14) + + +def _solid(size: tuple[int, int], color: tuple[int, ...]) -> Image.Image: + return Image.new("RGBA", size, color) + + +def _check_image(selected: bool, round_: bool) -> Image.Image: + img = Image.new("RGBA", (38, 38), (0, 0, 0, 0)) + draw = ImageDraw.Draw(img) + box = [4, 4, 33, 33] + shape = draw.ellipse if round_ else draw.rectangle + shape(box, outline=IVORY + (255,), width=3) + if selected: + shape([12, 12, 25, 25], fill=ACCENT + (255,)) + return img + + +def gui_extra_images() -> dict[str, Image.Image]: + """Deterministic simple GUI images, keyed by path relative to ``game/``.""" + base: dict[str, Image.Image] = { + "button/background.png": _solid((24, 24), (0, 0, 0, 0)), + "button/hover_background.png": _solid((24, 24), ACCENT + (60,)), + "button/selected_background.png": _solid((24, 24), ACCENT + (35,)), + "button/check_foreground.png": _check_image(False, False), + "button/check_selected_foreground.png": _check_image(True, False), + "button/radio_foreground.png": _check_image(False, True), + "button/radio_selected_foreground.png": _check_image(True, True), + "bar/left.png": _solid((48, 48), ACCENT + (255,)), + "bar/right.png": _solid((48, 48), IVORY + (60,)), + "bar/top.png": _solid((48, 48), IVORY + (60,)), + "bar/bottom.png": _solid((48, 48), ACCENT + (255,)), + "slider/horizontal_bar.png": _solid((48, 48), IVORY + (60,)), + "slider/horizontal_thumb.png": _solid((20, 38), ACCENT + (255,)), + "slider/vertical_bar.png": _solid((48, 48), IVORY + (60,)), + "slider/vertical_thumb.png": _solid((38, 20), ACCENT + (255,)), + "scrollbar/horizontal_bar.png": _solid((48, 48), IVORY + (40,)), + "scrollbar/horizontal_thumb.png": _solid((48, 48), ACCENT + (255,)), + "scrollbar/vertical_bar.png": _solid((48, 48), IVORY + (40,)), + "scrollbar/vertical_thumb.png": _solid((48, 48), ACCENT + (255,)), + } + result = dict(base) + for path, img in base.items(): + result[f"phone/{path}"] = img + return {f"gui/{path}": img for path, img in sorted(result.items())} + + +E2E_FILE = "e2e_test.rpy" +E2E_TESTCASE = """## Generated by `vnpipe renpy --with-test`: end-to-end playthrough (testing only). +## Run with `renpy.sh test` (see docs/running.md). + +# The test runner only advances when frames are drawn; an always-running transform keeps +# the software renderer (used headless) drawing, including on the main menu. +transform e2e_tick: + xpos 0 + linear 0.05 xpos 1 + repeat + +screen e2e_ticker(): + zorder 1000 + add Null(1, 1) at e2e_tick + +init 999 python: + config.always_shown_screens.append("e2e_ticker") + e2e_state = {"end": False} + + def e2e_label(name, abnormal): + if name == "the_end": + e2e_state["end"] = True + + config.label_callbacks.append(e2e_label) + +testsuite global: + teardown: + exit + +testcase default: + $ _test.transition_timeout = 0.05 + $ _test.timeout = 30.0 + pause 1.0 + click "Start" + advance until eval (e2e_state["end"]) timeout 900 + advance until screen "main_menu" timeout 60 + assert eval (e2e_state["end"]) +""" + + # --- static project files ----------------------------------------------------------------- @@ -521,8 +613,16 @@ def render_characters(work: Work) -> str: return "\n".join(out) -def render_images(entries: list[ImageEntry]) -> str: +def title_cards(work: Work, annotated: dict[str, Any]) -> dict[str, str]: + cards = {f"card_{sc['id']}": sc["heading"] for sc in annotated["scenes"]} + cards["card_end"] = work.data["work"].get("end_text", DEFAULT_END_TEXT) + return cards + + +def render_images(entries: list[ImageEntry], cards: dict[str, str]) -> str: out = ["## Generated by `vnpipe renpy`. Do not edit: regenerate instead.", ""] + for name, text in cards.items(): # title cards: plain images, not `show text` + out.append(f'image {name} = Text("{escape_text(text)}", size=60, text_align=0.5)') for e in entries: out.append(f"image {e.name} = {_plain_quote('images/' + e.rel)}") out.append("") @@ -559,7 +659,9 @@ def _audio_moods(out: Path) -> set[str]: return {p.stem for p in audio.glob("*.ogg")} if audio.is_dir() else set() -def generate(work: Work, annotated: dict[str, Any], out: Path) -> list[Path]: +def generate( + work: Work, annotated: dict[str, Any], out: Path, with_test: bool = False +) -> list[Path]: """Write the Ren'Py project into ``out``; returns every generated file (sorted).""" info = work.data["work"] manifest_path = work.path("assets/assets.json") @@ -596,9 +698,20 @@ def generate(work: Work, annotated: dict[str, Any], out: Path) -> list[Path]: else: shutil.copyfile(src, dest) + for rel, img in gui_extra_images().items(): + dest = game / rel + dest.parent.mkdir(parents=True, exist_ok=True) + if not dest.exists(): # never override an image shipped by the template + img.save(dest, "PNG") + written.append(dest) + test_file = game / E2E_FILE + test_file.unlink(missing_ok=True) + if with_test: + write_text(test_file, E2E_TESTCASE) + written.append(test_file) for name, text in ( ("characters.rpy", render_characters(work)), - ("images.rpy", render_images(entries)), + ("images.rpy", render_images(entries, title_cards(work, annotated))), ("script.rpy", render_script(work, annotated, _audio_moods(out))), ): write_text(game / name, text) @@ -632,7 +745,7 @@ def cmd_renpy(args: argparse.Namespace) -> int: annotated = json.loads(path.read_text(encoding="utf-8")) validate(annotated, "annotated") out = args.out or Path("vn") / work.id - files = generate(work, annotated, out) + files = generate(work, annotated, out, with_test=args.with_test) print(f"renpy: wrote {len(files)} files under {out}") return 0 @@ -644,5 +757,10 @@ def register(subparsers: argparse._SubParsersAction) -> None: action="store_true", help="Build trivial annotations from parsed.json instead of reading annotated.json", ) + parser.add_argument( + "--with-test", + action="store_true", + help=f"Also write game/{E2E_FILE}: an end-to-end playthrough for `renpy.sh test`", + ) parser.add_argument("--out", type=Path, help="Output directory (default: vn/)") parser.set_defaults(handler=cmd_renpy) diff --git a/tests/test_renpy_gen.py b/tests/test_renpy_gen.py index d5e2bfc..18d0641 100644 --- a/tests/test_renpy_gen.py +++ b/tests/test_renpy_gen.py @@ -65,11 +65,12 @@ def test_escaping_in_script(script): def test_title_card_and_end(script): block = scene_block(script, "talk") - assert 'show text "{size=60}CONVERSACIÓN{/size}" as title_card at truecenter' in block + assert "show card_talk at truecenter" in block + assert "hide card_talk" in block assert "with fade" in block assert "scene bg theatre at tint_none" in block assert script.rstrip().endswith("return") - assert "Continuará…" in script + assert "show card_end at truecenter" in script and "label the_end:" in script def test_nvl_pages_per_stanza(script): @@ -168,6 +169,12 @@ def test_characters_and_images(project): assert not (project / "game/images/sprites/lord_neutral.webp").exists() +def test_title_card_images(project): + images = (project / "game/images.rpy").read_text(encoding="utf-8") + assert 'image card_talk = Text("CONVERSACIÓN", size=60, text_align=0.5)' in images + assert 'image card_end = Text("Continuará…"' in images + + def test_options_substitution(project): options = (project / "game/options.rpy").read_text(encoding="utf-8") assert 'config.name = _("Mini")' in options @@ -332,3 +339,77 @@ def test_invalid_staging_cast_and_move(work, annotated): data["cues"][0]["move"] = {"poet": "nowhere"} with pytest.raises(ValueError, match="position"): renpy_gen.render_script(type(work)(root=work.root, data=data), annotated, set()) + + +def test_every_gui_image_exists(project): + """Every gui/... path the template screens reference resolves to a shipped file.""" + import re + + game = project / "game" + text = "".join((game / n).read_text(encoding="utf-8") for n in ("gui.rpy", "screens.rpy")) + text = "\n".join(ln for ln in text.split("\n") if not ln.lstrip().startswith("#")) + refs = set(re.findall(r'"(gui/[^"]+\.png)"', text)) + assert len(refs) > 20 + missing = [] + for ref in sorted(refs): + # Ren'Py's prefix search ends with the un-prefixed name + candidates = [ref.replace("[prefix_]", "")] + if ref.endswith("confirm_frame.png"): + candidates.append("gui/frame.png") # listed fallback in screens.rpy + if not any((game / c).is_file() for c in candidates): + missing.append(ref) + assert not missing + # button_properties() backgrounds fall back to gui/button/background.png + assert (game / "gui/button/background.png").is_file() + assert (game / "gui/phone/button/background.png").is_file() + + +def test_with_test_flag(work, annotated, tmp_path): + plain, tested = tmp_path / "a", tmp_path / "b" + renpy_gen.generate(work, annotated, plain) + renpy_gen.generate(work, annotated, tested, with_test=True) + assert not (plain / "game/e2e_test.rpy").exists() + assert "testcase default" in (tested / "game/e2e_test.rpy").read_text(encoding="utf-8") + renpy_gen.generate(work, annotated, tested) # flag off removes it again + assert not (tested / "game/e2e_test.rpy").exists() + + +def run_e2e(project: Path, home: Path) -> str: + home.mkdir(exist_ok=True) + for name in ("traceback.txt", "errors.txt"): + (project / name).unlink(missing_ok=True) + env = { + **os.environ, + "HOME": str(home), + "SDL_VIDEODRIVER": "dummy", + "SDL_AUDIODRIVER": "dummy", + "RENPY_RENDERER": "sw", + } + result = subprocess.run( + [str(SDK), str(project), "test"], capture_output=True, text=True, env=env, timeout=900 + ) + report = result.stdout + result.stderr + for name in ("traceback.txt", "errors.txt"): + assert not (project / name).exists(), (project / name).read_text(encoding="utf-8") + assert result.returncode == 0, report + assert "Traceback" not in report and "FAIL" not in report, report + return report + + +@pytest.mark.skipif(not SDK.exists(), reason="Ren'Py SDK not installed in tools/renpy-sdk") +def test_e2e_playthrough_mini(work, annotated, tmp_path): + out = tmp_path / "mini" + renpy_gen.generate(work, annotated, out, with_test=True) + run_e2e(out, tmp_path / "home") + + +@pytest.mark.skipif(not SDK.exists(), reason="Ren'Py SDK not installed in tools/renpy-sdk") +@pytest.mark.skipif( + not (ROOT / "works/faust/data/annotated.json").is_file(), reason="no annotated.json" +) +def test_e2e_playthrough_faust(tmp_path): + faust = load_work(ROOT / "works/faust") + data = json.loads((ROOT / "works/faust/data/annotated.json").read_text(encoding="utf-8")) + out = tmp_path / "faust" + renpy_gen.generate(faust, data, out, with_test=True) + run_e2e(out, tmp_path / "home") diff --git a/vn/faust/game/characters.rpy b/vn/faust/game/characters.rpy new file mode 100644 index 0000000..68397bd --- /dev/null +++ b/vn/faust/game/characters.rpy @@ -0,0 +1,28 @@ +## Generated by `vnpipe renpy`. Do not edit: regenerate instead. + +define c_narrator = Character(None, what_color="#d8cfc0", what_italic=True) +define c_narrator_nvl = Character(None, kind=nvl, what_color="#d8cfc0", what_italic=True, what_style="nvl_thought") +define c_poet_voice = Character(None, what_color="#e8dcc2") +define c_poet_voice_nvl = Character(None, kind=nvl, what_color="#e8dcc2", what_style="nvl_thought") +define c_director = Character("El Director", who_color="#c9a25b") +define c_director_nvl = Character("El Director", kind=nvl, who_color="#c9a25b") +define c_poet = Character("El Poeta", who_color="#8fa8c8") +define c_poet_nvl = Character("El Poeta", kind=nvl, who_color="#8fa8c8") +define c_clown = Character("El Gracioso", who_color="#c87a5a") +define c_clown_nvl = Character("El Gracioso", kind=nvl, who_color="#c87a5a") +define c_raphael = Character("Rafael", who_color="#f0d890") +define c_raphael_nvl = Character("Rafael", kind=nvl, who_color="#f0d890") +define c_gabriel = Character("Gabriel", who_color="#d8e4f0") +define c_gabriel_nvl = Character("Gabriel", kind=nvl, who_color="#d8e4f0") +define c_michael = Character("Miguel", who_color="#e8a878") +define c_michael_nvl = Character("Miguel", kind=nvl, who_color="#e8a878") +define c_archangels = Character("Los tres Arcángeles", who_color="#f4ecd0") +define c_archangels_nvl = Character("Los tres Arcángeles", kind=nvl, who_color="#f4ecd0") +define c_lord = Character("El Señor", who_color="#fff4c8") +define c_lord_nvl = Character("El Señor", kind=nvl, who_color="#fff4c8") +define c_mephisto = Character("Mefistófeles", who_color="#b04a3a") +define c_mephisto_nvl = Character("Mefistófeles", kind=nvl, who_color="#b04a3a") +define c_faust = Character("Fausto", who_color="#a8b890") +define c_faust_nvl = Character("Fausto", kind=nvl, who_color="#a8b890") +define c_spirit = Character("El Espíritu", who_color="#e85a3a") +define c_spirit_nvl = Character("El Espíritu", kind=nvl, who_color="#e85a3a") diff --git a/vn/faust/game/fonts/RobotoSlab-Bold.ttf b/vn/faust/game/fonts/RobotoSlab-Bold.ttf new file mode 100644 index 0000000..df5d1df Binary files /dev/null and b/vn/faust/game/fonts/RobotoSlab-Bold.ttf differ diff --git a/vn/faust/game/fonts/RobotoSlab-Regular.ttf b/vn/faust/game/fonts/RobotoSlab-Regular.ttf new file mode 100644 index 0000000..eb52a79 Binary files /dev/null and b/vn/faust/game/fonts/RobotoSlab-Regular.ttf differ diff --git a/vn/faust/game/gui.rpy b/vn/faust/game/gui.rpy new file mode 100644 index 0000000..ce75d0e --- /dev/null +++ b/vn/faust/game/gui.rpy @@ -0,0 +1,480 @@ +################################################################################ +## 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) + +## Enable checks for invalid or unstable properties in screens or transforms +define config.check_conflicting_properties = True + + +################################################################################ +## 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 = '#c9a25b' + +## 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 = '#dec79c' + +## 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 = '#504024' +define gui.hover_muted_color = '#786136' + +## The colors used for dialogue and menu choice text. +define gui.text_color = '#efe6d2' +define gui.interface_text_color = '#efe6d2' + + +## Fonts and Font Sizes ######################################################## + +## The font used for in-game text. +define gui.text_font = "fonts/RobotoSlab-Regular.ttf" + +## The font used for character names. +define gui.name_text_font = "fonts/RobotoSlab-Regular.ttf" + +## The font used for out-of-game text. +define gui.interface_text_font = "fonts/RobotoSlab-Regular.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 = "bg dedication" +define gui.game_menu_background = "bg dedication" + + +## 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 = '#888888' +define gui.choice_button_text_hover_color = "#ffffff" +define gui.choice_button_text_insensitive_color = '#8888887f' + + +## 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 game menu. "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 + +## Additional space to add between history screen entries. +define gui.history_spacing = 0 + +## 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 = 12 + +## The height of an NVL-mode entry. Set this to None to have the entries +## dynamically adjust height. +define gui.nvl_height = None + +## 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 = None + + 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/vn/faust/game/gui/bar/bottom.png b/vn/faust/game/gui/bar/bottom.png new file mode 100644 index 0000000..7bf0d01 Binary files /dev/null and b/vn/faust/game/gui/bar/bottom.png differ diff --git a/vn/faust/game/gui/bar/left.png b/vn/faust/game/gui/bar/left.png new file mode 100644 index 0000000..7bf0d01 Binary files /dev/null and b/vn/faust/game/gui/bar/left.png differ diff --git a/vn/faust/game/gui/bar/right.png b/vn/faust/game/gui/bar/right.png new file mode 100644 index 0000000..fd0f343 Binary files /dev/null and b/vn/faust/game/gui/bar/right.png differ diff --git a/vn/faust/game/gui/bar/top.png b/vn/faust/game/gui/bar/top.png new file mode 100644 index 0000000..fd0f343 Binary files /dev/null and b/vn/faust/game/gui/bar/top.png differ diff --git a/vn/faust/game/gui/bubble.png b/vn/faust/game/gui/bubble.png new file mode 100644 index 0000000..3b23ff3 Binary files /dev/null and b/vn/faust/game/gui/bubble.png differ diff --git a/vn/faust/game/gui/button/background.png b/vn/faust/game/gui/button/background.png new file mode 100644 index 0000000..a945657 Binary files /dev/null and b/vn/faust/game/gui/button/background.png differ diff --git a/vn/faust/game/gui/button/check_foreground.png b/vn/faust/game/gui/button/check_foreground.png new file mode 100644 index 0000000..96941d6 Binary files /dev/null and b/vn/faust/game/gui/button/check_foreground.png differ diff --git a/vn/faust/game/gui/button/check_selected_foreground.png b/vn/faust/game/gui/button/check_selected_foreground.png new file mode 100644 index 0000000..e3971f8 Binary files /dev/null and b/vn/faust/game/gui/button/check_selected_foreground.png differ diff --git a/vn/faust/game/gui/button/choice_hover_background.png b/vn/faust/game/gui/button/choice_hover_background.png new file mode 100644 index 0000000..d2cdd41 Binary files /dev/null and b/vn/faust/game/gui/button/choice_hover_background.png differ diff --git a/vn/faust/game/gui/button/choice_idle_background.png b/vn/faust/game/gui/button/choice_idle_background.png new file mode 100644 index 0000000..1570796 Binary files /dev/null and b/vn/faust/game/gui/button/choice_idle_background.png differ diff --git a/vn/faust/game/gui/button/hover_background.png b/vn/faust/game/gui/button/hover_background.png new file mode 100644 index 0000000..1a42ed2 Binary files /dev/null and b/vn/faust/game/gui/button/hover_background.png differ diff --git a/vn/faust/game/gui/button/quick_hover_background.png b/vn/faust/game/gui/button/quick_hover_background.png new file mode 100644 index 0000000..0ecc7c9 Binary files /dev/null and b/vn/faust/game/gui/button/quick_hover_background.png differ diff --git a/vn/faust/game/gui/button/quick_idle_background.png b/vn/faust/game/gui/button/quick_idle_background.png new file mode 100644 index 0000000..0ecc7c9 Binary files /dev/null and b/vn/faust/game/gui/button/quick_idle_background.png differ diff --git a/vn/faust/game/gui/button/radio_foreground.png b/vn/faust/game/gui/button/radio_foreground.png new file mode 100644 index 0000000..ef72cbb Binary files /dev/null and b/vn/faust/game/gui/button/radio_foreground.png differ diff --git a/vn/faust/game/gui/button/radio_selected_foreground.png b/vn/faust/game/gui/button/radio_selected_foreground.png new file mode 100644 index 0000000..e2c8312 Binary files /dev/null and b/vn/faust/game/gui/button/radio_selected_foreground.png differ diff --git a/vn/faust/game/gui/button/selected_background.png b/vn/faust/game/gui/button/selected_background.png new file mode 100644 index 0000000..e700b7b Binary files /dev/null and b/vn/faust/game/gui/button/selected_background.png differ diff --git a/vn/faust/game/gui/frame.png b/vn/faust/game/gui/frame.png new file mode 100644 index 0000000..4a8851d Binary files /dev/null and b/vn/faust/game/gui/frame.png differ diff --git a/vn/faust/game/gui/game_menu.png b/vn/faust/game/gui/game_menu.png new file mode 100644 index 0000000..ffbba15 Binary files /dev/null and b/vn/faust/game/gui/game_menu.png differ diff --git a/vn/faust/game/gui/main_menu.png b/vn/faust/game/gui/main_menu.png new file mode 100644 index 0000000..ffbba15 Binary files /dev/null and b/vn/faust/game/gui/main_menu.png differ diff --git a/vn/faust/game/gui/namebox.png b/vn/faust/game/gui/namebox.png new file mode 100644 index 0000000..c24135c Binary files /dev/null and b/vn/faust/game/gui/namebox.png differ diff --git a/vn/faust/game/gui/notify.png b/vn/faust/game/gui/notify.png new file mode 100644 index 0000000..c27b714 Binary files /dev/null and b/vn/faust/game/gui/notify.png differ diff --git a/vn/faust/game/gui/nvl.png b/vn/faust/game/gui/nvl.png new file mode 100644 index 0000000..5e55ec8 Binary files /dev/null and b/vn/faust/game/gui/nvl.png differ diff --git a/vn/faust/game/gui/overlay/confirm.png b/vn/faust/game/gui/overlay/confirm.png new file mode 100644 index 0000000..b95c47c Binary files /dev/null and b/vn/faust/game/gui/overlay/confirm.png differ diff --git a/vn/faust/game/gui/overlay/game_menu.png b/vn/faust/game/gui/overlay/game_menu.png new file mode 100644 index 0000000..5c588b7 Binary files /dev/null and b/vn/faust/game/gui/overlay/game_menu.png differ diff --git a/vn/faust/game/gui/overlay/main_menu.png b/vn/faust/game/gui/overlay/main_menu.png new file mode 100644 index 0000000..e56f58e Binary files /dev/null and b/vn/faust/game/gui/overlay/main_menu.png differ diff --git a/vn/faust/game/gui/phone/bar/bottom.png b/vn/faust/game/gui/phone/bar/bottom.png new file mode 100644 index 0000000..7bf0d01 Binary files /dev/null and b/vn/faust/game/gui/phone/bar/bottom.png differ diff --git a/vn/faust/game/gui/phone/bar/left.png b/vn/faust/game/gui/phone/bar/left.png new file mode 100644 index 0000000..7bf0d01 Binary files /dev/null and b/vn/faust/game/gui/phone/bar/left.png differ diff --git a/vn/faust/game/gui/phone/bar/right.png b/vn/faust/game/gui/phone/bar/right.png new file mode 100644 index 0000000..fd0f343 Binary files /dev/null and b/vn/faust/game/gui/phone/bar/right.png differ diff --git a/vn/faust/game/gui/phone/bar/top.png b/vn/faust/game/gui/phone/bar/top.png new file mode 100644 index 0000000..fd0f343 Binary files /dev/null and b/vn/faust/game/gui/phone/bar/top.png differ diff --git a/vn/faust/game/gui/phone/button/background.png b/vn/faust/game/gui/phone/button/background.png new file mode 100644 index 0000000..a945657 Binary files /dev/null and b/vn/faust/game/gui/phone/button/background.png differ diff --git a/vn/faust/game/gui/phone/button/check_foreground.png b/vn/faust/game/gui/phone/button/check_foreground.png new file mode 100644 index 0000000..96941d6 Binary files /dev/null and b/vn/faust/game/gui/phone/button/check_foreground.png differ diff --git a/vn/faust/game/gui/phone/button/check_selected_foreground.png b/vn/faust/game/gui/phone/button/check_selected_foreground.png new file mode 100644 index 0000000..e3971f8 Binary files /dev/null and b/vn/faust/game/gui/phone/button/check_selected_foreground.png differ diff --git a/vn/faust/game/gui/phone/button/choice_hover_background.png b/vn/faust/game/gui/phone/button/choice_hover_background.png new file mode 100644 index 0000000..d2cdd41 Binary files /dev/null and b/vn/faust/game/gui/phone/button/choice_hover_background.png differ diff --git a/vn/faust/game/gui/phone/button/choice_idle_background.png b/vn/faust/game/gui/phone/button/choice_idle_background.png new file mode 100644 index 0000000..1570796 Binary files /dev/null and b/vn/faust/game/gui/phone/button/choice_idle_background.png differ diff --git a/vn/faust/game/gui/phone/button/hover_background.png b/vn/faust/game/gui/phone/button/hover_background.png new file mode 100644 index 0000000..1a42ed2 Binary files /dev/null and b/vn/faust/game/gui/phone/button/hover_background.png differ diff --git a/vn/faust/game/gui/phone/button/radio_foreground.png b/vn/faust/game/gui/phone/button/radio_foreground.png new file mode 100644 index 0000000..ef72cbb Binary files /dev/null and b/vn/faust/game/gui/phone/button/radio_foreground.png differ diff --git a/vn/faust/game/gui/phone/button/radio_selected_foreground.png b/vn/faust/game/gui/phone/button/radio_selected_foreground.png new file mode 100644 index 0000000..e2c8312 Binary files /dev/null and b/vn/faust/game/gui/phone/button/radio_selected_foreground.png differ diff --git a/vn/faust/game/gui/phone/button/selected_background.png b/vn/faust/game/gui/phone/button/selected_background.png new file mode 100644 index 0000000..e700b7b Binary files /dev/null and b/vn/faust/game/gui/phone/button/selected_background.png differ diff --git a/vn/faust/game/gui/phone/nvl.png b/vn/faust/game/gui/phone/nvl.png new file mode 100644 index 0000000..51d2c7b Binary files /dev/null and b/vn/faust/game/gui/phone/nvl.png differ diff --git a/vn/faust/game/gui/phone/overlay/game_menu.png b/vn/faust/game/gui/phone/overlay/game_menu.png new file mode 100644 index 0000000..564cff0 Binary files /dev/null and b/vn/faust/game/gui/phone/overlay/game_menu.png differ diff --git a/vn/faust/game/gui/phone/overlay/main_menu.png b/vn/faust/game/gui/phone/overlay/main_menu.png new file mode 100644 index 0000000..a599090 Binary files /dev/null and b/vn/faust/game/gui/phone/overlay/main_menu.png differ diff --git a/vn/faust/game/gui/phone/scrollbar/horizontal_bar.png b/vn/faust/game/gui/phone/scrollbar/horizontal_bar.png new file mode 100644 index 0000000..b1bb1e4 Binary files /dev/null and b/vn/faust/game/gui/phone/scrollbar/horizontal_bar.png differ diff --git a/vn/faust/game/gui/phone/scrollbar/horizontal_thumb.png b/vn/faust/game/gui/phone/scrollbar/horizontal_thumb.png new file mode 100644 index 0000000..7bf0d01 Binary files /dev/null and b/vn/faust/game/gui/phone/scrollbar/horizontal_thumb.png differ diff --git a/vn/faust/game/gui/phone/scrollbar/vertical_bar.png b/vn/faust/game/gui/phone/scrollbar/vertical_bar.png new file mode 100644 index 0000000..b1bb1e4 Binary files /dev/null and b/vn/faust/game/gui/phone/scrollbar/vertical_bar.png differ diff --git a/vn/faust/game/gui/phone/scrollbar/vertical_thumb.png b/vn/faust/game/gui/phone/scrollbar/vertical_thumb.png new file mode 100644 index 0000000..7bf0d01 Binary files /dev/null and b/vn/faust/game/gui/phone/scrollbar/vertical_thumb.png differ diff --git a/vn/faust/game/gui/phone/slider/horizontal_bar.png b/vn/faust/game/gui/phone/slider/horizontal_bar.png new file mode 100644 index 0000000..fd0f343 Binary files /dev/null and b/vn/faust/game/gui/phone/slider/horizontal_bar.png differ diff --git a/vn/faust/game/gui/phone/slider/horizontal_thumb.png b/vn/faust/game/gui/phone/slider/horizontal_thumb.png new file mode 100644 index 0000000..de2d6be Binary files /dev/null and b/vn/faust/game/gui/phone/slider/horizontal_thumb.png differ diff --git a/vn/faust/game/gui/phone/slider/vertical_bar.png b/vn/faust/game/gui/phone/slider/vertical_bar.png new file mode 100644 index 0000000..fd0f343 Binary files /dev/null and b/vn/faust/game/gui/phone/slider/vertical_bar.png differ diff --git a/vn/faust/game/gui/phone/slider/vertical_thumb.png b/vn/faust/game/gui/phone/slider/vertical_thumb.png new file mode 100644 index 0000000..2537135 Binary files /dev/null and b/vn/faust/game/gui/phone/slider/vertical_thumb.png differ diff --git a/vn/faust/game/gui/phone/textbox.png b/vn/faust/game/gui/phone/textbox.png new file mode 100644 index 0000000..2321b23 Binary files /dev/null and b/vn/faust/game/gui/phone/textbox.png differ diff --git a/vn/faust/game/gui/scrollbar/horizontal_bar.png b/vn/faust/game/gui/scrollbar/horizontal_bar.png new file mode 100644 index 0000000..b1bb1e4 Binary files /dev/null and b/vn/faust/game/gui/scrollbar/horizontal_bar.png differ diff --git a/vn/faust/game/gui/scrollbar/horizontal_thumb.png b/vn/faust/game/gui/scrollbar/horizontal_thumb.png new file mode 100644 index 0000000..7bf0d01 Binary files /dev/null and b/vn/faust/game/gui/scrollbar/horizontal_thumb.png differ diff --git a/vn/faust/game/gui/scrollbar/vertical_bar.png b/vn/faust/game/gui/scrollbar/vertical_bar.png new file mode 100644 index 0000000..b1bb1e4 Binary files /dev/null and b/vn/faust/game/gui/scrollbar/vertical_bar.png differ diff --git a/vn/faust/game/gui/scrollbar/vertical_thumb.png b/vn/faust/game/gui/scrollbar/vertical_thumb.png new file mode 100644 index 0000000..7bf0d01 Binary files /dev/null and b/vn/faust/game/gui/scrollbar/vertical_thumb.png differ diff --git a/vn/faust/game/gui/skip.png b/vn/faust/game/gui/skip.png new file mode 100644 index 0000000..2f529ac Binary files /dev/null and b/vn/faust/game/gui/skip.png differ diff --git a/vn/faust/game/gui/slider/horizontal_bar.png b/vn/faust/game/gui/slider/horizontal_bar.png new file mode 100644 index 0000000..fd0f343 Binary files /dev/null and b/vn/faust/game/gui/slider/horizontal_bar.png differ diff --git a/vn/faust/game/gui/slider/horizontal_thumb.png b/vn/faust/game/gui/slider/horizontal_thumb.png new file mode 100644 index 0000000..de2d6be Binary files /dev/null and b/vn/faust/game/gui/slider/horizontal_thumb.png differ diff --git a/vn/faust/game/gui/slider/vertical_bar.png b/vn/faust/game/gui/slider/vertical_bar.png new file mode 100644 index 0000000..fd0f343 Binary files /dev/null and b/vn/faust/game/gui/slider/vertical_bar.png differ diff --git a/vn/faust/game/gui/slider/vertical_thumb.png b/vn/faust/game/gui/slider/vertical_thumb.png new file mode 100644 index 0000000..2537135 Binary files /dev/null and b/vn/faust/game/gui/slider/vertical_thumb.png differ diff --git a/vn/faust/game/gui/textbox.png b/vn/faust/game/gui/textbox.png new file mode 100644 index 0000000..9374b64 Binary files /dev/null and b/vn/faust/game/gui/textbox.png differ diff --git a/vn/faust/game/gui/thoughtbubble.png b/vn/faust/game/gui/thoughtbubble.png new file mode 100644 index 0000000..8d5d44b Binary files /dev/null and b/vn/faust/game/gui/thoughtbubble.png differ diff --git a/vn/faust/game/gui/window_icon.png b/vn/faust/game/gui/window_icon.png new file mode 100644 index 0000000..64b4326 Binary files /dev/null and b/vn/faust/game/gui/window_icon.png differ diff --git a/vn/faust/game/images.rpy b/vn/faust/game/images.rpy new file mode 100644 index 0000000..ffca7b1 --- /dev/null +++ b/vn/faust/game/images.rpy @@ -0,0 +1,31 @@ +## Generated by `vnpipe renpy`. Do not edit: regenerate instead. + +image card_dedicatoria = Text("DEDICATORIA", size=60, text_align=0.5) +image card_prologo_teatro = Text("PRÓLOGO EN EL TEATRO", size=60, text_align=0.5) +image card_prologo_cielo = Text("PRÓLOGO EN EL CIELO", size=60, text_align=0.5) +image card_noche = Text("DE NOCHE", size=60, text_align=0.5) +image card_end = Text("Continuará…", size=60, text_align=0.5) +image bg dedication = "images/bg/dedication.webp" +image bg heaven = "images/bg/heaven.webp" +image bg heaven_lord = "images/bg/heaven_lord.webp" +image bg study = "images/bg/study.webp" +image bg study_macrocosm = "images/bg/study_macrocosm.webp" +image bg study_spirit = "images/bg/study_spirit.webp" +image bg theatre = "images/bg/theatre.webp" +image clown laughing = "images/sprites/clown_laughing.webp" +image clown mocking = "images/sprites/clown_mocking.webp" +image clown neutral = "images/sprites/clown_neutral.webp" +image director neutral = "images/sprites/director_neutral.webp" +image director pleased = "images/sprites/director_pleased.webp" +image director worried = "images/sprites/director_worried.webp" +image faust anguished = "images/sprites/faust_anguished.webp" +image faust ecstatic = "images/sprites/faust_ecstatic.webp" +image faust fearful = "images/sprites/faust_fearful.webp" +image faust neutral = "images/sprites/faust_neutral.webp" +image mephisto deferent = "images/sprites/mephisto_deferent.webp" +image mephisto neutral = "images/sprites/mephisto_neutral.webp" +image mephisto scornful = "images/sprites/mephisto_scornful.webp" +image mephisto sly = "images/sprites/mephisto_sly.webp" +image poet indignant = "images/sprites/poet_indignant.webp" +image poet inspired = "images/sprites/poet_inspired.webp" +image poet neutral = "images/sprites/poet_neutral.webp" diff --git a/vn/faust/game/images/bg/dedication.webp b/vn/faust/game/images/bg/dedication.webp new file mode 100644 index 0000000..6ad9437 Binary files /dev/null and b/vn/faust/game/images/bg/dedication.webp differ diff --git a/vn/faust/game/images/bg/heaven.webp b/vn/faust/game/images/bg/heaven.webp new file mode 100644 index 0000000..423c163 Binary files /dev/null and b/vn/faust/game/images/bg/heaven.webp differ diff --git a/vn/faust/game/images/bg/heaven_lord.webp b/vn/faust/game/images/bg/heaven_lord.webp new file mode 100644 index 0000000..699642e Binary files /dev/null and b/vn/faust/game/images/bg/heaven_lord.webp differ diff --git a/vn/faust/game/images/bg/study.webp b/vn/faust/game/images/bg/study.webp new file mode 100644 index 0000000..55cf763 Binary files /dev/null and b/vn/faust/game/images/bg/study.webp differ diff --git a/vn/faust/game/images/bg/study_macrocosm.webp b/vn/faust/game/images/bg/study_macrocosm.webp new file mode 100644 index 0000000..35dc604 Binary files /dev/null and b/vn/faust/game/images/bg/study_macrocosm.webp differ diff --git a/vn/faust/game/images/bg/study_spirit.webp b/vn/faust/game/images/bg/study_spirit.webp new file mode 100644 index 0000000..d32cf96 Binary files /dev/null and b/vn/faust/game/images/bg/study_spirit.webp differ diff --git a/vn/faust/game/images/bg/theatre.webp b/vn/faust/game/images/bg/theatre.webp new file mode 100644 index 0000000..0bb2062 Binary files /dev/null and b/vn/faust/game/images/bg/theatre.webp differ diff --git a/vn/faust/game/images/sprites/clown_laughing.webp b/vn/faust/game/images/sprites/clown_laughing.webp new file mode 100644 index 0000000..7a466df Binary files /dev/null and b/vn/faust/game/images/sprites/clown_laughing.webp differ diff --git a/vn/faust/game/images/sprites/clown_mocking.webp b/vn/faust/game/images/sprites/clown_mocking.webp new file mode 100644 index 0000000..c5eb70a Binary files /dev/null and b/vn/faust/game/images/sprites/clown_mocking.webp differ diff --git a/vn/faust/game/images/sprites/clown_neutral.webp b/vn/faust/game/images/sprites/clown_neutral.webp new file mode 100644 index 0000000..5b3baac Binary files /dev/null and b/vn/faust/game/images/sprites/clown_neutral.webp differ diff --git a/vn/faust/game/images/sprites/director_neutral.webp b/vn/faust/game/images/sprites/director_neutral.webp new file mode 100644 index 0000000..91b64e3 Binary files /dev/null and b/vn/faust/game/images/sprites/director_neutral.webp differ diff --git a/vn/faust/game/images/sprites/director_pleased.webp b/vn/faust/game/images/sprites/director_pleased.webp new file mode 100644 index 0000000..fad9f3e Binary files /dev/null and b/vn/faust/game/images/sprites/director_pleased.webp differ diff --git a/vn/faust/game/images/sprites/director_worried.webp b/vn/faust/game/images/sprites/director_worried.webp new file mode 100644 index 0000000..765116d Binary files /dev/null and b/vn/faust/game/images/sprites/director_worried.webp differ diff --git a/vn/faust/game/images/sprites/faust_anguished.webp b/vn/faust/game/images/sprites/faust_anguished.webp new file mode 100644 index 0000000..f4b85af Binary files /dev/null and b/vn/faust/game/images/sprites/faust_anguished.webp differ diff --git a/vn/faust/game/images/sprites/faust_ecstatic.webp b/vn/faust/game/images/sprites/faust_ecstatic.webp new file mode 100644 index 0000000..0f9136e Binary files /dev/null and b/vn/faust/game/images/sprites/faust_ecstatic.webp differ diff --git a/vn/faust/game/images/sprites/faust_fearful.webp b/vn/faust/game/images/sprites/faust_fearful.webp new file mode 100644 index 0000000..a9ebd04 Binary files /dev/null and b/vn/faust/game/images/sprites/faust_fearful.webp differ diff --git a/vn/faust/game/images/sprites/faust_neutral.webp b/vn/faust/game/images/sprites/faust_neutral.webp new file mode 100644 index 0000000..c0b550a Binary files /dev/null and b/vn/faust/game/images/sprites/faust_neutral.webp differ diff --git a/vn/faust/game/images/sprites/mephisto_deferent.webp b/vn/faust/game/images/sprites/mephisto_deferent.webp new file mode 100644 index 0000000..15f624a Binary files /dev/null and b/vn/faust/game/images/sprites/mephisto_deferent.webp differ diff --git a/vn/faust/game/images/sprites/mephisto_neutral.webp b/vn/faust/game/images/sprites/mephisto_neutral.webp new file mode 100644 index 0000000..8360a4c Binary files /dev/null and b/vn/faust/game/images/sprites/mephisto_neutral.webp differ diff --git a/vn/faust/game/images/sprites/mephisto_scornful.webp b/vn/faust/game/images/sprites/mephisto_scornful.webp new file mode 100644 index 0000000..10dc647 Binary files /dev/null and b/vn/faust/game/images/sprites/mephisto_scornful.webp differ diff --git a/vn/faust/game/images/sprites/mephisto_sly.webp b/vn/faust/game/images/sprites/mephisto_sly.webp new file mode 100644 index 0000000..417e229 Binary files /dev/null and b/vn/faust/game/images/sprites/mephisto_sly.webp differ diff --git a/vn/faust/game/images/sprites/poet_indignant.webp b/vn/faust/game/images/sprites/poet_indignant.webp new file mode 100644 index 0000000..8d11994 Binary files /dev/null and b/vn/faust/game/images/sprites/poet_indignant.webp differ diff --git a/vn/faust/game/images/sprites/poet_inspired.webp b/vn/faust/game/images/sprites/poet_inspired.webp new file mode 100644 index 0000000..4e9c6f1 Binary files /dev/null and b/vn/faust/game/images/sprites/poet_inspired.webp differ diff --git a/vn/faust/game/images/sprites/poet_neutral.webp b/vn/faust/game/images/sprites/poet_neutral.webp new file mode 100644 index 0000000..16541bf Binary files /dev/null and b/vn/faust/game/images/sprites/poet_neutral.webp differ diff --git a/vn/faust/game/options.rpy b/vn/faust/game/options.rpy new file mode 100644 index 0000000..cc0905e --- /dev/null +++ b/vn/faust/game/options.rpy @@ -0,0 +1,208 @@ +## 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 = _("Fausto") + + +## 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 = "0.1" + + +## 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("""Primera parte — Dedicatoria, prólogos y la noche de Fausto\n\nTexto: Johann Wolfgang von Goethe\n\nTraducción: Teodoro Llorente\n\nAdaptación a novela visual generada con vnpipe.""") + + +## 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 = "faust-vn" + + +## 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 = False +define config.has_music = False +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 = "faust-vn" + + +## 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 perform in-app purchases. It can be +## found in the Google Play developer console, under "Monetize" > "Monetization +## Setup" > "Licensing". + +# 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/vn/faust/game/screens.rpy b/vn/faust/game/screens.rpy new file mode 100644 index 0000000..d601f80 --- /dev/null +++ b/vn/faust/game/screens.rpy @@ -0,0 +1,1621 @@ +################################################################################ +## 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): + + 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.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" + style "quick_menu" + + 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_menu is hbox +style quick_button is default +style quick_button_text is button_text + +style quick_menu: + xalign 0.5 + yalign 1.0 + +style quick_button: + properties gui.button_properties("quick_button") + +style quick_button_text: + properties gui.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.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". +## 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, spacing=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: + spacing spacing + + transclude + + elif scroll == "vpgrid": + + vpgrid: + cols 1 + yinitial yinitial + + scrollbars "vertical" + mousewheel True + draggable True + pagekeys True + + side_yfill True + + spacing spacing + + 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 75 + 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. + vbox: + style_prefix "page" + + xalign 0.5 + yalign 1.0 + + hbox: + xalign 0.5 + + spacing gui.page_spacing + + textbutton _("<") action FilePagePrevious() + key "save_page_prev" 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() + key "save_page_next" action FilePageNext() + + if config.has_sync: + if CurrentScreenName() == "save": + textbutton _("Upload Sync"): + action UploadSync() + xalign 0.5 + else: + textbutton _("Download Sync"): + action DownloadSync() + xalign 0.5 + + +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 + xalign 0.5 + +style page_label_text: + textalign 0.5 + layout "subtitle" + hover_color gui.hover_color + +style page_button: + properties gui.button_properties("page_button") + +style page_button_text: + properties gui.text_properties("page_button") + +style slot_button: + properties gui.button_properties("slot_button") + +style slot_button_text: + properties gui.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.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.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.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, spacing=gui.history_spacing): + + 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 + textalign 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 + textalign 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") + 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, B/Right Button") + 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.text_properties("help_button") + +style help_label: + xsize 375 + right_padding 30 + +style help_label_text: + size gui.text_size + xalign 1.0 + textalign 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: + textalign 0.5 + layout "subtitle" + +style confirm_button: + properties gui.button_properties("confirm_button") + +style confirm_button_text: + properties gui.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 + textalign 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 + textalign gui.nvl_text_xalign + layout ("subtitle" if gui.nvl_text_xalign else "tex") + +style nvl_thought is say_dialogue: + 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 + textalign 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.text_properties("nvl_button") + + +## Bubble screen ############################################################### +## +## The bubble screen is used to display dialogue to the player when using speech +## bubbles. The bubble screen takes the same parameters as the say screen, must +## create a displayable with the id of "what", and can create displayables with +## the "namebox", "who", and "window" ids. +## +## https://www.renpy.org/doc/html/bubble.html#bubble-screen + +screen bubble(who, what): + style_prefix "bubble" + + window: + id "window" + + if who is not None: + + window: + id "namebox" + style "bubble_namebox" + + text who: + id "who" + + text what: + id "what" + + default ctc = None + showif ctc: + add ctc + +style bubble_window is empty +style bubble_namebox is empty +style bubble_who is default +style bubble_what is default + +style bubble_window: + xpadding 30 + top_padding 5 + bottom_padding 5 + +style bubble_namebox: + xalign 0.5 + +style bubble_who: + xalign 0.5 + textalign 0.5 + color "#000" + +style bubble_what: + align (0.5, 0.5) + text_align 0.5 + layout "subtitle" + color "#000" + +define bubble.frame = Frame("gui/bubble.png", 55, 55, 55, 95) +define bubble.thoughtframe = Frame("gui/thoughtbubble.png", 55, 55, 55, 55) + +define bubble.properties = { + "bottom_left" : { + "window_background" : Transform(bubble.frame, xzoom=1, yzoom=1), + "window_bottom_padding" : 27, + }, + + "bottom_right" : { + "window_background" : Transform(bubble.frame, xzoom=-1, yzoom=1), + "window_bottom_padding" : 27, + }, + + "top_left" : { + "window_background" : Transform(bubble.frame, xzoom=1, yzoom=-1), + "window_top_padding" : 27, + }, + + "top_right" : { + "window_background" : Transform(bubble.frame, xzoom=-1, yzoom=-1), + "window_top_padding" : 27, + }, + + "thought" : { + "window_background" : bubble.thoughtframe, + } +} + +define bubble.expand_area = { + "bottom_left" : (0, 0, 0, 22), + "bottom_right" : (0, 0, 0, 22), + "top_left" : (0, 22, 0, 0), + "top_right" : (0, 22, 0, 0), + "thought" : (0, 0, 0, 0), +} + + + +################################################################################ +## 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 "quick_menu" + style_prefix "quick" + + 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 game_menu_viewport: + variant "small" + xsize 1305 + +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/vn/faust/game/script.rpy b/vn/faust/game/script.rpy new file mode 100644 index 0000000..2f1fc29 --- /dev/null +++ b/vn/faust/game/script.rpy @@ -0,0 +1,531 @@ +## Generated by `vnpipe renpy`. Do not edit: regenerate instead. + +label start: + window auto + +label scene_dedicatoria: + scene black + show card_dedicatoria at truecenter + with fade + pause 2.0 + hide card_dedicatoria + scene bg dedication at tint_none + with fade + # dedicatoria_0001 .. dedicatoria_0008 + c_poet_voice_nvl "Tornáis de nuevo, hermosas imágenes flotantes,\nque dulce y melancólico un día contemplé.\n¿Asiros y teneros podré feliz como antes?\n¡Aún vuela hacia vosotras el alma cuando os ve!\nVenid, y medio envueltas en el brumoso velo,\na mi poder sumisas, girad en derredor;\nel corazón aún late con juvenil anhelo,\nsi aspira vuestro mágico aliento hechizador." + nvl clear + # dedicatoria_0009 .. dedicatoria_0016 + c_poet_voice_nvl "Hoy vuelven de otro tiempo mejor la alegre historia,\ny las risueñas sombras de la feliz edad,\ny como añejo cuento, perdido en la memoria,\nsus cándidos amores, su crédula amistad;\ny aquel hondo lamento que en las revueltas vías\nde la existencia, amargo, del corazón brotó,\ny los queridos seres que en venturosos días\nla momentánea dicha traidora nos robó." + nvl clear + # dedicatoria_0017 .. dedicatoria_0024 + c_poet_voice_nvl "No escucharéis gozosos mi renaciente canto,\nvosotros para quienes la cítara pulsé;\ndeshízose ¡ay! el coro que comprendió su encanto,\napenas apagándose el eco débil fue.\nHoy mis acentos oye tropel desconocido,\ny hasta su mismo aplauso me hiela el corazón;\nlos pocos que a mi canto prestaran el oído,\nsi alientan, lejos viven en triste dispersión." + nvl clear + # dedicatoria_0025 .. dedicatoria_0032 + c_poet_voice_nvl "Al reino de los puros espíritus me impulsa\nafán en mí dormido, que despertando va;\nmas, como el arpa eolia, que un soplo errante pulsa,\nincoherentes notas mi labio al viento da.\nDel alma opresa brotan suspiro tras suspiro;\nternura enervadora siento surgir en mí:\ncuanto poseo y gozo como apariencia miro,\ny como bien presente cuanto gocé y perdí." + nvl clear + nvl hide dissolve + +label scene_prologo_teatro: + scene black + show card_prologo_teatro at truecenter + with fade + pause 2.0 + hide card_prologo_teatro + scene bg theatre at tint_none + with fade + # prologo_teatro_0002 .. prologo_teatro_0005 + show clown neutral at vn_left + show director neutral at vn_center + show poet neutral at vn_right + with dissolve + c_director "Decid, buenos amigos,\nde mi afán camaradas y testigos,\nde nuestra empresa, entre alemana gente,\n¿qué pensáis? Es mi anhelo preferente" + # prologo_teatro_0006 .. prologo_teatro_0009 + c_director "al público dar gusto:\npues que vivimos de él, nada más justo.\nCon los postes y tablas bien dispuesta\nestá la sala: en apretadas filas" + # prologo_teatro_0010 .. prologo_teatro_0013 + c_director "aguarda el auditorio una gran fiesta;\neleva el ceño, ensancha las pupilas\ny mudo espera --¡gente bondadosa!-- que\nvenga a sorprenderle cualquier cosa." + # prologo_teatro_0014 .. prologo_teatro_0017 + show director pleased at vn_center + with dissolve + c_director "En complacer al público soy ducho;\nmas tranquilo no estoy, no estoy sereno:\nes verdad que no ha visto nada bueno;\npero, en cambio, esa gente ha visto mucho." + # prologo_teatro_0018 .. prologo_teatro_0021 + show director neutral at vn_center + with dissolve + c_director "¿Cómo lo dispondremos, de qué modo,\npara que nuevo le parezca todo?\nPorque me esponjo viendo que a torrentes,\ncuando luce aún el sol y dan las cuatro," + # prologo_teatro_0022 .. prologo_teatro_0025 + show director pleased at vn_center + with dissolve + c_director "la multitud, con gritos impacientes,\npugna en la angosta puerta del teatro;\ny como en la tahona, en días de hambre,\npelea por un pan furioso enjambre," + # prologo_teatro_0026 .. prologo_teatro_0029 + show director neutral at vn_center + with dissolve + c_director "en la taquilla así, por un asiento,\nel puño esgrime el pueblo turbulento.\nTanto poder sobre la grey inquieta\nno más lo tienes tú, feliz poeta:" + # prologo_teatro_0030 + show director pleased at vn_center + with dissolve + c_director "repite hoy, pues, el sin igual portento." + # prologo_teatro_0031 .. prologo_teatro_0034 + show poet inspired at vn_right + with dissolve + c_poet "No me hables de esa, que la austera Musa\nsiempre huyó con horror, turba insensata;\n¡lejos de mí la multitud confusa\nque al abismo fatal nos arrebata!" + # prologo_teatro_0035 .. prologo_teatro_0038 + c_poet "Llévame allá do en limpios resplandores\nnos brinda el cielo goce soberano;\ndo la dulce amistad y los amores\nobran y crean con divina mano." + # prologo_teatro_0039 .. prologo_teatro_0042 + show poet neutral at vn_right + with dissolve + c_poet "Lo que allí el labio trémulo murmura,\nlo que allí sueña el alma delirante,\ntal vez sublimidad, tal vez locura,\nlampo es quizás, que se apagó al instante." + # prologo_teatro_0043 .. prologo_teatro_0046 + show poet inspired at vn_right + with dissolve + c_poet "Pero a veces también duerme el profundo\nsueño, siglos y siglos, del olvido,\ny aparece después y asombra al mundo\ndel esplendor de la beldad ceñido." + # prologo_teatro_0047 .. prologo_teatro_0050 + show poet neutral at vn_right + with dissolve + c_poet "Lo brillante, que viste oropel vano,\nfugaz momento dura; pero el sello\nde la inmortalidad ostenta ufano\ny para el porvenir vive lo bello." + # prologo_teatro_0051 .. prologo_teatro_0054 + show clown mocking at vn_left + with dissolve + c_clown "¡El porvenir! ¡El porvenir!... ¡Manía!\nSi yo en el porvenir también pensase,\na los presentes --¡respetable clase!--\n¿quién los divertiría?" + # prologo_teatro_0055 .. prologo_teatro_0058 + show clown laughing at vn_left + with dissolve + c_clown "Quieren reír, y con razón. Da gozo\nver salir a las tablas un buen mozo;\ny si sabe expresar su pensamiento,\n¿para qué otro recurso?" + # prologo_teatro_0059 .. prologo_teatro_0062 + show clown neutral at vn_left + with dissolve + c_clown "Cuanto más numeroso es el concurso,\nlo conmueve mejor. Tomad aliento\ny obrad con energía.\nSuelta dad a la errante Fantasía;" + # prologo_teatro_0063 .. prologo_teatro_0066 + c_clown "la Razón, la Agudeza, el Sentimiento\nvayan en seguimiento;\ny si queréis que la obra satisfaga,\nla loca Insensatez no quede en zaga." + # prologo_teatro_0067 .. prologo_teatro_0070 + show director neutral at vn_center + with dissolve + c_director "Procurad, ante todo,\nque la acción sea vasta y estupenda:\nel vulgo, a cuyo gusto me acomodo,\nquiere ver mucho, aun cuando no lo entienda." + # prologo_teatro_0071 .. prologo_teatro_0074 + c_director "Si embrolláis vuestra fábula de modo\nque el abobado espectador se asombre,\nla victoria es cabal; sois el gran hombre.\nA muchos, dadles mucho. Bien presente" + # prologo_teatro_0075 .. prologo_teatro_0078 + c_director "tened que cada cual algo desea\nhallar en la obra que a su afán se ajuste:\ncuanto más varia y complicada sea,\nmás fácil será, pues, que cada oyente" + # prologo_teatro_0079 .. prologo_teatro_0082 + c_director "encuentre alguna cosa que le guste.\nPensar en unidades es simpleza;\nservidnos bien trinchada vuestra pieza:\n¿por qué buscar armónico conjunto," + # prologo_teatro_0083 + show director pleased at vn_center + with dissolve + c_director "si cada cual os lo destroza al punto?" + # prologo_teatro_0084 .. prologo_teatro_0087 + show poet indignant at vn_right + with dissolve + c_poet "¡Industria degradada\na la que nunca se doblega el Arte!\nLa de los charlatanes tropa osada\n¿ya os puso de su parte?" + # prologo_teatro_0088 .. prologo_teatro_0091 + c_director "Impropio es tal reproche:\n¿no ha de tomar el operario en cuenta\ncuál será la más útil herramienta?\n¿Para quién escribís? Aquí la noche" + # prologo_teatro_0092 .. prologo_teatro_0095 + c_director "pasa el que sufre el tedio de la holganza,\nel que llenó, en hartazgos nada módicos,\nde pesado manjar la oronda panza,\no el menguado caletre de periódicos." + # prologo_teatro_0096 .. prologo_teatro_0099 + show director neutral at vn_center + with dissolve + c_director "Vienen como al paseo,\nal circo o a las máscaras: la inquieta\ncuriosidad les guía, o la costumbre.\nLas bellas, con sus galas y su arreo," + # prologo_teatro_0100 .. prologo_teatro_0103 + show director pleased at vn_center + with dissolve + c_director "nos dan otro espectáculo. Poeta,\n¿qué es lo que sueñas en la excelsa cumbre?\n¿Te envanece quizás el teatro lleno?\nBaja y mira tu gente:" + # prologo_teatro_0104 .. prologo_teatro_0107 + c_director "este se maravilla, al arte ajeno;\naquel, docto, bosteza indiferente.\nHay quien está soñando en los tesoros\nque le brindan las copas o los oros;" + # prologo_teatro_0108 .. prologo_teatro_0111 + show director neutral at vn_center + with dissolve + c_director "hay quien pensando goza\nque le aguardan los brazos de su moza.\n¡Por ellos, vates, molestáis con grave\nansia a la Musa en su región serena!..." + # prologo_teatro_0112 .. prologo_teatro_0115 + c_director "Dadnos mucho, y aún más, y aún más, si cabe:\nese es todo el secreto de la escena.\nSatisfacer al auditorio es cosa\nasaz dificultosa:" + # prologo_teatro_0116 .. prologo_teatro_0118 + c_director "entretenedlo, divertidlo. Pero\n¿qué tenéis? ¿Qué os acosa?\n¿Es júbilo? ¿Es dolor?..." + # prologo_teatro_0119 + c_poet "¡Vete, profano!" + # prologo_teatro_0120 .. prologo_teatro_0123 + c_poet "¡Vete! Romper mi servidumbre quiero.\nPor llenar tu gaveta,\n¿a conmover el corazón humano\nrenunciará el poeta?" + # prologo_teatro_0124 .. prologo_teatro_0127 + show poet inspired at vn_right + with dissolve + c_poet "Ese poder que el sentimiento excita,\nese poder que irrita\nlos rudos elementos y los calma,\nes la armonía que en su ser palpita" + # prologo_teatro_0128 .. prologo_teatro_0131 + c_poet "y el mundo encierra en su alma.\nMientras Naturaleza indiferente\nla hebra retuerce con dormida diestra\nde la efímera vida renaciente;" + # prologo_teatro_0132 .. prologo_teatro_0135 + c_poet "mientras de opuestos modos,\nen confusión siniestra\nse agitan sin cesar los seres todos,\n¿quién a la desacorde muchedumbre" + # prologo_teatro_0136 .. prologo_teatro_0139 + c_poet "el ser arranca, que distinto vive,\ny en él enciende, porque al mundo alumbre,\nla excelsa idea que inmortal concibe?\n¿Quién de la audaz pasión fulmina el rayo?" + # prologo_teatro_0140 .. prologo_teatro_0143 + c_poet "¿Quién de sereno encanto el cielo viste\ncuando en suave desmayo\nhalaga el sol poniente al ojo triste?\n¿Quién deshoja tus flores, dulce mayo," + # prologo_teatro_0144 .. prologo_teatro_0147 + c_poet "de la adorada virgen en la falda?\n¿Quién de las ramas, viento, que despojas,\npara todos los triunfos, en guirnalda\neterna teje las caducas hojas?" + # prologo_teatro_0148 .. prologo_teatro_0151 + c_poet "¿Quién el Olimpo crea\ny convoca en su cima a las deidades?\nLa oculta fuerza de la humana idea\nque revela el poeta a las edades." + # prologo_teatro_0152 .. prologo_teatro_0155 + show clown mocking at vn_left + with dissolve + c_clown "Usad tan poderosas facultades;\nla fábula forjad como querella\namorosa: se encuentran él y ella,\nbrota la chispa y vuelve de rechazo," + # prologo_teatro_0156 .. prologo_teatro_0159 + show clown laughing at vn_left + with dissolve + c_clown "crece el sabroso anhelo,\nse estrecha el tierno lazo,\ninsta el afán, y la razón el tino\npierde; sube el placer al quinto cielo;" + # prologo_teatro_0160 .. prologo_teatro_0163 + show clown neutral at vn_left + with dissolve + c_clown "y en esto, cuando nadie lo recela,\nacude el desencanto repentino,\ny acaba la novela.\nTrazad por ese estilo un argumento." + # prologo_teatro_0164 .. prologo_teatro_0167 + c_clown "Os da la humana vida larga tela;\ncicatriz tienen todos escondida:\nponed el dedo en la llagada herida,\ny el ansioso interés surge al momento." + # prologo_teatro_0168 .. prologo_teatro_0171 + show clown mocking at vn_left + with dissolve + c_clown "Muchos tropos, imágenes y flores;\nde verdad una chispa, un mar de errores:\nveréis cuán dulce sabe\nal paladar del vulgo ese jarabe." + # prologo_teatro_0172 .. prologo_teatro_0175 + show clown neutral at vn_left + with dissolve + c_clown "Veréis cómo devora vuestro cuento\nel de la juventud crédulo coro,\na cada frase palpitando atento.\nEn vuestro verso fingirá sonoro" + # prologo_teatro_0176 .. prologo_teatro_0179 + c_clown "un eco cada tierno sentimiento,\ny cada oyente, con feliz zozobra,\nlo que hay en su alma lo verá en vuestra obra.\nLa sonrisa y el llanto" + # prologo_teatro_0180 .. prologo_teatro_0183 + show clown laughing at vn_left + with dissolve + c_clown "fáciles brotan a tan dulce encanto,\ny ya el aplauso embriagador escucho.\nDuro es de conmover el hombre ducho;\nmas contad con el nuevo" + # prologo_teatro_0184 + show clown neutral at vn_left + with dissolve + c_clown "corazón entusiasta del mancebo." + # prologo_teatro_0185 .. prologo_teatro_0188 + show poet neutral at vn_right + with dissolve + c_poet "Vuélveme, pues, al venturoso día\nen que el futuro bien me sonreía;\ncuando de nobles cantos la copiosa\nfuente brotaba, y ocultaba pía" + # prologo_teatro_0189 .. prologo_teatro_0192 + c_poet "el mundo nube de zafiro y rosa.\nVuélveme al tiempo aquel en que las flores\nbrotaban a mi paso, siempre bellas;\ny cada vez mejores," + # prologo_teatro_0193 .. prologo_teatro_0196 + c_poet "fragancias y matices y esplendores\nmi no saciado afán hallaba en ellas.\nNada tenía, ni pedía al cielo;\npara mí era bastante" + # prologo_teatro_0197 .. prologo_teatro_0200 + c_poet "de la verdad el generoso anhelo,\nla eterna sed de la ilusión brillante.\nVuélveme la pasión nunca vencida;\nla dicha humana, que profunda gime;" + # prologo_teatro_0201 .. prologo_teatro_0203 + c_poet "la fuerza que hace, al despertar la vida,\nsangriento el odio y el amor sublime:\n¡dame otra vez la juventud perdida!" + # prologo_teatro_0204 .. prologo_teatro_0207 + show clown mocking at vn_left + with dissolve + c_clown "¡La juventud! ¿Y para qué la quieres?\nSi en dura lid acometido fueres;\nsi una mujer en torno de tu cuello\ntendiera el brazo bello;" + # prologo_teatro_0208 .. prologo_teatro_0211 + show clown laughing at vn_left + with dissolve + c_clown "si allá en lejana meta\nla que audaz ambiciona\nel generoso atleta\nvieras brillar, olímpica corona;" + # prologo_teatro_0212 .. prologo_teatro_0215 + c_clown "si tras la danza inquieta\nte brindara la copa loca orgía,\nllorar la juventud justo sería.\nPero en cítara de oro" + # prologo_teatro_0216 .. prologo_teatro_0219 + show clown mocking at vn_left + with dissolve + c_clown "el vuelo de la libre fantasía\nseguir y el canto acompañar sonoro,\ntarea, ¡oh mis señores los ancianos!,\nes adecuada a vuestras flacas manos." + # prologo_teatro_0220 .. prologo_teatro_0223 + show clown neutral at vn_left + with dissolve + c_clown "Leí en libros añejos\nque niños otra vez se hacen los viejos;\nmas yo diré, si a la verdad me ciño,\nque al hombre la vejez sorprende aún niño." + # prologo_teatro_0224 .. prologo_teatro_0227 + show director worried at vn_center + with dissolve + c_director "Ya de cháchara inútil basta y sobra;\ncerrad el pico, y manos a la obra.\nMientras charlabais, algo de provecho\npudierais haber hecho." + # prologo_teatro_0228 .. prologo_teatro_0231 + show director neutral at vn_center + with dissolve + c_director "¿De qué sirve la hueca teoría,\nsi, de valor desnuda,\nla incertidumbre duda?\n¿Poeta sois? Pues dadnos poesía." + # prologo_teatro_0232 .. prologo_teatro_0235 + c_director "Qué gusta al vulgo ¿lo ignoráis acaso?\nPide su paladar licor hirviente;\nhasta los bordes, pues, llenadle el vaso;\nlo que hoy no hagáis, mañana os saldrá al paso," + # prologo_teatro_0236 .. prologo_teatro_0239 + c_director "y un día habréis perdido tristemente.\nUna idea coged por los cabellos:\nen nuestra patria escena\ntodo novel autor su drama estrena;" + # prologo_teatro_0240 .. prologo_teatro_0243 + c_director "haced lo que hacen ellos.\nCompasión no tengáis del tramoyista:\nmudad decoraciones;\nhaced brillar a nuestra absorta vista" + # prologo_teatro_0244 .. prologo_teatro_0247 + c_director "la luz del cuarto y la del quinto cielo,\ny sin ningún recelo\nderramad las estrellas a millones.\nLa escena está provista" + # prologo_teatro_0248 .. prologo_teatro_0251 + c_director "de riscos y de selvas y cascadas,\nde aves, monstruos y fieras.\nEn esas cuatro tablas mal pintadas,\norbes amontonad, cielos y esferas;" + # prologo_teatro_0252 .. prologo_teatro_0255 + c_director "y en vuelo cadencioso,\ndesde el opaco mundo,\nremontadnos al cielo esplendoroso\ny hundidnos en el báratro profundo." + +label scene_prologo_cielo: + scene black + show card_prologo_cielo at truecenter + with fade + pause 2.0 + hide card_prologo_cielo + scene bg heaven at tint_none + with fade + # prologo_cielo_0002 .. prologo_cielo_0009 + c_raphael_nvl "Une su añejo ritmo a la armonía\nde la celeste esfera el sol sereno,\ny exacto sigue la prescrita vía\ncon los potentes ímpetus del trueno.\nPresta vigor al Ángel su mirada,\naunque él en vano sondearla intente:\ncomo al salir risueña de la nada,\nla obra inmensa de Dios brilla esplendente." + nvl clear + # prologo_cielo_0010 .. prologo_cielo_0013 + c_gabriel_nvl "Con rapidez inconcebible gira\nla Tierra, fulgurante de hermosura,\ny la luz del Edén rápida mira\ntrocada en noche tétrica y oscura." + nvl clear + # prologo_cielo_0014 .. prologo_cielo_0017 + c_gabriel_nvl "Y el mar contra las rocas espumante\nestrella pertinaz sus aguas locas,\ny en el eterno círculo incesante\nrodando van al par aguas y rocas." + nvl clear + # prologo_cielo_0018 .. prologo_cielo_0021 + c_michael_nvl "Del mar la tempestad corre a la tierra,\ny de la tierra al mar vuelve rugiendo;\ny en órbita fatal al mundo encierra\ncon fiero afán y encadenado estruendo." + nvl clear + # prologo_cielo_0022 .. prologo_cielo_0025 + c_michael_nvl "Luto y desolación, terror y espanto,\nel rayo, al estallar, delante envía;\npero tus mensajeros, ¡oh Dios santo!,\nel curso alaban de tu hermoso día." + nvl clear + # prologo_cielo_0026 .. prologo_cielo_0029 + c_archangels_nvl "Presta al Ángel vigor vuestra mirada,\naunque él en vano sondearla intente;\ncomo al salir risueña de la nada,\naún vuestra obra, Señor, brilla esplendente." + nvl clear + nvl hide dissolve + show bg heaven_lord at tint_none + with vn_slow + # prologo_cielo_0030 .. prologo_cielo_0033 + show mephisto deferent at vn_left + with dissolve + c_mephisto "Señor, pues aún a nosotros\nte aproximas complaciente,\ny lo que pasa allá abajo\ncon mil preguntas inquieres," + # prologo_cielo_0034 .. prologo_cielo_0037 + c_mephisto "aquí, en medio de tus siervos,\nde nuevo, Señor, me tienes.\nPerdona; a mis labios faltan\npalabras grandilocuentes;" + # prologo_cielo_0038 .. prologo_cielo_0041 + c_mephisto "pero, aunque el público silbe,\ncomo pueda explicareme.\nReír a las mismas piedras\nhiciéranles mis sandeces;" + # prologo_cielo_0042 .. prologo_cielo_0045 + c_mephisto "mas tú por nada del mundo\nla gravedad, Señor, pierdes.\nComienzo, y nada te digo\ndel sol, astros ni satélites:" + # prologo_cielo_0046 .. prologo_cielo_0049 + show mephisto sly at vn_left + with dissolve + c_mephisto "yo en el orbe solo veo\nal mortal y sus reveses.\nEse Dios diminutivo\ndel pobre globo terrestre," + # prologo_cielo_0050 .. prologo_cielo_0053 + show mephisto scornful at vn_left + with dissolve + c_mephisto "guarda inmutable el tipo\nde su ridícula especie,\ny aún hoy, como el primer día,\nme maravilla y divierte." + # prologo_cielo_0054 .. prologo_cielo_0057 + c_mephisto "Tan desdichado no fuera\nsi en su envanecida mente\nno hubieras puesto el reflejo\nde tu resplandor celeste." + # prologo_cielo_0058 .. prologo_cielo_0061 + c_mephisto "Razón lo nombra, y le sirve\npara ser el más imbécil\nde los que orgulloso y fatuo\nllama irracionales seres." + # prologo_cielo_0062 .. prologo_cielo_0065 + show mephisto sly at vn_left + with dissolve + c_mephisto "Con permiso de tu Alteza,\na mí el hombre me parece\nel cigarrón que en el campo\nsalta y canta eternamente," + # prologo_cielo_0066 .. prologo_cielo_0069 + c_mephisto "siempre con los mismos brincos,\ncon la misma canción siempre.\n¡Y ojalá solo en la hierba\narrastrase inquieto el vientre!" + # prologo_cielo_0070 .. prologo_cielo_0071 + c_mephisto "Pero en toda porquería\nla atrevida nariz mete." + # prologo_cielo_0072 .. prologo_cielo_0075 + c_lord "¡Siempre es igual tu querella!\n¿Nada más decirme quieres?\n¿Nada bueno has encontrado\nen el mundo?" + # prologo_cielo_0076 + c_mephisto "Francamente," + # prologo_cielo_0077 .. prologo_cielo_0080 + c_mephisto "hallo hoy el mundo tan malo\ncual pareciome otras veces.\nCompasión me dan, no envidia,\nlos hombres y las mujeres;" + # prologo_cielo_0081 .. prologo_cielo_0082 + c_mephisto "y ya tentar me repugna,\nSeñor, a esa pobre gente." + # prologo_cielo_0083 + c_lord "¿Conoces a Fausto?" + # prologo_cielo_0084 + c_mephisto "¿A Fausto" + # prologo_cielo_0085 + c_mephisto "el Doctor?" + # prologo_cielo_0086 + c_lord "¡Mi siervo!" + # prologo_cielo_0087 + c_mephisto "¡Ese!" + # prologo_cielo_0088 .. prologo_cielo_0091 + c_mephisto "¡Pues me place la manera\ncomo os sirve el tal sirviente!\nManjares no hay en la tierra\nque sus labios no desdeñen;" + # prologo_cielo_0092 .. prologo_cielo_0095 + c_mephisto "y al espacio imaginario\nle arrastra su extraña fiebre.\nDe su insensata locura\na medias conciencia tiene;" + # prologo_cielo_0096 .. prologo_cielo_0099 + c_mephisto "al cielo le pide el astro\nque más puro resplandece,\ny al mundo la más intensa\nsensación de sus placeres;" + # prologo_cielo_0100 .. prologo_cielo_0103 + c_mephisto "y ni el cielo ni la tierra\njuntando todos sus bienes,\nllenar podrán el vacío\nde su corazón estéril." + # prologo_cielo_0104 .. prologo_cielo_0107 + c_lord "Aún hoy, perdida la ruta,\nme sirve. A sus ojos fieles\nbrillará la luz mañana.\nBien el hortelano entiende," + # prologo_cielo_0108 .. prologo_cielo_0109 + c_lord "cuando el botón rompe el árbol,\nqué fruto ha de prometerse." + # prologo_cielo_0110 .. prologo_cielo_0113 + c_mephisto "Gran Señor, ¿apuestas algo\na que tu siervo te vende,\nsi llevarlo por mis sendas\nme dejas?" + # prologo_cielo_0114 + c_lord "Tentarlo puedes" + # prologo_cielo_0115 .. prologo_cielo_0117 + c_lord "mientras viva. Está en peligro\nde errar quien busca y pretende\nlos aciertos." + # prologo_cielo_0118 + c_mephisto "Te doy gracias," + # prologo_cielo_0119 .. prologo_cielo_0122 + c_mephisto "Señor, pues no me apetecen\nlos muertos. Carnes rollizas\ny frescas son mi deleite.\nSi se trata de un cadáver," + # prologo_cielo_0123 .. prologo_cielo_0125 + c_mephisto "cargue otro con ese huésped:\nsoy cual los gatos, que solo\na las ratas vivas muerden." + # prologo_cielo_0126 .. prologo_cielo_0129 + c_lord "Pues bien: te entrego mi siervo.\nDe la originaria fuente\ndesvía el alma piadosa\ny el cauce, si sabes, tuerce;" + # prologo_cielo_0130 .. prologo_cielo_0133 + c_lord "mas confiesa tu derrota,\nsi un ser tan pobre y tan débil\nel camino recto encuentra\nentre tantas lobregueces." + # prologo_cielo_0134 .. prologo_cielo_0137 + c_mephisto "No ha de ser larga la prueba:\nconfío en mi buena suerte,\ny si ella el triunfo me otorga,\nlos lauros no me cercenes." + # prologo_cielo_0138 .. prologo_cielo_0141 + c_mephisto "El doctor morderá el polvo,\nlo morderá relamiéndose,\ncomo aquella del manzano\nmi buena tía la Sierpe." + # prologo_cielo_0142 .. prologo_cielo_0145 + c_lord "Ancho campo te concedo.\nNunca odié a los de tu especie;\nentre todos los que niegan,\ngenios a mi ley rebeldes," + # prologo_cielo_0146 .. prologo_cielo_0149 + c_lord "pobre bufón malicioso,\nel menos dañino tú eres.\nEl hombre, a menudo, en brazos\ndel reposo desfallece," + # prologo_cielo_0150 .. prologo_cielo_0153 + c_lord "y es bueno que en el camino\nle anime, aguije y despierte\nun compañero de viaje,\naunque el mismo diablo fuere." + # prologo_cielo_0154 + c_narrator "A los Arcángeles." + # prologo_cielo_0155 .. prologo_cielo_0158 + c_lord "La que brilla inmortal santa hermosura\ngozad, hijos de Dios, en mi regazo;\nla sustancia, que vive eterna y pura,\nde amor os ligue con el tierno lazo," + # prologo_cielo_0159 .. prologo_cielo_0160 + c_lord "y a la incierta apariencia del momento\nforma dé vuestro fijo pensamiento." + show bg heaven at tint_dark + with vn_slow + # prologo_cielo_0161 + c_narrator "El cielo se cierra y los Arcángeles se dispersan." + # prologo_cielo_0162 .. prologo_cielo_0165 + c_mephisto "De vez en cuando olvido mis rencillas,\ny busco al Viejo, y pláticas entablo.\nPláceme que un Señor de campanillas\ntrate con atención a un pobre diablo." + +label scene_noche: + scene black + show card_noche at truecenter + with fade + pause 2.0 + hide card_noche + scene bg study at tint_none + with fade + # noche_0001 + show faust neutral at vn_center + with dissolve + c_narrator "En un aposento gótico, estrecho, con elevada bóveda, FAUSTO intranquilo sentado a su pupitre." + # noche_0002 .. noche_0005 + show faust anguished at vn_center + with dissolve + c_faust "Filosofía, ¡ay, Dios!, Jurisprudencia,\nMedicina además, y Teología,\npor desgracia también, lo estudié todo,\ntodo lo escudriñé con ansia viva," + # noche_0006 .. noche_0009 + c_faust "y hoy, ¡pobre loco!, tras afanes tantos,\n¿qué es lo que sé? Lo mismo que sabía.\nDoctor me llamo, dígome maestro,\ny hace diez años ya que abajo, arriba," + # noche_0010 .. noche_0013 + c_faust "acá y allá, y a diestra y a siniestra,\na rastras llevo la escolar traílla.\n¡Solo pude aprender que no sé nada,\ny el alma en la contienda está rendida!" + # noche_0014 .. noche_0017 + c_faust "Bachiller o doctor, seglar o preste,\nnadie su ciencia iguala con la mía;\nni escrúpulo ni duda me atormentan;\nni demonio ni infierno me intimidan;" + # noche_0018 .. noche_0021 + c_faust "y así, de sombras y de espantos libre,\nhuyó todo el encanto de mi vida.\nAl hombre inútil, para el bien estéril,\nnada puedo enseñar que de algo sirva," + # noche_0022 .. noche_0025 + c_faust "y sin caudal, ni crédito, ni honores,\nvida arrastro que un can despreciaría.\nDoyme a la Magia, pues. ¡Oh, si pudiera\nel vigor del Espíritu, que anima" + # noche_0026 .. noche_0029 + c_faust "al Verbo humano, la secreta clave\nrevelarme de todos los enigmas!\nNo con pálido afán sudara sangre\npara hacer comprender lo que mi misma" + # noche_0030 .. noche_0033 + c_faust "razón no comprendió; y en las entrañas\npenetrando del mundo, encontraría\ndel eterno Poder vivificante,\nallí dentro, las fuentes escondidas," + # noche_0034 .. noche_0037 + c_faust "y no hiciera, en insulsas peroratas,\ntráfago insustancial de charla ambigua.\nA mi angustioso afán, ¡oh luna llena!,\nda por última vez tu luz amiga:" + # noche_0038 .. noche_0041 + c_faust "¡cuántas, a media noche, tus destellos\nbebí ansioso, postrado en esta silla,\ncuando aquí, entre volúmenes y folios,\ntristes y misteriosos descendían!" + # noche_0042 .. noche_0045 + c_faust "¡Fuérame dado en tu viviente lumbre\nfeliz vagar sobre las altas cimas;\nen los antros seguir los vagarosos\nespíritus; flotar con tu indecisa" + # noche_0046 .. noche_0049 + c_faust "muriente claridad en las praderas,\ny olvidando las ásperas vigilias\ndel inútil saber, en tu rocío\nbañar feliz la sien enardecida!" + # noche_0050 .. noche_0053 + c_faust "¿Hasta cuándo será mi calabozo\neste tugurio, madriguera indigna,\nen donde hasta la pura luz del cielo\nla pintada vidriera nubla y filtra?" + # noche_0054 .. noche_0057 + c_faust "Cíñeme en torno cúmulo de libros,\nque el polvo ensucia y muerde la polilla;\npapelotes y viejos pergaminos\nsuben al techo en apretadas pilas." + # noche_0058 .. noche_0061 + c_faust "Cóncavos vidrios, botes y redomas,\nextraños instrumentos hechos trizas\n--¡única y triste herencia de mis padres!--,\n¡mi vida llenan, si mi vida es vida!" + # noche_0062 .. noche_0065 + c_faust "Y pregunto: ¿por qué, medroso y débil,\nmi desmayado corazón palpita?\nY pregunto: ¿por qué mortal angustia\nmis flacas pulsaciones paraliza?" + # noche_0066 .. noche_0069 + c_faust "Lo pregunto, y sin ti, Naturaleza,\nen cuyo seno Dios nos forma y cría,\nen el polvo, en el humo y la carcoma,\nvivo enterrado entre osamentas frías." + # noche_0070 .. noche_0073 + c_faust "¡Fuera de aquí! ¡Luz! ¡Aire! ¡Campo abierto!\nEste libro me da segura guía:\npor la mano del docto Nostradamus\nfueron todas sus páginas escritas." + # noche_0074 .. noche_0077 + show faust ecstatic at vn_center + with dissolve + c_faust "El curso aprenderé de las estrellas,\ny de nueva virtud mi alma provista,\nsabré cómo el Espíritu invocado\nal invocante Espíritu adoctrina." + # noche_0078 .. noche_0081 + c_faust "Con las áridas reglas, nuestra mente\nlos signos misteriosos no descifra;\npues que vagáis, Espíritus, en torno,\noíd, y contestad a la voz mía." + show bg study_macrocosm at tint_none + with vn_slow + # noche_0082 + c_narrator "Abre el libro y se presenta el signo del Macrocosmos." + # noche_0083 .. noche_0086 + c_faust "¡Cuán sabrosa fruición, ante esa imagen,\nmi ser inunda y mi sentido anima!\nPor mis arterias y mis nervios corre\nel santo hervor de renaciente vida." + # noche_0087 .. noche_0090 + c_faust "¿Fue un Dios acaso quien trazó este signo,\nque el hondo afán del corazón mitiga,\nal Espíritu presta nuevas alas\ny a la Naturaleza el velo quita?" + # noche_0091 .. noche_0094 + c_faust "¿Un Dios yo mismo soy? Todo a mis ojos\naparece distinto: en esas líneas\nvi a la Naturaleza productora,\nque al alma está patente y sometida." + # noche_0095 .. noche_0098 + c_faust "El Sabio dijo bien --hoy lo comprendo--:\n«Barrera impenetrable no limita\nel mundo del Espíritu: ¿está muerto\ntu pobre corazón, tu alma rendida?" + # noche_0099 .. noche_0100 + c_faust "¡Álzate, pues, y tu terrena frente\nbaña en el rosicler del nuevo día!»" + # noche_0101 + c_narrator "Contempla el signo." + # noche_0102 .. noche_0105 + c_faust "Todo se mueve, completando el todo,\ny cada parte enlázase distinta;\nlos celestes Espíritus, que ascienden\ny descienden al par en dobles filas," + # noche_0106 .. noche_0109 + c_faust "pasan de mano en mano el áureo sello;\ny en el éter batiendo alas benditas,\nvan de la tierra al cielo, cielo y tierra\nllenando de inefables armonías." + # noche_0110 .. noche_0113 + show faust anguished at vn_center + with dissolve + c_faust "¡Bella visión, pero visión al cabo!\n¡Cómo asir y estrechar a la infinita\nNaturaleza, y exprimir sus pechos!\nManantial ellos son de toda vida;" + # noche_0114 .. noche_0117 + c_faust "de ellos penden los cielos y la tierra;\nsu fecundo raudal todo lo anima,\ny en vano pide mi sediento labio\nuna gota, no más, de esa ambrosía." + show bg study at tint_red + with dissolve + # noche_0118 + c_narrator "Vuelve la hoja involuntariamente y ve el signo del Espíritu de la Tierra." + # noche_0119 .. noche_0122 + show faust ecstatic at vn_center + with dissolve + c_faust "¡Cuánto es diversa, Genio de la Tierra,\ntu acción! Estás más cerca, y a tu vista\ncrecen mis bríos, cual si rojo mosto\ninundara mi ser: con frente erguida" + # noche_0123 .. noche_0126 + c_faust "quiero lanzarme al mundo; afrontar quiero\nsus infortunios, afrontar sus dichas;\nprovocar la tormenta, y sin espanto\nver la nave a mis pies rota y hundida." + # noche_0127 .. noche_0130 + show faust fearful at vn_center + with dissolve + c_faust "Pero nublose el cielo;\nla luna en él se eclipsa;\nmi lámpara se apaga,\ny ráfagas rojizas" + # noche_0131 .. noche_0134 + c_faust "descienden y circundan\nmi sien descolorida.\nVertiginoso anhelo\ndentro de mí palpita," + # noche_0135 .. noche_0138 + show faust ecstatic at vn_center + with dissolve + c_faust "y siento que el Espíritu\nsiniestro se aproxima.\n¡Rasga el velo! ¡Aparece!\n¡Cuál sufre el alma mía!" + # noche_0139 .. noche_0142 + c_faust "Por abrir nuevo cauce\nmis sentimientos lidian,\ny hacia ti, fatal Genio,\ntodos se precipitan." + # noche_0143 .. noche_0144 + c_faust "¡Preséntate, aunque fuere\nal precio de mi vida!" + show bg study_spirit at tint_red + with vn_flash + show layer master at vn_shake + show faust ecstatic at vn_left + with vn_move + # noche_0145 + c_narrator "Toma el libro y pronuncia misteriosamente el nombre del Espíritu. Enciéndese una luz rojiza y trémula. El Espíritu aparece en ella." + # noche_0146 + c_spirit "¿Quién me llama?" + # noche_0147 + show faust fearful at vn_left + with dissolve + c_faust "¡Visión espantadora!" + # noche_0148 .. noche_0149 + c_spirit "Audaz me evocas y a venir me obligas,\ny ahora..." + # noche_0150 + c_faust "Me aterra tu presencia. Aparta..." + # noche_0151 .. noche_0154 + c_spirit "Con largo afán llamábasme, y querías\nver mi semblante y escuchar mi acento;\ncedo a tu voz, preséntome a tu vista:\n¿qué cobarde congoja rinde y postra" + # noche_0155 .. noche_0158 + c_spirit "tu valor sobrehumano? ¿Quién tu altiva\naspiración rindió? ¿Por qué desmaya\nel corazón soberbio, que en sus vivas\npalpitaciones engendraba un mundo," + # noche_0159 .. noche_0162 + c_spirit "y con su propia savia lo nutría?\n¿Cómo sucumbes, si tender el vuelo\nal par de los Espíritus querías?\n¡Y eres tú Fausto, el Fausto que me invoca!" + # noche_0163 .. noche_0165 + c_spirit "¡Eres tú Fausto, y, ¡despreciable hormiga!,\nal soplo solo de mi voz, heladas\ntemblaron tus entrañas conmovidas!" + # noche_0166 .. noche_0167 + show faust ecstatic at vn_left + with dissolve + c_faust "¡Oh, no, roja visión, hijo del fuego!\nSoy Fausto, soy tu igual; no me intimidas." + # noche_0168 + c_spirit "En la incesante ráfaga" + # noche_0169 .. noche_0172 + c_spirit "de actividad continua,\nvuelo de arriba abajo,\nvuelo de abajo arriba;\ny en ese veloz torno," + # noche_0173 .. noche_0176 + c_spirit "que el Tiempo mueve y gira,\nmis dedos impalpables\nlas tenues hebras hilan\nde la vida y la muerte," + # noche_0177 .. noche_0179 + c_spirit "de la muerte y la vida,\ntejiendo a Dios, en el telar eterno,\nla que viste inmortal túnica viva." + # noche_0180 .. noche_0182 + c_faust "¡Cómo sintiendo voy que a ti me acerco,\nEspíritu que flotas y te agitas\nsobre el mundo!" + # noche_0183 + c_spirit "Al Espíritu que sueñas" + # noche_0184 .. noche_0185 + c_spirit "y tu mente concibe, te aproximas,\nno a mí." + # noche_0186 + show faust fearful at vn_left + with dissolve + c_faust "¿No a ti? Pues dime: ¿a quién? ¿Imagen" + # noche_0187 + c_faust "soy de Dios, y ni a ti llegar podría?" + +label the_end: + scene black + with fade + show card_end at truecenter + with dissolve + pause 3.0 + return diff --git a/vn/faust/game/support.rpy b/vn/faust/game/support.rpy new file mode 100644 index 0000000..c5b21f9 --- /dev/null +++ b/vn/faust/game/support.rpy @@ -0,0 +1,38 @@ +## Support code for the generated script: transitions, stage positions, colour +## treatments and the screen shake. Static; copied verbatim by `vnpipe renpy`. + +define vn_slow = Dissolve(2.0) +define vn_flash = Fade(0.1, 0.0, 0.6, color="#ffffff") + +transform vn_left: + xalign 0.15 yalign 1.0 + +transform vn_center: + xalign 0.5 yalign 1.0 + +transform vn_right: + xalign 0.85 yalign 1.0 + +transform tint_none: + matrixcolor IdentityMatrix() + +transform tint_dark: + matrixcolor TintMatrix("#8a8498") * BrightnessMatrix(-0.2) + +transform tint_red: + matrixcolor TintMatrix("#f0968a") * BrightnessMatrix(-0.05) + +transform vn_shake: + xoffset 0 yoffset 0 + linear 0.05 xoffset 18 yoffset -8 + linear 0.05 xoffset -18 yoffset 8 + linear 0.05 xoffset 14 yoffset -6 + linear 0.05 xoffset -14 yoffset 6 + linear 0.05 xoffset 8 yoffset -3 + linear 0.05 xoffset 0 yoffset 0 + +init python: + config.font_replacement_map["fonts/RobotoSlab-Regular.ttf", True, False] = ( + "fonts/RobotoSlab-Bold.ttf", False, False) + +define vn_move = MoveTransition(0.8)