Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Videos on Startup?  (Read 2292 times)

0 Members and 1 Guest are viewing this topic.

Flufferson

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
    • View Profile
Videos on Startup?
« on: August 23, 2013, 01:19:51 AM »

Hey everyone,

I'm trying to get the hang of how everything works in Wintermute, and it's going super well thanks to all the great questions and responses here on the forums. However I haven't been able to figure out how I would make a video play on start up. Something like a developer logo that plays before the main menu would be my goal.

How would I go about implementing something like that? (Please and Thank-you)

 ::slug
Logged

piere

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 301
  • Sorry for any bad english in my posts. Game on !
    • View Profile
Re: Videos on Startup?
« Reply #1 on: August 23, 2013, 07:41:28 AM »

Make a scene that is an intro scene. Put a Game.PlayTheora(); method in there. Make a Sleep(); function for however long the video lasts for or a IsTheoraPlaying() method in a while(true) loop, then do a Game.ChangeScene to your main menu. Hope that helps
« Last Edit: August 23, 2013, 07:42:59 AM by piagent »
Logged
 

Page created in 0.038 seconds with 24 queries.