I've got a problem with High Score, please help

JmattocksJmattocks Member, PRO Posts: 54

I launched a game on the App Store in which you fire projectiles at oncoming objects before they reach a destination. If the objects reached the destination you lose. My intent was to aim the projectiles at the oncoming objects, however people are abusing the fact that theres no penalty to continually firing projectiles. I decided to award 2 points if you hit an object, but it would cost 1 point to fire. I created a Change Attribute for the projectile to game.score-1. On the object I added a Change Attribute upon collision with projectile to game.score+2. This is somehow altering my high score. It seemed to be working... I was receiving 2 points for collision and losing 1 to fire. However, during trials I noticed that if I were to get my score up to 10 for example, but then miss twice my "high score" was still displaying as 10, even though it should be 8. I would get up to like 15 and then miss 5 times on purpose and it would still display 15 instead of 10. What can I do to get the High Score to display the "actual" high score, and not what the highest numerical score was during that specific try?

Best Answer

  • tatiangtatiang Posts: 11,949
    Accepted Answer

    Would you mind if I answered the question you didn't ask? That is, "how can I change my game so that people can't fire too many projectiles?" You could have a cooldown timer that prevents firing before a certain number of seconds has elapsed, or you could have a max bullet count and not allow more than a few bullets on the screen at once.

    Now, to answer your question, there's no way anyone can know what the problem is without seeing your rules. Post screenshots and we'll see how you have it set up.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Answers

  • JmattocksJmattocks Member, PRO Posts: 54

    @tatiang I like what you suggested. What would be the rule coding required for those two solutions?

Sign In or Register to comment.