GameSalad

Howdy, Stranger!

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

Is 1 Game Over Screen with a Retry button for Multiple Level Scenes Possible?

aquamonkeyaquamonkey Posts: 36Member, PRO

Is there a way to set attributes for a Retry button actor on a pause scene to change scenes appropriately to whichever level the player failed? For instance, I have a Game Over pause scene with a retry button that changes to the initial scene while resetting actor positions and the score back to 0 (because it's the first level). Do I need to have a different Game Over scene for every level (since a different Change Scene action needs to occur in the retry button) or is there a way to minimize that?

Comments

  • tenrdrmertenrdrmer Posts: 9,934Member, Sous Chef, Senior Sous-Chef

    It is possible but it is also complex. Though with the new scene change expression behavior it should be a little more simple.

    It's not my fault I never learned to take responsibility for anything. ;)

  • UtopianGamesUtopianGames Posts: 5,686Member
    edited March 2014

    @tenrdrmer said:
    It is possible but it is also complex. Though with the new scene change expression behavior it should be a little more simple.

    @tenrdrmer Its not complex its very easy, knocked up a quick demo for you.

    I see your a pro member so all's good :)

    Complete actor is unlocked to take advantage of changing the game WhatLevel to the scene names (named 1-3) as we use change scene at index.

    Press on complete actor to go to next level and press on fail to test out going to a fail scene and back to the previous level.

    Darren.

  • aquamonkeyaquamonkey Posts: 36Member, PRO

    @DeepBlueApps thanks for your help. To have you and @tenrdrmer‌ respond so quickly is an honor. I opened the zip file but was not able to open the MenuHelp.gsproj file…says it has 0 bytes. Am I missing something? I'm picturing what you are describing though, which sounds slick, but I'm excited to see your demo!

  • tenrdrmertenrdrmer Posts: 9,934Member, Sous Chef, Senior Sous-Chef

    What version of GS and Mac or PC ?

    It's not my fault I never learned to take responsibility for anything. ;)

  • UtopianGamesUtopianGames Posts: 5,686Member

    Strange i just downloaded and played it, if your not aware we have a few new version of creator here http://gamesalad.com/download/releases

    Like my friend @tenrdrmer says Mac or PC?

    Darren.

  • aquamonkeyaquamonkey Posts: 36Member, PRO
    edited March 2014

    I'm using the latest version for Mac, 10.4.1

  • UtopianGamesUtopianGames Posts: 5,686Member

    Download the Release Candidate from here and enjoy :)

    http://gamesalad.com/download/releases

    Darren.

  • aquamonkeyaquamonkey Posts: 36Member, PRO

    @DeepBlueApps‌ thanks a ton for your time in making that demo! As my father-in-law tells me, "You're a scholar and a gentleman, there aren't many of us left!" Changing a Game Attribute to a Scene Attribute by unlocked actors is something that you've just taught me. I didn't see that I could access the Change Scene "At Index" in the latest stable version of GS rather than using the Release Candidate version, but that will make things so much easier when that's released! That said, thanks to you, I was able to figure out another way to do it without Change Scene "At Index". It just adds a rule for every scene that the player can retry. Yes, that can be a lot of rules if you have lots of scenes, but I like that's it's all under one Game Over scene still. I've attached my demo in case you or anyone would like to see and share how to make it better. I will certainly use your method once "At Index" comes along.

    -In the fail button (unlocked actor in scene), I changed game.WhatLevel to scene.Name.
    -In the retry button of the Game Over scene, I added rules to change to different scenes based on WhatLevel (scene names: 1, 2, 3, etc.)

    Cheers!
    Keith

  • UtopianGamesUtopianGames Posts: 5,686Member
    edited March 2014

    Your welcome glad i could help (although my days on the forum seem to be coming to an end as the mods have put me in jail).

    Darren.

  • aquamonkeyaquamonkey Posts: 36Member, PRO

    Shame on the mods! Why would GS not want someone, willingly helpful and talented, to contribute?

Sign In or Register to comment.