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 367fabc739
commit 2956afe75a
4 changed files with 39 additions and 3 deletions

View File

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

View File

@ -308,9 +308,9 @@ screen inventory_menuitem(xx, yy):
action Return("dec")
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):
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")
# 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:
animation
"weather_cloudy_clouds"
choice:
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_rain_fx:
animation
"images/rooms/_weather_/rain_01.webp"
pause.1
"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_snow_fx:
animation
"images/rooms/_weather_/snow_01.webp"
pause.07
"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_blizzard_fx:
animation
"images/rooms/_weather_/blizzard_01.webp"
pause.05
"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_storm_fx:
animation
parallel:
animation
pause 20
"images/rooms/_weather_/lightning_01.webp"
pause.1
@ -159,6 +165,7 @@ image weather_storm_fx:
repeat
parallel:
animation
"images/rooms/_weather_/rain_01.webp"
pause.1
"images/rooms/_weather_/rain_02.webp"