creating a combo

TaidakenTaidaken Member Posts: 271
edited November -1 in Working with GS (Mac)
I was wondering if anyone could help me with creating a combo, like when i destroy one object and then i destroy a similar object in a certain amount of time after destroying the first, the points i get from doing that doubles and then if i do it again, tripples and so on and so on. any help would be greatly appreciated. :)

Comments

  • reddotincreddotinc Member Posts: 653
    hmmm...

    what you would need would be create a new actor on your scene that will act as the timer for your combos

    in that actor have a rule:

    when game.combo = 1
    TIMER after X seconds
    change attr game.combo = 0

    Then you can add rules to your objects based on the combo attr value to determine what happens.

    hope that helps :)

    // Red Dot Inc
  • TaidakenTaidaken Member Posts: 271
    thank you that has helped heaps :D
  • reddotincreddotinc Member Posts: 653
    You're welcome :)

    // Red Dot Inc
Sign In or Register to comment.