Complex Scoring System Help Needed Please!

game ongame on Sun Valley, California Member, PRO Posts: 79

I'm making a simple "up/down" game for iphone with a complex scoring system. When "up button" is pressed and main actor moves up one spot, I would like to add "one point" to the score. When "down button" is pressed, score loses "one point". Now here's the kicker, every 3 seconds that pass, I would like to add "one point" to the score.

So, 1pt. for pressing up. 1pt. for every 3sec. And -1pt. for moving down.

I would like to have two score boxes in the game. One that shows current points (what level they are currently on) and one that shows "High Score" (example; So if you received 50pts., but pressed down five times, the current score would show 45pts, but the "High Score" would still show 50pts.) "High Score" can never go down in pts., only up. While "Current Score" can go up or down depending where they are in the level.

After Main Actor dies, I would like to have a "score box - pop-up" that shows games "Current Score", "High Score", and "All Time High Score" (from all games played in the past.)

Any help would be greatly appreciated. Thanks, David

P.S. I'm new at this, so you can't over simplify it.

Comments

  • game ongame on Sun Valley, California Member, PRO Posts: 79

    Good News. I got the Scoring System to work. 1pt for up, 1pt every 3sec, -1pt for down. The problem I'm having now is when actor climbs to top of screen, you can keep hitting "Up button" and get pts. Likewise when actor touches bottom of screen, you can keep hitting "Bottom button" and lose pts.

    Is there a way to stop gaining or losing pts. when actor is touching top or bottom of screen? (iphone portrait)

  • ArmellineArmelline Member, PRO Posts: 5,354

    Perhaps just add a condition to the points rule that checks the actor's position and if it's above/below certain values, the points rule doesn't get triggered?

  • game ongame on Sun Valley, California Member, PRO Posts: 79

    Armelline, I agree. Can you give me a little instruction as to how-to-do-that, please.

    @Armelline said:
    Perhaps just add a condition to the points rule that checks the actor's position and if it's above/below certain values, the points rule doesn't get triggered?

  • game ongame on Sun Valley, California Member, PRO Posts: 79

    Got it done. Thanks Armelline.

Sign In or Register to comment.