GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to fade in and out of a scene, then cut to the title scene (with out touching the scene)

jobeijobei Posts: 39Member
edited June 2012 in Working with GS (PC)
What's the steps I have to take?

Comments

  • jonmulcahyjonmulcahy Posts: 8,694Member, Sous Chef, PRO
    You need an actor the same size as the screen in the color you want


    To fade in
    Interpolate self.color.alpha to 0

    To fade out
    Interpolate self.color.alpha to 1

    Then change scene


    So for a transitions from one scene to another

    Fade out to black
    Change scene
    Fade in
  • jobeijobei Posts: 39Member
    You need an actor the same size as the screen in the color you want


    To fade in
    Interpolate self.color.alpha to 0

    To fade out
    Interpolate self.color.alpha to 1

    Then change scene


    So for a transitions from one scene to another

    Fade out to black
    Change scene
    Fade in

    So do i need to make 2 actors, one actor as a black backaround the same size as the screen and another actor is the picture i want to fade into?

    The picture and black background as to different actors?





  • jobeijobei Posts: 39Member
    wait I have it now thanks!
  • jobeijobei Posts: 39Member
    wait I have it now thanks!
    You need an actor the same size as the screen in the color you want


    To fade in
    Interpolate self.color.alpha to 0

    To fade out
    Interpolate self.color.alpha to 1

    Then change scene


    So for a transitions from one scene to another

    Fade out to black
    Change scene
    Fade in
    Nope sorry I still not getting it Jonmulcahy.

    This is what I have , a picture of a skull that suppose to fade in then fade up and cut to the next scene that is the start menu.

    Right now my picture fades in and out really fast and still dont go into the next scene, it just stay all black, and I been messing with the number and it still do the same fast fade in and out.

    Am I suppose to have 2 actors? One actor as a black background and another actor as skull image?

  • jobeijobei Posts: 39Member
    edited June 2012
    I've been trying to do this all morning.
    I want my actor to fade in, pause, fade out, then go to the next scene.

    Thank of it as a studio name fading in , pause, then fade out, then go into the title screen.

    That's what I'm trying to do.

    Also I'm working off the window gamesalad
  • jonmulcahyjonmulcahy Posts: 8,694Member, Sous Chef, PRO
    Merged with the existing topic you had n this subject on the front page.
    This is a very basic task


    If the background is black, on the skull have something like

    Interpolate self.color.alpha to 1 over 2 seconds
    Tmer after 3 seconds
    Interpolate self.color.alpha to 0 over 2 seconds
    Timer after 5 seconds
    Change scene
  • gyroscopegyroscope I am here.Posts: 6,034Member, Sous Chef, PRO
    edited June 2012

    Hi @jobei

    One way to do this (especially if you've more than one actor to fade in and out):

    Place a blank actor with its colour set to black over the entire screen. In its Rules, put:

    Interpolate self.actor.Alpha to 0 --- set the fade time as you'd want
    Timer: After 5 seconds
    Interpolate self.actor.Alpha to 1
    Change Scene

    Edit: I've been beaten to it by Jon!
  • jobeijobei Posts: 39Member
    Thanks I have it working now.
Sign In or Register to comment.