I've checked the forum and the documentation but I could'nt find a clear answer. After the splash screen I want to play a 20 second movie. The format is WMV but I can convert it to any format. Is there an easy way to play this video before the game starts?
If you are using scenemanager you could create an intro scene that is loaded as first, then you switch to another scene (menu/game/...). I believe there is an event to catch ad the end of the video in media plugin (but I never used it, I could be wrong), or you could use a timer since you know the duration of the video.
Thanks a lot. I will check the github. Other related question, is it smart to use a MovieClip with for example 500 png images to do the job? This is what I did in the first place. The extracted movie frames are full screen (640x480) with a size around 100k. I can imagine that your whole game will become very slow. What is your opinion?
@Dikkesnoek that's actually interesting point. I assume it would be slower, and since all is loaded in memory, you would probably run out of it on smaller devices.
I've tried the simulator on de Mac and with the Gideros app on the iPhone. I will take indeed some time to load all the images. The app will crash with this solution. We are gona try yoursolution.
@ar2rsawseen Never knew about the media player plugin and just tried it out. The autorotation is broken under iOS8+ ... I've logged an issue with it on github and will take a look into fixing it this week and submitting a pull request. I need to do this with a current project of mine anyway and was about to create a Gideros iOS video player (-;
Are your WMV files large? If not, you can try some online converter, such as Convertio, FreeFileConvert, you can search more. If you want to convert a batch of WMV quickly and losslessly, you can try Joyoshare Video Converter.
Comments
I believe there is an event to catch ad the end of the video in media plugin (but I never used it, I could be wrong), or you could use a timer since you know the duration of the video.
http://giderosmobile.com/forum/discussion/5509/want-to-play-video-file-from-project-/p1
Best regards,
Marc
Since you tried it, tell what was your experience
I've tried the simulator on de Mac and with the Gideros app on the iPhone.
I will take indeed some time to load all the images. The app will crash with
this solution. We are gona try yoursolution.
Thanks,
Marc
www.converter-video.com/wmv-converter/wmv-to-mp4.html
will check it out too, when will get to my mac
Thank you bot.
PS: is it me but my computer enters 3 times a smiley when I click one!?
Likes: antix