Highscore not saving when ad hoc testing
learnwebdev
Member Posts: 2
So I have a highscore system set up as follows:
It works perfectly when testing in creator however as soon as I do ad hoc testing everything goes crazy and the highscore will keep saving as random numbers. Any idea as to what is causing this? Ive triple checked all of my behaviors and there is nothing that is interfering with the highscore system.
Comments
Get rid if the () in that table name. It's going to screw up things in the expression editor. Don't use special characters in attribute names, table names et.. Keep things simple because those special characters mean things in an expression.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@Lost_Oasis_Games Ok so I changed the name and still having issues. It seems like the issue only happens after publishing it and doing an ad hoc test. Works fine in viewer and creator. Could it be a bug with the new creator 1.0 update?
Hmmm would have to test it.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Put the save in an After 0.05s timer with run to completion checked. It might be that the save isn't getting a chance to run.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
I agree. Your rule (I'm assuming since I can't see it all) is changing row 1 col 1 of the table to game.Scorecount but since the condition for the rule is that game.Scorecount is greater than the value of row 1 col 1, that rule stops running as soon as you change the cell value.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User