Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: buttons pressing during video playback?  (Read 3175 times)

0 Members and 1 Guest are viewing this topic.

Dan-D

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 89
    • View Profile
buttons pressing during video playback?
« on: July 10, 2008, 01:48:29 AM »

Hi! So the idea is to create something like in the game fahrenheit (indigo prophecy) action sequences. You know that "press some buttons combination" thing. So here's a thing, start playing video 1 and after, let's say 6 seconds of video, L and R buttons should be pressed during 2 seconds. If they were pressed start video 2 and if they weren't play video 3. But i don't know if WME can handle running scripts while video playback?
If it can then any code example would be really nice (please) :)
Logged

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: buttons pressing during video playback?
« Reply #1 on: July 10, 2008, 07:25:34 AM »

if you use theora entities it's easily possible. Just create some entity, call your_entity.PlayTheora();

The lowdown is that the time tracking must be done manually so in case of slow computers, you'll get out of sync. There's no way currently how to get video
position.

Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

Dan-D

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 89
    • View Profile
Re: buttons pressing during video playback?
« Reply #2 on: July 10, 2008, 11:23:46 AM »

ok thanks
Logged
 

Page created in 0.026 seconds with 19 queries.