Multiplier score - The best method to make this work ?

dugisthekingdugistheking Member Posts: 83
edited December 2011 in Working with GS (Mac)
Hello All,

Here is an interesting one for you GS experts that I am hoping you can help me with :)
Scenario
Players scores A or player scores B.
Every time the player scores the same (for example A then A again) They get a multiplier score
For example:
Player scores A - 100 points
Player scores A ( x 2 score) - 200 points
Player scores A (x3 score) - 600 points
player scores A ( x 4 score) 2,400 points
player scores B - back to normal - 100 points

What is the best way to have this setup in GS? I also want to have a stats page - where is will keep track of total achieved score across all games, total scores achieved and % of score A or B.

Id really appreciate the feedback if any of you can help.

Comments

  • CloudsClouds Member Posts: 1,599
    edited December 2011
    Not a GS expert by any stretch of the imagination, but here's how I'd do it:

    Make an attribute.
    Let's call it 'multiplier' - put's it's default at 1.
    ........
    When you hit your target (or whatever it is you do to get points) then your score = (your score X 'multiplier') - display score.
    Then make 'multiplier' = ('multiplier'+1)
    ........

    You will need to put in a separate rule to deal with the very first score (going from 0 to 100 points) - a simple boolean check should do the trick ("is this the first time I have scored ? = true/false)

    [EDIT] Or a better idea (no need for a separate rule to deal with the very first score) make 100 points the default value for the 'your score' attribute (no need to reveal this to the player), then you can simply start by multiplying the score (via the 'multiplier') by X1 (to give you 100 points) then X2 (200 points) then X3 (600 points) then X4 (2,400 points) . . . . and so on.

    Or something like that !
  • dugisthekingdugistheking Member Posts: 83
    Hi. Thank you so much for replying. I too thought of this way but wasn't sure. I will get experimenting and get back to you if I need more help. Thank you very much !
Sign In or Register to comment.