Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: How to stop GUIs from fading out when you change a scene?  (Read 3108 times)

0 Members and 1 Guest are viewing this topic.

Xenogia

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 14
  • FMV Adventure Developer
    • View Profile
How to stop GUIs from fading out when you change a scene?
« on: January 05, 2010, 01:25:31 PM »

I have my inventory gui and a bottom gui for text on screen.  Is there a way to stop these fading out and in when you are changing a scene?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: How to stop GUIs from fading out when you change a scene?
« Reply #1 on: January 05, 2010, 03:18:55 PM »

In any case you'll have to set scene viewport in ProjectMan. Then Scene.FadeOut() and Scene.FadeIn() will only affect the scene viewport area.
I'm not really sure if the default scene transitions only fade the scene viewport or the entire screen, probably the latter. So you'd have to disable the default fading (when calling ChangeScene() you can specify not to perform the fade transition) and fade the scene manually using Scene.FadeOut().
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Xenogia

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 14
  • FMV Adventure Developer
    • View Profile
Re: How to stop GUIs from fading out when you change a scene?
« Reply #2 on: January 05, 2010, 08:31:21 PM »

Thanks Mnemonic, worked like a charm :)
Logged
 

Page created in 0.037 seconds with 19 queries.