Stage Clear

ShpintShpint Member Posts: 404
edited November -1 in Working with GS (Mac)
Hi all,
How can I show that a player has passed this stage/scene? like mark it with a check mark or something. Or even has a lock when it has not been played and then that lock is removed when the stage is clear?

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    When you finish a stage, have a variable (boolean) called 'Level1unlocked'. Change it to 'true'.

    On your stage select screen, have an actor that has the rule:

    If Level1unlocked is true, change image to 'open padlock'. Otherwise change image to 'closed padlock'

    Do this for each level. Though I'm sure there's probably a more efficient way of doing it...

    Cheers,

    QS :D

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

  • mrfunkleberrymrfunkleberry Member Posts: 424
    The only slightly better way i can think of is to have a varible called levelReached (int). Everytime a level is complete + 1 to levelReached.

    Then using the same actors as QS suggested have a rule

    if levelReached < 1 (2,3,4 etc)
    change image to 'closed padlock'
  • quantumsheepquantumsheep Member Posts: 8,188
    Yep, I was thinking about that too. It's about the same amount of work I think, and shows there are several ways of doing it :)

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

  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    http://gamesalad.com/forums/topic.php?id=6824#post-44632

    Something i posted on a while ago that saves a ton of time.
    If you are not doing the unlock thing and only a continue feature you can even do everything from one prototype for every level.

    Either way this cuts the editing in half or more. And is a cool trick that isn't technically a GS featiure
Sign In or Register to comment.