FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SIO2Splash fade - not fading with multiple render windows

2 posters

Go down

SIO2Splash fade - not fading with multiple render windows Empty SIO2Splash fade - not fading with multiple render windows

Post  Jawdy Mon May 04, 2009 7:53 am

I'm having an interesting issue with the SplashScreen that I've avoided looking into until now.

I use multiple _SIO2windowrenderer lines and sub-methods, so that I can clearly separate all my menus etc. The first thing to be displayed is the "Powered by SIO2" splash screen, from Tutorial 17.
When I run Tutorial 17 (or start a new template and copy&paste the code) the splash screen fades out nicely. If I drop it into one of the windowrenderer places, it displays and shows for the correct time, but never fades.

I'm quite possibly (again) doing something daft, but it never seems to process the alpha channel - at least, that's my first guess.

Any help would be appreciated :-)
Jawdy
Jawdy

Posts : 65
Join date : 2009-03-17
Location : UK

http://www.gaslightgames.co.uk

Back to top Go down

SIO2Splash fade - not fading with multiple render windows Empty Re: SIO2Splash fade - not fading with multiple render windows

Post  sio2interactive Mon May 04, 2009 4:24 pm

Have you tried with the original tutorial? If it fade properly in the original template it means that you are missing something somewhere... there's no black magic here:

_SIO2material->blend = SIO2_MATERIAL_ALPHA;

>> This will make the widget alpha

_SIO2widget->_SIO2material->diffuse->w = splash_time;

>> This will modify the alpha value...

Its that simple...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

SIO2Splash fade - not fading with multiple render windows Empty Re: SIO2Splash fade - not fading with multiple render windows

Post  Jawdy Tue May 05, 2009 2:10 pm

You sir, are a star!
Nay, a magician!

I was using some Widget code off a different tutorial and hadn't set the ->blend = SIO2_MATERIAL_ALPHA, it was on _DIVIDE instead. A simple changeover and bang, it's working perfectly.

Like I said, a STAR! sunny
Jawdy
Jawdy

Posts : 65
Join date : 2009-03-17
Location : UK

http://www.gaslightgames.co.uk

Back to top Go down

SIO2Splash fade - not fading with multiple render windows Empty Re: SIO2Splash fade - not fading with multiple render windows

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum