Transition effect

NeverbeNeverbe Member Posts: 117
edited November -1 in Working with GS (Mac)
As you can read in the title: how can i set a transition effect into my scene and when i change scene?
Thanks to all

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    you can make a blank actor - colour it black and set its opacity to 0

    Make it cover the entire screen.

    In the actor have an interpolate command that says 'change opacity to 1' over however many seconds you want.
    Then put timer in that says:
    After the time put into the interpolate behaviour, change scene.

    The screen will fade to black then change scene.

    Hope that helps,

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • design219design219 Member Posts: 2,273
    QS is right, but if you want something other than black, you can use any full-screen image, and you will need a second image for the fade up. I do this in Nesen Probe with a metallic screen.

    For the fade up part, you do the reverse: make the opacity 100% and then use interpolate to make it go to 0 opacity. I would then use a destroy behavior. (timer after 1 second, destroy actor)

    The annoying part about the fade up is you have to put it on the top layer of every scene you want to fade to, and then when you need to work with a scene in GameSalad, you have to move it to the bottom layer until you are ready to test or publish.

    Good luck!

    _______________

    Nesen Probe http://itunes.apple.com/us/app/nesen-probe/id377766693?mt=8
    Tickle Stones http://itunes.apple.com/us/app/tickle-stones/id363484260?mt=8
    Food Fight! (free) http://itunes.apple.com/us/app/food-fight/id352646643?mt=8
  • NeverbeNeverbe Member Posts: 117
    I love you! It work but I don't know how to do it if I have an actor who must change its image.
    Explain :D :
    I'm working on a Visual Novel for iPhone, I had compile it with Xcode but there's a lot of leaks...
    Now I'm trying to rewrite it to see where's the problem but if I cannot manage to do it I decided to build my app using GameSalad...in this way there mustn't be problem...or not?
    But a visual novel have a lot of text and pictures so i must find a way to set picture and text (but i need a lot of rule :O)
Sign In or Register to comment.