Bug Fixes

* Fixed decoration menu page swap arrow position
* Fixed room and title screen animations restarting with every interaction
This commit is contained in:
LoafyLemon 2022-12-17 21:57:06 +00:00
parent 04fa574b29
commit 1d25e458f5
4 changed files with 39 additions and 3 deletions

View File

@ -267,6 +267,7 @@ image sur:
# Main title background animation # Main title background animation
image title_ani: image title_ani:
contains: contains:
animation
zoom 0.5 zoom 0.5
"images/title/00.webp" "images/title/00.webp"
pause 3 pause 3
@ -318,6 +319,7 @@ image title_ani:
"candle_fire_01" "candle_fire_01"
contains: contains:
animation
xpos -255 xpos -255
ypos 100 ypos 100
zoom 0.8 zoom 0.8
@ -341,6 +343,7 @@ image title_ani:
#sparkle #sparkle
contains: contains:
animation
xpos 798 xpos 798
ypos 200 ypos 200
xanchor 0.5 xanchor 0.5
@ -354,6 +357,7 @@ image title_ani:
#shine silver (synchronized) #shine silver (synchronized)
contains: contains:
animation
xpos 848 xpos 848
ypos 230 ypos 230
xanchor 0.5 xanchor 0.5

View File

@ -308,9 +308,9 @@ screen inventory_menuitem(xx, yy):
action Return("dec") action Return("dec")
imagebutton: imagebutton:
idle Transform(gui.format("interface/frames/{}/arrow_up.webp"), xzoom=-1) idle Transform(gui.format("interface/frames/{}/arrow_up.webp"), yzoom=-1)
if current_page < math.ceil((menu_items_length-1)/items_shown): if current_page < math.ceil((menu_items_length-1)/items_shown):
hover Transform(image_hover(gui.format("interface/frames/{}/arrow_up.webp")), xzoom=-1) hover Transform(image_hover(gui.format("interface/frames/{}/arrow_up.webp")), yzoom=-1)
action Return("inc") action Return("inc")
# Add items # Add items

File diff suppressed because it is too large Load Diff

View File

@ -59,6 +59,7 @@ image weather_cloudy_clouds = ConditionSwitch(
) )
image weather_cloudy_fx: image weather_cloudy_fx:
animation
"weather_cloudy_clouds" "weather_cloudy_clouds"
choice: choice:
pos (-100, 0) pos (-100, 0)
@ -74,6 +75,7 @@ image weather_cloudy_fx:
image weather_cloudy = Fixed("weather_clear", "weather_cloudy_fx", fit_first=True) image weather_cloudy = Fixed("weather_clear", "weather_cloudy_fx", fit_first=True)
image weather_rain_fx: image weather_rain_fx:
animation
"images/rooms/_weather_/rain_01.webp" "images/rooms/_weather_/rain_01.webp"
pause.1 pause.1
"images/rooms/_weather_/rain_02.webp" "images/rooms/_weather_/rain_02.webp"
@ -85,6 +87,7 @@ image weather_rain_fx:
image weather_rain = Fixed("weather_overcast", "weather_rain_fx", fit_first=True) image weather_rain = Fixed("weather_overcast", "weather_rain_fx", fit_first=True)
image weather_snow_fx: image weather_snow_fx:
animation
"images/rooms/_weather_/snow_01.webp" "images/rooms/_weather_/snow_01.webp"
pause.07 pause.07
"images/rooms/_weather_/snow_02.webp" "images/rooms/_weather_/snow_02.webp"
@ -110,6 +113,7 @@ image weather_snow_fx:
image weather_snow = Fixed("weather_overcast", "weather_snow_fx", fit_first=True) image weather_snow = Fixed("weather_overcast", "weather_snow_fx", fit_first=True)
image weather_blizzard_fx: image weather_blizzard_fx:
animation
"images/rooms/_weather_/blizzard_01.webp" "images/rooms/_weather_/blizzard_01.webp"
pause.05 pause.05
"images/rooms/_weather_/blizzard_02.webp" "images/rooms/_weather_/blizzard_02.webp"
@ -135,8 +139,10 @@ image weather_blizzard_fx:
image weather_blizzard= Fixed("weather_overcast", "weather_blizzard_fx", fit_first=True) image weather_blizzard= Fixed("weather_overcast", "weather_blizzard_fx", fit_first=True)
image weather_storm_fx: image weather_storm_fx:
animation
parallel: parallel:
animation
pause 20 pause 20
"images/rooms/_weather_/lightning_01.webp" "images/rooms/_weather_/lightning_01.webp"
pause.1 pause.1
@ -159,6 +165,7 @@ image weather_storm_fx:
repeat repeat
parallel: parallel:
animation
"images/rooms/_weather_/rain_01.webp" "images/rooms/_weather_/rain_01.webp"
pause.1 pause.1
"images/rooms/_weather_/rain_02.webp" "images/rooms/_weather_/rain_02.webp"