animating A LOT of images

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
TamakiShibo
Regular
Posts: 27
Joined: Sat Jul 07, 2018 1:24 pm
Contact:

animating A LOT of images

#1 Post by TamakiShibo » Mon Oct 01, 2018 9:25 am

i want to put video in the background of menu. I cant do this with videofile, so i converted video into a lot of pictures... its like 300 of them :D
is there any way not to write this:
"image kek:
"kek1.png"
0.1
"kek2.png"
0.1
"kek3.png"
0.1
...
...
"kek300.png"
0.1"

all with my poor fingers?

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3636
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: animating A LOT of images

#2 Post by Imperf3kt » Mon Oct 01, 2018 9:45 am

Why are you unable to use a video?

And no, not as far as I am aware.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py

TamakiShibo
Regular
Posts: 27
Joined: Sat Jul 07, 2018 1:24 pm
Contact:

Re: animating A LOT of images

#3 Post by TamakiShibo » Mon Oct 01, 2018 10:05 am

Imperf3kt wrote:
Mon Oct 01, 2018 9:45 am
Why are you unable to use a video?

And no, not as far as I am aware.
am i able to use a video???????

DannX
Regular
Posts: 99
Joined: Mon Mar 12, 2018 11:15 am
Contact:

Re: animating A LOT of images

#4 Post by DannX » Mon Oct 01, 2018 10:40 am

TamakiShibo wrote:
Mon Oct 01, 2018 10:05 am
am i able to use a video???????
I haven't tried it myself, but according to the documentation, yes:

Code: Select all

image menu_bg = Movie(play="menu.avi")

screen my_menu:
    add "menu_bg"
    ## the rest of the screen below
More about that here.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], _ticlock_