ANOTHER question

rex45rex45 Member Posts: 42
edited November -1 in Working with GS (Mac)
how to i make the score go up? i want the score to go up 1 when the ball and block collide. how do i do this. I'm REALLY new to game salad

Comments

  • xyloFUNxyloFUN Member Posts: 1,593
    I am too busy to google for you BUT, I remember that someone made a video tutorial that covers this.
    Search for it! :)
  • AsymptoteellAsymptoteell Member Posts: 1,362
    Make a global attribute g-ame.score and in the ball a rule like this:

    When

    Actor recorded event. Overlaps or collides with actor of type paddle

    Change attribute. Game.score. To game.score +1

    Then make another actor display text game.score.

    Asymptoteell
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    make a global attribute called score. Then ahve a rule when ball collides with block change attribute score to score+1. Then have a display text behavior to display attribute score in a actor to show the score in the game.
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Watch every tutorial video, they are in the huge tutorial sticky at the top
  • expired_012expired_012 Member Posts: 1,802
    If you're new to gamesalad, check out the wiki to get you started:

    http://gamesalad.com/wiki/

    Basically, create a global integer attribute named score. Then go into your ball actor and put in a new rule.
    Rule: when ball collides with platform, change attribute: game.score to game.score+1.

    Then you can make another actor and in it put a display text, and let it display the attribute game.score

    EDIT: LOL EPIC FAIL
  • quantumsheepquantumsheep Member Posts: 8,188
    Basically what you do is

    Oh.

    Beaten to it!

    QS :D
Sign In or Register to comment.