diff --git a/vn/game/images.rpy b/vn/game/images.rpy index ffca7b1..a9bbd98 100644 --- a/vn/game/images.rpy +++ b/vn/game/images.rpy @@ -5,27 +5,27 @@ image card_prologo_teatro = Text("PRÓLOGO EN EL TEATRO", size=60, text_align=0. 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" +image bg dedication = "images/bg/painterly/dedication.webp" +image bg heaven = "images/bg/painterly/heaven.webp" +image bg heaven_lord = "images/bg/painterly/heaven_lord.webp" +image bg study = "images/bg/painterly/study.webp" +image bg study_macrocosm = "images/bg/painterly/study_macrocosm.webp" +image bg study_spirit = "images/bg/painterly/study_spirit.webp" +image bg theatre = "images/bg/painterly/theatre.webp" +image clown laughing = "images/sprites/painterly/clown_laughing.webp" +image clown mocking = "images/sprites/painterly/clown_mocking.webp" +image clown neutral = "images/sprites/painterly/clown_neutral.webp" +image director neutral = "images/sprites/painterly/director_neutral.webp" +image director pleased = "images/sprites/painterly/director_pleased.webp" +image director worried = "images/sprites/painterly/director_worried.webp" +image faust anguished = "images/sprites/painterly/faust_anguished.webp" +image faust ecstatic = "images/sprites/painterly/faust_ecstatic.webp" +image faust fearful = "images/sprites/painterly/faust_fearful.webp" +image faust neutral = "images/sprites/painterly/faust_neutral.webp" +image mephisto deferent = "images/sprites/painterly/mephisto_deferent.webp" +image mephisto neutral = "images/sprites/painterly/mephisto_neutral.webp" +image mephisto scornful = "images/sprites/painterly/mephisto_scornful.webp" +image mephisto sly = "images/sprites/painterly/mephisto_sly.webp" +image poet indignant = "images/sprites/painterly/poet_indignant.webp" +image poet inspired = "images/sprites/painterly/poet_inspired.webp" +image poet neutral = "images/sprites/painterly/poet_neutral.webp" diff --git a/vn/game/images/bg/dedication.webp b/vn/game/images/bg/painterly/dedication.webp similarity index 100% rename from vn/game/images/bg/dedication.webp rename to vn/game/images/bg/painterly/dedication.webp diff --git a/vn/game/images/bg/heaven.webp b/vn/game/images/bg/painterly/heaven.webp similarity index 100% rename from vn/game/images/bg/heaven.webp rename to vn/game/images/bg/painterly/heaven.webp diff --git a/vn/game/images/bg/heaven_lord.webp b/vn/game/images/bg/painterly/heaven_lord.webp similarity index 100% rename from vn/game/images/bg/heaven_lord.webp rename to vn/game/images/bg/painterly/heaven_lord.webp diff --git a/vn/game/images/bg/study.webp b/vn/game/images/bg/painterly/study.webp similarity index 100% rename from vn/game/images/bg/study.webp rename to vn/game/images/bg/painterly/study.webp diff --git a/vn/game/images/bg/study_macrocosm.webp b/vn/game/images/bg/painterly/study_macrocosm.webp similarity index 100% rename from vn/game/images/bg/study_macrocosm.webp rename to vn/game/images/bg/painterly/study_macrocosm.webp diff --git a/vn/game/images/bg/study_spirit.webp b/vn/game/images/bg/painterly/study_spirit.webp similarity index 100% rename from vn/game/images/bg/study_spirit.webp rename to vn/game/images/bg/painterly/study_spirit.webp diff --git a/vn/game/images/bg/theatre.webp b/vn/game/images/bg/painterly/theatre.webp similarity index 100% rename from vn/game/images/bg/theatre.webp rename to vn/game/images/bg/painterly/theatre.webp diff --git a/vn/game/images/sprites/clown_laughing.webp b/vn/game/images/sprites/painterly/clown_laughing.webp similarity index 100% rename from vn/game/images/sprites/clown_laughing.webp rename to vn/game/images/sprites/painterly/clown_laughing.webp diff --git a/vn/game/images/sprites/clown_mocking.webp b/vn/game/images/sprites/painterly/clown_mocking.webp similarity index 100% rename from vn/game/images/sprites/clown_mocking.webp rename to vn/game/images/sprites/painterly/clown_mocking.webp diff --git a/vn/game/images/sprites/clown_neutral.webp b/vn/game/images/sprites/painterly/clown_neutral.webp similarity index 100% rename from vn/game/images/sprites/clown_neutral.webp rename to vn/game/images/sprites/painterly/clown_neutral.webp diff --git a/vn/game/images/sprites/director_neutral.webp b/vn/game/images/sprites/painterly/director_neutral.webp similarity index 100% rename from vn/game/images/sprites/director_neutral.webp rename to vn/game/images/sprites/painterly/director_neutral.webp diff --git a/vn/game/images/sprites/director_pleased.webp b/vn/game/images/sprites/painterly/director_pleased.webp similarity index 100% rename from vn/game/images/sprites/director_pleased.webp rename to vn/game/images/sprites/painterly/director_pleased.webp diff --git a/vn/game/images/sprites/director_worried.webp b/vn/game/images/sprites/painterly/director_worried.webp similarity index 100% rename from vn/game/images/sprites/director_worried.webp rename to vn/game/images/sprites/painterly/director_worried.webp diff --git a/vn/game/images/sprites/faust_anguished.webp b/vn/game/images/sprites/painterly/faust_anguished.webp similarity index 100% rename from vn/game/images/sprites/faust_anguished.webp rename to vn/game/images/sprites/painterly/faust_anguished.webp diff --git a/vn/game/images/sprites/faust_ecstatic.webp b/vn/game/images/sprites/painterly/faust_ecstatic.webp similarity index 100% rename from vn/game/images/sprites/faust_ecstatic.webp rename to vn/game/images/sprites/painterly/faust_ecstatic.webp diff --git a/vn/game/images/sprites/faust_fearful.webp b/vn/game/images/sprites/painterly/faust_fearful.webp similarity index 100% rename from vn/game/images/sprites/faust_fearful.webp rename to vn/game/images/sprites/painterly/faust_fearful.webp diff --git a/vn/game/images/sprites/faust_neutral.webp b/vn/game/images/sprites/painterly/faust_neutral.webp similarity index 100% rename from vn/game/images/sprites/faust_neutral.webp rename to vn/game/images/sprites/painterly/faust_neutral.webp diff --git a/vn/game/images/sprites/mephisto_deferent.webp b/vn/game/images/sprites/painterly/mephisto_deferent.webp similarity index 100% rename from vn/game/images/sprites/mephisto_deferent.webp rename to vn/game/images/sprites/painterly/mephisto_deferent.webp diff --git a/vn/game/images/sprites/mephisto_neutral.webp b/vn/game/images/sprites/painterly/mephisto_neutral.webp similarity index 100% rename from vn/game/images/sprites/mephisto_neutral.webp rename to vn/game/images/sprites/painterly/mephisto_neutral.webp diff --git a/vn/game/images/sprites/mephisto_scornful.webp b/vn/game/images/sprites/painterly/mephisto_scornful.webp similarity index 100% rename from vn/game/images/sprites/mephisto_scornful.webp rename to vn/game/images/sprites/painterly/mephisto_scornful.webp diff --git a/vn/game/images/sprites/mephisto_sly.webp b/vn/game/images/sprites/painterly/mephisto_sly.webp similarity index 100% rename from vn/game/images/sprites/mephisto_sly.webp rename to vn/game/images/sprites/painterly/mephisto_sly.webp diff --git a/vn/game/images/sprites/poet_indignant.webp b/vn/game/images/sprites/painterly/poet_indignant.webp similarity index 100% rename from vn/game/images/sprites/poet_indignant.webp rename to vn/game/images/sprites/painterly/poet_indignant.webp diff --git a/vn/game/images/sprites/poet_inspired.webp b/vn/game/images/sprites/painterly/poet_inspired.webp similarity index 100% rename from vn/game/images/sprites/poet_inspired.webp rename to vn/game/images/sprites/painterly/poet_inspired.webp diff --git a/vn/game/images/sprites/poet_neutral.webp b/vn/game/images/sprites/painterly/poet_neutral.webp similarity index 100% rename from vn/game/images/sprites/poet_neutral.webp rename to vn/game/images/sprites/painterly/poet_neutral.webp diff --git a/vn/game/screens.rpy b/vn/game/screens.rpy index d601f80..b42c24f 100644 --- a/vn/game/screens.rpy +++ b/vn/game/screens.rpy @@ -756,6 +756,14 @@ screen preferences(): textbutton _("After Choices") action Preference("after choices", "toggle") textbutton _("Transitions") action InvertSelected(Preference("transitions", "toggle")) + if len(vn_art_styles) > 1: + + vbox: + style_prefix "radio" + label "Estilo visual" + for style_id, style_label in vn_art_styles: + textbutton style_label action SetField(persistent, "art_style", style_id) + ## Additional vboxes of type "radio_pref" or "check_pref" can be ## added here, to add additional creator-defined preferences. diff --git a/vn/game/script.rpy b/vn/game/script.rpy index 2f1fc29..21831c5 100644 --- a/vn/game/script.rpy +++ b/vn/game/script.rpy @@ -1,6 +1,7 @@ ## Generated by `vnpipe renpy`. Do not edit: regenerate instead. label start: + call vn_pick_art_style window auto label scene_dedicatoria: diff --git a/vn/game/styles.rpy b/vn/game/styles.rpy new file mode 100644 index 0000000..24a76cc --- /dev/null +++ b/vn/game/styles.rpy @@ -0,0 +1,39 @@ +## Art styles: the player picks one at first launch and can change it in Preferences. +## Every image is a ConditionSwitch on `persistent.art_style` (see images.rpy), so a +## change takes effect on the next interaction without moving anything on stage. +## Static except for the substituted style list; copied by `vnpipe renpy`. + +default persistent.art_style = "painterly" +default persistent.art_style_chosen = False + +## (style id, label) pairs, in manifest order. +define vn_art_styles = [('painterly', 'Pictórico'), ('anime', 'Anime')] + +screen vn_art_style_picker(): + + modal True + + add Solid("#000000") + + vbox: + xalign 0.5 + yalign 0.5 + spacing 30 + + text "Estilo visual" xalign 0.5 size 60 + text "Puedes cambiarlo más tarde en Preferencias." xalign 0.5 size 28 + + null height 20 + + for style_id, style_label in vn_art_styles: + textbutton style_label: + xalign 0.5 + action [SetField(persistent, "art_style", style_id), + SetField(persistent, "art_style_chosen", True), Return()] + +## Shown once, before the first scene, when there is a choice to make. +label vn_pick_art_style: + if len(vn_art_styles) > 1 and not persistent.art_style_chosen: + scene black + call screen vn_art_style_picker + return