Animated models transparent background

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
Exiscoming
Regular
Posts: 132
Joined: Tue Apr 29, 2014 5:37 pm
Contact:

Animated models transparent background

#1 Post by Exiscoming »

So I know how to add videos to my game, but they won't keep their transparancy.
An alternative would be to do it like:

1.png
pause 0.2
2.png
pause 0.2
etc.

But due to the amount frames, this will end up very tedious and time consuming. Are there any alternatives?

-Ex

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: Animated models transparent background

#2 Post by Remix »

I think video alpha (transparency) in Ren'Py is mostly done with an accompanying mask video. Have you tried that? video mask

Alternatively (though potentially much larger filesize) you could use a DynamicDisplayable to return a frame based upon the shown timebase. I'd suggest using a mask though.
Frameworks & Scriptlets:

Exiscoming
Regular
Posts: 132
Joined: Tue Apr 29, 2014 5:37 pm
Contact:

Re: Animated models transparent background

#3 Post by Exiscoming »

Got it to work. Thanks a lot!

Post Reply

Who is online

Users browsing this forum: No registered users