Weather improvements

* Reimplemented weather using renpy image methods
* Fixed weather causing fps drop
* Added cached weather results to the main room
* Reduced animation overhead
* Removed weather screen
* Unified day and night cloud images
This commit is contained in:
LoafyLemon 2022-05-31 15:31:41 +01:00
parent 9bcbdba53b
commit 91f44064dc
6 changed files with 93 additions and 93 deletions

BIN
game/images/rooms/_weather_/day_cloud_01.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
game/images/rooms/_weather_/day_cloud_02.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
game/images/rooms/_weather_/day_cloud_03.webp (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -2739,7 +2739,6 @@ label ball_ending_E2:
$ game.weather = "random"
call weather_sound
show screen weather
show screen main_room
$ chair_OBJ.hidden = False

View File

@ -25,12 +25,13 @@ 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
use weather
add weather pos (430, 218) anchor (0.5, 0.5)
# Walls
if game.daytime:

File diff suppressed because it is too large Load Diff