Displaying the level number?

TouchTiltGamesTouchTiltGames Member Posts: 1,162
edited November -1 in Working with GS (Mac)
Wondering how I would go about displaying the level number you're on after you finish a level?

I thought that maybe an interger: displayLevel and thought it might go something like: change attribute displayLevel To displayLevel +1 if Next Scene? Am I on the right track? :)

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    you'll need to track the level they are on, and display that attribute.

    Say you've got an attribute called currentLevel. Create an actor that displays that attribute and drop him in the scene. Then create a separate (invisible) actor that assigns currentLevel a number. You'll have to manually designate this in each level, I haven't figured out a way to do it automated, but once you do that, every level will display the number.
  • TouchTiltGamesTouchTiltGames Member Posts: 1,162
    Hey Mulcahy thanks,

    "Then create a separate (invisible) actor that assigns currentLevel a number."

    Do you mean a change attribute like currentLevel To currentLevel +1 ?

    Isn't what you're saying just the same as manually entering a level # for each level?
  • ShpintShpint Member Posts: 404
    Actually I found a very very easy way.
    Create an invisible actor.
    Make it display text.
    Type anything (you dont need it) then place it where every you want in your scene.
    Double click the actor "inside" the scene not in the library!!
    Display Text>>Expression>>Current scene>>>name
    THATS IT!!! (do u understand??)
Sign In or Register to comment.