Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Help and Support
  3. Does save to file overwrite?

Does save to file overwrite?

Scheduled Pinned Locked Moved Help and Support
4 Posts 2 Posters 518 Views 1 Watching
  • 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.
  • iTap DevelopmentI Offline
    iTap DevelopmentI Offline
    iTap Development
    wrote on last edited by iTap Development
    #1

    If I save an array in a save to file behavior, and then append something to the array and save it again, is it saving and overwriting the whole array, or is it just adding the new index to storage?
    I’m assuming it just overwrites.

    1 Reply Last reply
    0
    • iTap DevelopmentI Offline
      iTap DevelopmentI Offline
      iTap Development
      wrote on last edited by
      #2

      The reason I ask is, I want an array of level data to be saved as the user adds to it(a level builder).
      I’m not sure if this will be a problem if the array gets huge, since it will be saving all the time, and I don’t want performance problems.

      D 1 Reply Last reply
      0
      • iTap DevelopmentI iTap Development

        The reason I ask is, I want an array of level data to be saved as the user adds to it(a level builder).
        I’m not sure if this will be a problem if the array gets huge, since it will be saving all the time, and I don’t want performance problems.

        D Offline
        D Offline
        Deeeds
        wrote on last edited by
        #3

        @iTap-Development Arrays in hyperPad can only store strings and numbers, so far as I can tell. So you could have an array with a million cells of numbers and it would save so fast you'd hardly notice it in a level editor save operation.

        iTap DevelopmentI 1 Reply Last reply
        0
        • D Deeeds

          @iTap-Development Arrays in hyperPad can only store strings and numbers, so far as I can tell. So you could have an array with a million cells of numbers and it would save so fast you'd hardly notice it in a level editor save operation.

          iTap DevelopmentI Offline
          iTap DevelopmentI Offline
          iTap Development
          wrote on last edited by
          #4

          @Deeeds ok👍

          1 Reply Last reply
          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Search