Game Development Community

Playing video files

by Eero Karvonen · in Torque 2D Beginner · 01/04/2014 (9:21 am) · 3 replies

Hello,

what would be the best way to implement a cut-scene video playback in the T2D environment? Will video-playback be natively supported in the future?

#1
01/04/2014 (9:28 am)
The simplest would be to use a sprite animation to play back a sequence of frames - but it's far from great. The best would be to port the theora video support from T3D to T2D, and bring the .ogg audio support back with it.

I think you can use direct calls to the underlying OS for playback as a middle-of-the-road solution - MediaPlayer on Windows should handle .avi at least.
#2
01/07/2014 (10:29 am)
Do you know if anyone has made a forked repository with Theora support?
#3
01/07/2014 (1:08 pm)
I am not aware of any forks out there with Theora support. Unfortunately it is difficult to see what others are doing with T2D through Github - you could technically pull up the member fork list and go through it one by one but that would be pretty tedious with over 400 forks out there.