Display level up artwork

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!

Answers

  • GOG_GamesGOG_Games Member Posts: 130
    You could make a boolean attribute in the "Game" column, and call it "LevelUp."
    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.
  • GameSaladNoobGameSaladNoob Member Posts: 10
    Thanks so much GOG_Games! Let me ask you what is probably a really dumb question:

    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...
  • GOG_GamesGOG_Games Member Posts: 130
    edited July 2013
    First off, no question is a dumb question. :)

    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?
  • GameSaladNoobGameSaladNoob Member Posts: 10
    Thanks GOG! Right now it reaches 5,000 points with 10 points per slash and a combo when you do 10 in a row. This is the DeepBlueApps template I bought from them. I should have mentioned that originally. I thought it would be a good way to learn by seeing what they did and trying to change and add to it. Thanks so much for the help. I have so many questions...
Sign In or Register to comment.