forked from SilverStudioGames/WTS
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:
parent
9bcbdba53b
commit
91f44064dc
BIN
game/images/rooms/_weather_/day_cloud_01.webp
(Stored with Git LFS)
Normal file
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
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
BIN
game/images/rooms/_weather_/day_cloud_03.webp
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -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
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user