Implement updated way of playing movies

This commit is contained in:
Iggy 2024-08-14 22:25:47 -03:00
parent 0a4ab9609a
commit afb67298ec

View file

@ -7,6 +7,8 @@ init python:
renpy.play('audio/effects/carKick2.ogg', channel='audio') renpy.play('audio/effects/carKick2.ogg', channel='audio')
# renpy.play('audio/effects/carSuspension1.ogg', channel='audio') # renpy.play('audio/effects/carSuspension1.ogg', channel='audio')
image fang_tail_movie = Movie(channel="movie_dp", loop=True, play="images/animations/fang tail.webm") # New way of playing movies as of Renpy 8.1
label chapter_5: label chapter_5:
# Gardening Club # Gardening Club
@ -551,7 +553,7 @@ label chapter_5:
show anon: show anon:
easein_back 0.5 xalign 0.2 easein_back 0.5 xalign 0.2
label movie: # label movie:
play sound 'audio/effects/slapstickPunch.ogg' play sound 'audio/effects/slapstickPunch.ogg'
A "FANG!" with vpunch A "FANG!" with vpunch
@ -559,7 +561,8 @@ label chapter_5:
play ambient 'audio/effects/clipLoop.ogg' fadein 1 play ambient 'audio/effects/clipLoop.ogg' fadein 1
play ambient1 'audio/effects/outdoorNatureLoop.ogg' fadein 1 play ambient1 'audio/effects/outdoorNatureLoop.ogg' fadein 1
scene fang tail with Dissolve(1) # scene fang tail with Dissolve(1)
show fang_tail_movie with Dissolve(1) # change how the movie is played
"Through my blurred vision I can make out Fangs tail, slowly shifting side to side." "Through my blurred vision I can make out Fangs tail, slowly shifting side to side."
@ -4668,6 +4671,6 @@ label chapter_5:
$ next_story_chapter() $ next_story_chapter()
# I'm guessing this is for the gallery? # I'm guessing this is for the gallery?
label fang_movie: # label fang_movie:
scene fang tail with fade # scene fang tail with fade
"" # ""