Please login or register.

Login with username, password and session length
Advanced search  


For WME related articles and tutorials visit WME Resource Center.

Author Topic: Skip Entity.PlayTheora  (Read 2579 times)

0 Members and 1 Guest are viewing this topic.

The Man

  • Occasional poster
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 67
    • View Profile
Skip Entity.PlayTheora
« on: November 11, 2014, 01:50:13 PM »

Sorry if this has been asked before, but I couldn't find anything about it in the forum!
I'm using entities to play my videos because when I use Game.PlayTheora the quality of the video seems to decrease a lot (I really don't understand why!)

My question is: is there a way to skip videos that are played through an entity? I generally use a code similar to this:

Code: [Select]
var video = Scene.GetNode("video");
while (video.IsTheoraPlaying())

I'd be really grateful if someone could help me, because I'd hate to have to choose between having bad quality videos or unskippable videos!


  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 116
    • View Profile
    • Tele Juego
Re: Skip Entity.PlayTheora
« Reply #1 on: November 19, 2014, 08:25:24 AM »

I have not tried.
Code: [Select]
on "Keypress"
  // ignore keypresses in the intro screen
  if(Game.PlayTheora("name_of_the_video.ogv")) return;

  // on Esc or F1 key

Page created in 0.095 seconds with 23 queries.