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. HOW TO: Move everything in a Scene to the Right by 16 meters?

HOW TO: Move everything in a Scene to the Right by 16 meters?

Scheduled Pinned Locked Moved Help and Support
10 Posts 3 Posters 681 Views 2 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.
  • D Offline
    D Offline
    Deeeds
    wrote on last edited by
    #1

    Just as an example, imagine there's no other way. That this must be done in the Scene Editor (not in code).

    Is it possible to pick up everything and move it to the right 16 meters without dropping or raising Y by some minuscule amount?

    I've tried entering values in the inspector, but that just moves everything to the same point rather than shifting everything.

    Jack de WildeJ 1 Reply Last reply
    0
    • D Deeeds

      Just as an example, imagine there's no other way. That this must be done in the Scene Editor (not in code).

      Is it possible to pick up everything and move it to the right 16 meters without dropping or raising Y by some minuscule amount?

      I've tried entering values in the inspector, but that just moves everything to the same point rather than shifting everything.

      Jack de WildeJ Offline
      Jack de WildeJ Offline
      Jack de Wilde
      wrote on last edited by
      #2

      @Deeeds not within hyperPad I'm pretty sure.

      D 1 Reply Last reply
      0
      • Jack de WildeJ Jack de Wilde

        @Deeeds not within hyperPad I'm pretty sure.

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

        @Jack8680 DOH!

        Jack de WildeJ 1 Reply Last reply
        0
        • D Deeeds

          @Jack8680 DOH!

          Jack de WildeJ Offline
          Jack de WildeJ Offline
          Jack de Wilde
          wrote on last edited by
          #4

          @Deeeds you could try unzip the .tap file of your project and run an sql query on the level.sqlite file located in the level's folder inside the levels folder.

          I think it stores positions as 1/32nd of a meter, so you'd need to add 512.

          I think the table ZOBJECTPOSITION stores the x position under column name ZX, although there seems to be another unused ZX_POS in a different table.

          Here's a query that should work:

          update ZOBJECTPOSITION
              set ZX = ZX + 512;
          

          It seems to work on my existing projects, but I can't be 100% sure it's safe to use; @administrators?

          D 1 Reply Last reply
          1
          • Jack de WildeJ Jack de Wilde

            @Deeeds you could try unzip the .tap file of your project and run an sql query on the level.sqlite file located in the level's folder inside the levels folder.

            I think it stores positions as 1/32nd of a meter, so you'd need to add 512.

            I think the table ZOBJECTPOSITION stores the x position under column name ZX, although there seems to be another unused ZX_POS in a different table.

            Here's a query that should work:

            update ZOBJECTPOSITION
                set ZX = ZX + 512;
            

            It seems to work on my existing projects, but I can't be 100% sure it's safe to use; @administrators?

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

            @Jack8680 STELLAR STUFF!

            How did you find yourself in a situation where you needed to discover this?

            Incredibly insightful. THANK YOU!!!

            Jack de WildeJ 1 Reply Last reply
            0
            • D Deeeds

              @Jack8680 STELLAR STUFF!

              How did you find yourself in a situation where you needed to discover this?

              Incredibly insightful. THANK YOU!!!

              Jack de WildeJ Offline
              Jack de WildeJ Offline
              Jack de Wilde
              wrote on last edited by
              #6

              @Deeeds I was interested in the hyperPad file structure, not sure exactly why anymore. The first time I think I actually used it was to convert an empty object to a graphic object.

              D Aidan_FireA 3 Replies Last reply
              0
              • Jack de WildeJ Jack de Wilde

                @Deeeds I was interested in the hyperPad file structure, not sure exactly why anymore. The first time I think I actually used it was to convert an empty object to a graphic object.

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

                @Jack8680 I know that pain. I have an empty object I used to hold all Lap Time and Scoring "code", and I'm really wishing I'd used a Label for this so I could have it say: "This is LapTime and Scoring Holder" or something else useful so I don't ever accidentally delete it.

                1 Reply Last reply
                0
                • Jack de WildeJ Jack de Wilde

                  @Deeeds I was interested in the hyperPad file structure, not sure exactly why anymore. The first time I think I actually used it was to convert an empty object to a graphic object.

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

                  @Jack8680 Mind you, if there was copy/paste of stuff like Behaviours... and Undo... none of these workarounds and fears would be necessary ;)

                  1 Reply Last reply
                  0
                  • Jack de WildeJ Jack de Wilde

                    @Deeeds I was interested in the hyperPad file structure, not sure exactly why anymore. The first time I think I actually used it was to convert an empty object to a graphic object.

                    Aidan_FireA Offline
                    Aidan_FireA Offline
                    Aidan_Fire
                    wrote on last edited by
                    #9

                    @Jack8680 Weren’t you trying to combine two projects into one in 2 different scenes?

                    Jack de WildeJ 1 Reply Last reply
                    0
                    • Aidan_FireA Aidan_Fire

                      @Jack8680 Weren’t you trying to combine two projects into one in 2 different scenes?

                      Jack de WildeJ Offline
                      Jack de WildeJ Offline
                      Jack de Wilde
                      wrote on last edited by
                      #10

                      @Aidan-Oxley that was it! I might try that again.

                      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