Not signed in (Sign In)

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorMathdude314 (Advanced Member)
    • CommentTimeMay 12th 2014 edited
     
    I made this game

    http://www.phyard.com/design/Mathdud...

    When you reload the page, the "best score" is erased. Strangely, clicking "reset score" does nothing! Help!-----------------
    If less people are active, that will only make for even less activity. Start making those designs!
    Currently working on a one-round no-elimination quick RP game...
    •  
      CommentAuthorBioManiac R2 (Moderator)
    • CommentTimeMay 12th 2014
     
    not sure how to help you :/ I've never done gotten around to saving scores, but my score is 2122 :P
    • CommentAuthorpuzzle geek (Advanced Member)
    • CommentTimeMay 12th 2014
     
    2165 here, then i fell between the platforms-----------------
    puzzled
    •  
      CommentAuthorTapir
    • CommentTimeMay 17th 2014 edited
     
    the game save APIs is just saving the data in the local flash cookie.
    At the game very start, you should call LoadGameSave.
    When any time the game save variables changes, the WriteGameSave should be called immediately.-----------------
    My games: Tapir Games
    My phyards: Tapir@phyard
    •  
      CommentAuthorMathdude314 (Advanced Member)
    • CommentTimeMay 17th 2014
     
    But I did that on my phyard.com design and it didn't work.-----------------
    If less people are active, that will only make for even less activity. Start making those designs!
    Currently working on a one-round no-elimination quick RP game...
    •  
      CommentAuthorTapir
    • CommentTimeMay 18th 2014
     
    It seems the LoadGameSave API is not called in the first scene (default scene) and the game save high score variable is never modified.-----------------
    My games: Tapir Games
    My phyards: Tapir@phyard
    •  
      CommentAuthorTapir
    • CommentTimeMay 21st 2014
     
    Aha, the reason the editor is create a design key which contains ",", which is not allowed in flash cookie filename.

    You don't need do anything to avoid this problem.
    I have uploaded a new viewer version to convert "," into "-" automatically.

    Thanks for this finding!

    btw, it seems the WriteGameSave API is called too frequently.-----------------
    My games: Tapir Games
    My phyards: Tapir@phyard