Leve complete or game over

creativeappscreativeapps Member Posts: 1,770
edited November -1 in Working with GS (Mac)
I want to display level complete and game over screen on current playing screen. Means suppose user complete level 1 that time level 1 complete screen display on level 1 screen with black alpha background how to do that?

Comments

  • rlehmrlehm Member Posts: 320
    Make a new actor, game over, level 1, etc

    Add to scene the way you want it to look.

    Create an attribute. Level1

    Somewhere in the game trigger the attribute, level1 to true.

    Then in your level over actor, if level1 = true
    Change attribute self.alpha = 1
    Otherwise
    Self.alpha = 0

    Now, it will be invisible until you trigger the level1 attribute to true.
  • creativeappscreativeapps Member Posts: 1,770
    can we use pause behaviour instead of this?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    yep
  • creativeappscreativeapps Member Posts: 1,770
    thanks john
Sign In or Register to comment.