hyperPad hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Get all save files as array (also making reset saved files through behaviours possible)

    Scheduled Pinned Locked Moved Comments & Feedback
    6 Posts 3 Posters 724 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • KamdroidK Offline
      Kamdroid
      last edited by Kamdroid

      Let us use a behaviour to get an array of all saved files, this would help me a lot, and also making deleting all files possible.

      OLD POST:
      Currently the only way to reset all saved data is by branching the project and clicking reset save data in the debug menu.

      Please add a behaviour to do this instead.

      Aidan_FireA 1 Reply Last reply Reply Quote 0
      • Aidan_FireA Offline
        Aidan_Fire @Kamdroid
        last edited by

        @Kamdroid Can’t you already kind of do this? Save the value to nothing? Or if it’s a high score save zero?

        KamdroidK 1 Reply Last reply Reply Quote 0
        • KamdroidK Offline
          Kamdroid @Aidan_Fire
          last edited by Kamdroid

          @Aidan-Oxley Yes, you can delete files. But, for example, in KrystalOS, there is a ton of different dynamic file names.

          I said to be able to reset/delete ALL saved files

          iTap DevelopmentI 1 Reply Last reply Reply Quote 0
          • iTap DevelopmentI Offline
            iTap Development @Kamdroid
            last edited by iTap Development

            @Kamdroid a workaround is to have an array saved to file with all of the other save to file’s in it. Then a loop could go through and delete them all.

            KamdroidK 1 Reply Last reply Reply Quote 0
            • KamdroidK Offline
              Kamdroid @iTap Development
              last edited by

              @iTap-Development I know, but I really don’t want to do this, as implementing getting all files as array should be something easy.

              iTap DevelopmentI 1 Reply Last reply Reply Quote 0
              • iTap DevelopmentI Offline
                iTap Development @Kamdroid
                last edited by iTap Development

                @Kamdroid yeah they should add it!

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post