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
    3
    6
    166
    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
      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
        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
          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
            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
              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
                iTap Development @Kamdroid
                last edited by iTap Development

                @Kamdroid yeah they should add it!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post