First video is 16MB -14 sec, second 12MB - 4sec, third 7MB -3 sec. I know the file sizes are big but i didnt want to compromise on quality for the intro.
I have tried to see if the webms load using image load log when i tried to predict them, and while i am getting the confirmation checkmarks for them, the textures or image cache dont increase, caching works for pictures.(honestly i dont even know if you can cache video files)
Video doesent stutter as much when i encode it lower quality, or if i play it using play movie.
I predicted videos using
Code: Select all
$ renpy.start_predict("images/concert*.*")
I know its a mess but for me trying stuff is the best way to learn.
I apologise for the wall of text, but i feel like i have to include everything in case there is an interaction i dont know about since i am new to this.
Code: Select all
image goddess_walktocam = Movie(play="video/intro_goddess_walktocamera.webm", loop=0)
image goddess_book = Movie(play="intro_goddess_book.webm", loop=0)
image goddess_mark = Movie(play="video/intro_goddess_mark.webm", loop=0)
Code: Select all
$ renpy.start_predict("video/test*.*")
show goddess_static_far with Dissolve(0.5)
goddessdream "Yes,{w=0.5} I think you will do."
window hide
$ renpy.start_predict_screen("goddess_book")
show goddess_walktocam:
alpha 0.5
linear 0.5 alpha 1.0
time 13.5
#"intro/goddess_intro_walk_chat.webp" with dissolve
linear 0.5 alpha 0.0
goddessdream "{cps=60}I have been searching for a while now for someone...{w=1.0} suitable.{w=5.5}{nw}{/cps}" with Dissolve(2.0)
goddessdream "{cps=60}And i think i have found my next keeper.{w=4.7}{nw}{/cps}" with dissolve
show goddess_intro_walk_chat with dissolve
goddessdream "Tell me, what is your name?"
$ me = renpy.input("Her imposing presence urges me to answer, i do not feel forced, rather i feel... {w=0.5}guided, what could she be?")
if me== "":
$ me = renpy.input("I have better not refuse her, i have a feeling she already knows.")
if me == "" or me == " ":
$ me = "peter haggot"
me "[me]."
scene goddess_intro_walk_chat_2 with Dissolve(0.3)
goddessdream "I wish to give you a gift [me]."
show goddess_intro_book with dissolve
goddessdream "If you would accept it."
#play movie "video/intro_goddess_book.webm"
show goddess_book #vid2
with dissolve
pause 2.8
#$ renpy.stop_predict("intro/intro_goddess_book.webm")
show goddess_intro_book2 with Dissolve(1.0)
pause
show goddess_mark #vid3
with dissolve
goddessdream "{cps=60}Just...{w=0.3} {alpha=*0.5}step...{w=0.3}{nw}{/cps}{/alpha}"
scene black with Dissolve(1.0)
goddessdream "{alpha=*0.3}through...{/alpha}"