My score displays like this 2.41755e+06. Does anyone know how I can fix this?

robertkdalerobertkdale USAMember Posts: 912
edited October 2012 in Miscellaneous
In sum I am using the Rolling score counter method with custom numbers in order to display the score within my game.
Unfortunately I have run into an issue when trying to display the score at the end of each level on a best score page.
The player can score up to Nine hundred and ninety- nine million points.

Moving along when I try to display the score with the display text behavior I get the following numbers in the display ( 2.41755e+06).

Also, I am using a random points feature and I notice that when I display my score the points are sometimes off by 10 to 40 points in comparison to my custom score counter.


Has anyone had this problem before? Most importantly, does anyone have any suggestions as to how I might be able to fix this.

Thanks for reading my post.

Robert K

Big Smile Games Play Happy!
Check out our other GameSalad exclusives.

Comments

  • famekraftsfamekrafts Member, BASIC Posts: 834
    Not sure which system of custom fonts are using.

    With the custom fonts which TshirtBooth made, you need to be sure that each next number is divisible by 10,

    say if it is once / 10
    10 / 100
    100 / 1000

    so 10,00000 will be divided by 10,000000

    Just check the code again.

    Cannot say about random unless you show a screenshot of the behaviors.
  • robertkdalerobertkdale USAMember Posts: 912
    Thanks wicked sunny. I have just fixed that problem using TshirtBooth's video tutorial.

    I have another question for you if you don't mind?

    In sum I would like to take the player to a bonus points scene after they complete each level and display their points scored with the rolling score counter and then add bonus points to that score as reward. Also I have saved my score and thus the points on my custom rolling score counter using a Table.

    Honestly, I know how to do each step but one. To illustrate.

    1) Firstly, I create a knew scene.

    2) Secondly, I create my rolling score counter. ( I know how to do this.)

    3). Thirdly, I load the points scored from the previous scene into the bonus points scene and thus the rolling score counter on this scene. (This is what I do not know how to do.)

    4). Lastly, I add the bonus points. (This I know how to do.)

    In sum, I need to load my saved score into my custom rolling score counter on the bonus points scene. Admittedly, I have know Idea as to how I might do this. Simply put, is there a way to load the score into my rolling score counter on the bonus points scene?



    Thank you for your help and reading this post.

    Robert K

    Big Smile Games Play Happy!
    Check out our other GameSalad exclusives.

  • robertkdalerobertkdale USAMember Posts: 912
    Thank you uptimistik! I will give it a try.

    Big Smile Games Play Happy!
    Check out our other GameSalad exclusives.

  • famekraftsfamekrafts Member, BASIC Posts: 834
    I am trying something similar for my game, I made two attributes one for coin, one for global coins, the global coins store the data with the save and load attribute behavior whenever game starts and whenever a game scene ends.: the coins add to the global coins.

    I have not tested on ipad yet, so I am not sure, but play with them and check the link above by uptimistik. That will help.

  • robertkdalerobertkdale USAMember Posts: 912
    Thanks! I will let you know how it goes.

    Big Smile Games Play Happy!
    Check out our other GameSalad exclusives.

Sign In or Register to comment.