April 29, 2024, 07:28:01 AM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Latest WME version:
WME 1.9.1
(January 1st, 2010) -
download
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Text over a theora video
« previous
next »
Pages: [
1
]
Print
Author
Topic: Text over a theora video (Read 3112 times)
0 Members and 1 Guest are viewing this topic.
Mihulik
Occasional poster
Karma: 0
Offline
Posts: 71
Text over a theora video
«
on:
August 28, 2011, 04:28:02 PM »
Hi,
I was wondering whether I can display text over a theora video while the video is being played?
Can I play a sound while a video is being played?
I've never worked with theora videos in WME so I'd like to be sure.
Logged
Mnemonic
WME developer
Administrator
Addicted to WME forum
Karma: 41
Offline
Gender:
Posts: 5683
Re: Text over a theora video
«
Reply #1 on:
August 28, 2011, 05:14:34 PM »
If you use a video entity (entity.PlayTheora()), it acts just like any other scene element, so the answer to both questions is yes.
Full-screen video (Game.PlayTheora()) runs in exclusive mode and the game is frozen until the playback is over.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum.
Mihulik
Occasional poster
Karma: 0
Offline
Posts: 71
Re: Text over a theora video
«
Reply #2 on:
August 28, 2011, 05:21:40 PM »
However, if I use a video entity whose size matches the screen resolution, it'll act like a full-screen video so I'll be able to play a sound / display text over the video, won't I?
«
Last Edit: August 28, 2011, 05:40:33 PM by Mihulik
»
Logged
Mnemonic
WME developer
Administrator
Addicted to WME forum
Karma: 41
Offline
Gender:
Posts: 5683
Re: Text over a theora video
«
Reply #3 on:
August 28, 2011, 05:57:31 PM »
Yes, definitely.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum.
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Text over a theora video