Use expression instead of image

the only documented lingua
this is AST-equivalent

(cherry picked from commit 542db72609)
This commit is contained in:
Gouvernathor 2023-11-15 01:14:33 +01:00 committed by LoafyLemon
parent 11047626e1
commit 0c564a521b
8 changed files with 112 additions and 112 deletions

View File

@ -712,7 +712,7 @@ label hufflepuff_match:
her "Higher up, Cho seems to have caught an eye on the snitch and is chasing after it, directly followed by Cedric who..." ("open", "slit", "low", "stare", flip=True) her "Higher up, Cho seems to have caught an eye on the snitch and is chasing after it, directly followed by Cedric who..." ("open", "slit", "low", "stare", flip=True)
her "Hold on a minute... Is Cho wearing a skirt?" ("scream", "wide", "worried", "stare") her "Hold on a minute... Is Cho wearing a skirt?" ("scream", "wide", "worried", "stare")
show image "CG quidditch cho_flashing" as cg zorder 17 show expression "CG quidditch cho_flashing" as cg zorder 17
with fade with fade
play sound "sounds/crowd_gasp.ogg" play sound "sounds/crowd_gasp.ogg"
@ -735,7 +735,7 @@ label hufflepuff_match:
call ctc call ctc
# Pack to stands. # Pack to stands.
hide image cg hide expression cg
with fade with fade
pause .1 pause .1

View File

@ -3,7 +3,7 @@ label start_wt:
show screen blkfade show screen blkfade
with d3 with d3
show image "images/rooms/_bg_/castle.webp" show expression "images/rooms/_bg_/castle.webp"
hide screen blkfade hide screen blkfade
with d3 with d3
show screen close_button(action=MainMenu()) show screen close_button(action=MainMenu())
@ -40,7 +40,7 @@ label start_wt:
$ states.ton.level = 5 $ states.ton.level = 5
jump skip_to_hermione jump skip_to_hermione
hide image "images/rooms/_bg_/castle.webp" hide expression "images/rooms/_bg_/castle.webp"
hide screen close_button hide screen close_button
$ enable_game_menu() $ enable_game_menu()
@ -182,7 +182,7 @@ label genie_intro_E4:
label skip_to_hermione: label skip_to_hermione:
$ renpy.block_rollback() $ renpy.block_rollback()
hide image "images/rooms/_bg_/castle.webp" hide expression "images/rooms/_bg_/castle.webp"
hide screen close_button hide screen close_button
$ enable_game_menu() $ enable_game_menu()

File diff suppressed because it is too large Load Diff

View File

@ -120,7 +120,7 @@ label a_bad_time_to_disrobe_part_1:
show screen blkfade show screen blkfade
with d3 with d3
show image Text("{image=images/rooms/room_of_requirement/qmark.webp}{size=+4}{color=#cbcbcb}Hermione will remember that{/color}{/size}") as qmark zorder 100: show expression Text("{image=images/rooms/room_of_requirement/qmark.webp}{size=+4}{color=#cbcbcb}Hermione will remember that{/color}{/size}") as qmark zorder 100:
pos (10, 10) pos (10, 10)
nar "Hermione returns the next morning, looking nervous but more determined than yesterday." nar "Hermione returns the next morning, looking nervous but more determined than yesterday."

View File

@ -18,7 +18,7 @@ label an_odd_circumstance:
$ hermione.equip(her_outfit_default) $ hermione.equip(her_outfit_default)
call room("main_room") call room("main_room")
stop music fadeout 1 stop music fadeout 1
show image "dark_overlay" zorder 6 as dark_overlay show expression "dark_overlay" zorder 6 as dark_overlay
show screen blkfade show screen blkfade
with d5 with d5
@ -86,7 +86,7 @@ label an_odd_circumstance:
$ hermione_chibi.zorder = states.desk_chibi_zorder - 1 $ hermione_chibi.zorder = states.desk_chibi_zorder - 1
call her_chibi("stand",210, 450, flip=True) call her_chibi("stand",210, 450, flip=True)
hide screen white hide screen white
show image "dark_overlay" zorder 6 as dark_overlay show expression "dark_overlay" zorder 6 as dark_overlay
with d1 with d1
her "Silencio." her "Silencio."

View File

@ -1,6 +1,6 @@
label enlarge_poster: label enlarge_poster:
show image "#00000080" as underlay show expression "#00000080" as underlay
show image Image(poster_OBJ.decoration.image) zorder 25 at truecenter as poster show expression Image(poster_OBJ.decoration.image) zorder 25 at truecenter as poster
call ctc call ctc

View File

@ -936,7 +936,7 @@ label purchase_outfit(item):
gen "Well, if you could, I'd like something like this... *Scribbles*." ("base", xpos="far_left", ypos="head") gen "Well, if you could, I'd like something like this... *Scribbles*." ("base", xpos="far_left", ypos="head")
#TODO uncomment once conversion for python 3 allows it #TODO uncomment once conversion for python 3 allows it
#show image Transform(Fixed("paper", "geniedrawing", fit_first=True), align=(0.5, 0.5), zoom=0.5) as drawing #show expression Transform(Fixed("paper", "geniedrawing", fit_first=True), align=(0.5, 0.5), zoom=0.5) as drawing
#with d5 #with d5
#call ctc #call ctc
#hide drawing #hide drawing