Display level up artwork
GameSaladNoob
Member Posts: 10
Hi GameSalad community! I am a real noob with GameSalad so I'm making a little fruit ninja clone to help me learn.
So, I want this "level up!" artwork to flash on the screen every time the level goes up, appearing for about a second. I know I could create a rule for EVERY level, but that seems like overkill. I have a feeling I need to create an attribute, but I am still really confused about how to use those...
Any help would be awesome!
So, I want this "level up!" artwork to flash on the screen every time the level goes up, appearing for about a second. I know I could create a rule for EVERY level, but that seems like overkill. I have a feeling I need to create an attribute, but I am still really confused about how to use those...
Any help would be awesome!
Answers
Then put an actor in the scene that thinks,
"If LevelUp is true, display text, '(text here)'"
Does this make sense? If you created an image that says "Level Up" well, I could tell you how to do that, too.
Does GameSalad automatically know that a boolean attribute called "LevelUp" means level up? Or is this something I need to define elsewhere? Like "LevelUp" means when the score counter reaches 5,000 points. For some reason I am missing the connection here.
Along the same lines, how do I change the value for what defines level up if I want to make it progressively harder? For example:
Level 2 = 5,000 points
Level 3 = 11,000
Level 4 = 19,000
and so on...
Secondly, I see what you mean now. You'll have to erase that boolean attribute and use an "Integer" one instead, and call it the same name. Sorry for the confusion. Also, Gamesalad won't know what it means, but if you give it a specific set of rules like the ones below, it will know what to do.
Make a rule that basically says,
"If LevelUp is equal to 5,000, display text, '(text here)'"
The you will have to use the LevelUp attribute as a score counter too. How do you want the score to reach 5,000 points?