A new quest is available on the Disover with Mia channel! In this Ren'Py tutorial, we will see together how to add and play a video in a Visual Novel on a Ren'Py project.
~My ~meow Twitter: / miacodeex
Lines of code used in this tutorial:
A:
1st method to play a video:
image example = Movie(play="example.webm", size=(1280,720), loop=False, xalign=0.10, yalign=0.10)
show the video in the script
show example
hide the video in the script
hide example
A-2:
image example = Movie(play="example.webm" , loop=False)
define elements like xalign when the video is show:
show example:
xalign 0
yalign 0
B: Other method to play a video (full screen):
$ renpy.movie_cutscene("example.webm", delay=2, loops=0, stop_music=True)
Characters : NoranekoGames And PochiPochiHouse
Music by Cleyton Kauffman
Thank you for your support everyone! Meow! (=^ ◡ ^=)
Discover with Mia - @MiaCodeExpedition
#renpy #tutorial #visualnovel #indiegamedev