Clarify and simplify weather
remove two blank images (useless and slower than Null()) clarify in weather.rpy which are images directly shown on the screen and not just ingredients for the others simplify the screen code
This commit is contained in:
parent
d7a5aa8d66
commit
da6b7d11ae
BIN
game/images/rooms/main_room/weather/lightning_01.webp
(Stored with Git LFS)
BIN
game/images/rooms/main_room/weather/lightning_01.webp
(Stored with Git LFS)
Binary file not shown.
BIN
game/images/rooms/main_room/weather/lightning_05.webp
(Stored with Git LFS)
BIN
game/images/rooms/main_room/weather/lightning_05.webp
(Stored with Git LFS)
Binary file not shown.
@ -25,13 +25,12 @@ screen main_room():
|
||||
sensitive room_menu_active
|
||||
|
||||
default objects = sorted(main_room.objects, key=lambda x: x.zorder)
|
||||
default weather = "weather_[game.weather]"
|
||||
|
||||
# Hotkeys
|
||||
if room_menu_active and game.day > 1 and not renpy.android:
|
||||
use hotkeys_main
|
||||
|
||||
add weather pos (430, 218) anchor (0.5, 0.5)
|
||||
add "weather_[game.weather]" xycenter (430, 218)
|
||||
|
||||
# Walls
|
||||
if game.daytime:
|
||||
|
@ -26,13 +26,13 @@ transform cloud_move:
|
||||
pause 7
|
||||
repeat
|
||||
|
||||
image weather_clear = ConditionSwitch(
|
||||
image weather_clear = ConditionSwitch( # final
|
||||
"game.daytime", "images/rooms/main_room/weather/sky.webp",
|
||||
"game.moon", "images/rooms/main_room/weather/night_sky_moon.webp",
|
||||
"True", "images/rooms/main_room/weather/night_sky.webp",
|
||||
)
|
||||
|
||||
image weather_overcast = ConditionSwitch(
|
||||
image weather_overcast = ConditionSwitch( # final
|
||||
"game.daytime", "images/rooms/main_room/weather/sky_overcast.webp",
|
||||
"game.moon", "images/rooms/main_room/weather/night_sky_moon_overcast.webp",
|
||||
"True", "images/rooms/main_room/weather/night_sky_overcast.webp",
|
||||
@ -71,7 +71,7 @@ image weather_cloudy_fx:
|
||||
pause 2
|
||||
repeat
|
||||
|
||||
image weather_cloudy = Fixed("weather_clear", "weather_cloudy_fx", fit_first=True)
|
||||
image weather_cloudy = Fixed("weather_clear", "weather_cloudy_fx", fit_first=True) # final
|
||||
|
||||
image weather_rain_fx:
|
||||
animation
|
||||
@ -83,7 +83,7 @@ image weather_rain_fx:
|
||||
pause.1
|
||||
repeat
|
||||
|
||||
image weather_rain = Fixed("weather_overcast", "weather_rain_fx", fit_first=True)
|
||||
image weather_rain = Fixed("weather_overcast", "weather_rain_fx", fit_first=True) # final
|
||||
|
||||
image weather_snow_fx:
|
||||
animation
|
||||
@ -109,7 +109,7 @@ image weather_snow_fx:
|
||||
pause.07
|
||||
repeat
|
||||
|
||||
image weather_snow = Fixed("weather_overcast", "weather_snow_fx", fit_first=True)
|
||||
image weather_snow = Fixed("weather_overcast", "weather_snow_fx", fit_first=True) # final
|
||||
|
||||
image weather_blizzard_fx:
|
||||
animation
|
||||
@ -135,7 +135,7 @@ image weather_blizzard_fx:
|
||||
pause.05
|
||||
repeat
|
||||
|
||||
image weather_blizzard= Fixed("weather_overcast", "weather_blizzard_fx", fit_first=True)
|
||||
image weather_blizzard = Fixed("weather_overcast", "weather_blizzard_fx", fit_first=True) # final
|
||||
|
||||
image weather_storm_fx:
|
||||
animation
|
||||
@ -143,7 +143,7 @@ image weather_storm_fx:
|
||||
parallel:
|
||||
animation
|
||||
pause 20
|
||||
"images/rooms/main_room/weather/lightning_01.webp"
|
||||
Null()
|
||||
pause.1
|
||||
"images/rooms/main_room/weather/lightning_02.webp"
|
||||
pause.1
|
||||
@ -151,15 +151,15 @@ image weather_storm_fx:
|
||||
pause.1
|
||||
"images/rooms/main_room/weather/lightning_04.webp"
|
||||
pause.1
|
||||
"images/rooms/main_room/weather/lightning_05.webp"
|
||||
Null()
|
||||
pause.1
|
||||
"images/rooms/main_room/weather/lightning_06.webp"
|
||||
pause.1
|
||||
"images/rooms/main_room/weather/lightning_05.webp"
|
||||
Null()
|
||||
pause.1
|
||||
"images/rooms/main_room/weather/lightning_06.webp"
|
||||
pause.1
|
||||
"images/rooms/main_room/weather/lightning_05.webp"
|
||||
Null()
|
||||
pause 20
|
||||
repeat
|
||||
|
||||
@ -173,4 +173,4 @@ image weather_storm_fx:
|
||||
pause.1
|
||||
repeat
|
||||
|
||||
image weather_storm = Fixed("weather_overcast", "weather_storm_fx", fit_first=True)
|
||||
image weather_storm = Fixed("weather_overcast", "weather_storm_fx", fit_first=True) # final
|
||||
|
Loading…
Reference in New Issue
Block a user