Compare commits

...

4 Commits

Author SHA1 Message Date
42c3804b66 Improve weather in different ways
make the move subpixel
remove the old unused cloud_move
separate the three clouds' moves, both the yoffset, the x speed and the x start time (with a time offset)
2023-11-18 17:06:40 +01:00
166184a362 Fix and improve big_bang
the "on show" wasn't working for some reason and wasn't necessary anyway
easeout was probaly mixed up with easein, in any case easein renders much better
using easein_cubic for a sharper explosion
2023-11-18 16:30:05 +01:00
d124579be4 Fix weather storm and create the weather image tag 2023-11-18 15:41:23 +01:00
da6b7d11ae 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
2023-11-18 15:23:15 +01:00
6 changed files with 60 additions and 80 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1301,7 +1301,7 @@ label gryffindor_match:
# Cuts to Cho who has taken off Gloves, goggles and leggings. Still wearing top, skirt, bra # Cuts to Cho who has taken off Gloves, goggles and leggings. Still wearing top, skirt, bra
# Cho takes her top off # Cho takes her top off
# Transition to Cho on her broom # Transition to Cho on her broom
$ cho.equip(cho_outfit_quidditch_gryffindor) $ cho.equip(cho_outfit_quidditch_gryffindor)
$ cho.set_pose("broom") $ cho.set_pose("broom")
$ cho.animation = sprite_fly_idle $ cho.animation = sprite_fly_idle

View File

@ -344,9 +344,7 @@ screen big_bang(bang=False):
add "images/misc/bang.webp": add "images/misc/bang.webp":
at transform: at transform:
zoom 0.0 zoom 0.0
anchor (0.5, 0.5) xycenter (540, 300)
pos (540, 300) easein_cubic 15 zoom 4
on show:
easeout 15.0 zoom 3
else: else:
add "glow_effect" zoom 0.2 anchor (0.5, 0.5) align (0.5, 0.5) add "glow_effect" zoom 0.2 align (0.5, 0.5)

View File

@ -25,13 +25,12 @@ screen main_room():
sensitive room_menu_active sensitive room_menu_active
default objects = sorted(main_room.objects, key=lambda x: x.zorder) default objects = sorted(main_room.objects, key=lambda x: x.zorder)
default weather = "weather_[game.weather]"
# Hotkeys # Hotkeys
if room_menu_active and game.day > 1 and not renpy.android: if room_menu_active and game.day > 1 and not renpy.android:
use hotkeys_main use hotkeys_main
add weather pos (430, 218) anchor (0.5, 0.5) add "weather [game.weather]" xycenter (430, 218)
# Walls # Walls
if game.daytime: if game.daytime:

File diff suppressed because it is too large Load Diff