Displaying the level number?
TouchTiltGames
Member Posts: 1,162
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?
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
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.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
"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?
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??)