HELP! Playing cutscenes in Android.

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
User avatar
CalixtheGreat
Regular
Posts: 72
Joined: Thu Jun 08, 2017 12:00 am
Projects: Zephyr Breeze Investigations
itch: calixthegreat
Location: Philippines
Contact:

HELP! Playing cutscenes in Android.

#1 Post by CalixtheGreat »

Anyone knows how to insert a video that will play on Android. I tried using:

Code: Select all

play movie "video.vob"
$ renpy.pause(12, hard=True)
stop movie
This code works, but only on PC. When I made an android built of my game. Tha game crashes and says that Movie channel doesn't work on mobile...

I also tried:

Code: Select all

$ renpy.movie_cutscene("video.vob")
$ renpy.pause(12, hard=True)
stop movie
It also worked though, the problem is everytime I clicked on the video, it turns into black but the music is still there. Also, I haven't tried it yet on Android.

I want to make the video unskippable and also, able to play on android phones.
I badly need some help with this. 😢 Thanks in advance!
Image
FB PAGE:
CALIX THE GREAT

User avatar
vollschauer
Veteran
Posts: 231
Joined: Sun Oct 11, 2015 9:38 am
Github: vollschauer
Contact:

Re: HELP! Playing cutscenes in Android.

#2 Post by vollschauer »

I don't think *.vob is a supported video format on Android!? Make sure your movies are supported on that platform...

Apa
Regular
Posts: 103
Joined: Fri Dec 23, 2016 2:26 am
Location: NYC
Contact:

Re: HELP! Playing cutscenes in Android.

#3 Post by Apa »

Android OS doesn’t support 100% of Ren'Py's functionality, but with minimal modification will do just fine. :)

Post Reply

Who is online

Users browsing this forum: Google [Bot]