mirror of
https://github.com/Dasemu/faust-vn.git
synced 2026-11-27 07:46:29 +00:00
chore(vn): regenerate with style-aware images, picker and preference
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
be6cef8641
commit
7120e4daf4
28 files changed
+72
-24
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user