Discussions

SmileBASIC Community

joshuajoshuawl

02/04/2016 1:42 AM ·Spoilers

Open Closed

Saving Highscore?

I have made 2 games that you try to get the best highscore but i want to make it where i can save the highscores. How do I do that?

Advertisement

Comment

This post has no comments.

  • Here you go :) SCORE=0 string to store the score in GAMESCORE$="" puts the score into the string GAMESCORE$=STR$(SCORE) saves it into a file SAVE"TXT:SCORE",GAMESCORE$ and to load it back LOAD"TXT:SCORE" OUT GAMESCORE$ SCORE=VAL(GAMESCORE$)

    Yeahs4
    Played
  • hey you gave my post about the game a yeah so follow my account if you wanna find the discussion and you can see whats open for you!

    Yeahs0
    Played
  • Thanks for the help!

    Yeahs0
    Played

Add a Comment

You must sign in to post a comment.

Sign in using a Nintendo Network ID to connect to users around the world by writing posts and comments and by giving Yeahs to other people's posts. You can create a Nintendo Network ID using your Wii U console or your system in the Nintendo 3DS family.

Use of Miiverse Details about Miiverse

Report Violation to Miiverse Administrators

You are about to report a post with content which violates the Miiverse Code of Conduct. This report will be sent to Nintendo's Miiverse administrators and not to the creator of the post.

Violation Type:

Post ID: 3DB-NBL7-BXM-ZM98-V24-8EJC

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: