My score displays like this 2.41755e+06. Does anyone know how I can fix this?
robertkdale
USAMember Posts: 912
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
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
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.
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.
Big Smile Games Play Happy!
Check out our other GameSalad exclusives.
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.
Big Smile Games Play Happy!
Check out our other GameSalad exclusives.