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

    Camera manipulation using touch

    Scheduled Pinned Locked Moved
    Help and Support
    3
    6
    266
    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.
    • StanicaS
      Stanica
      last edited by

      How would I implement camera panning behavior using touch? Something like dragging your finger on a background to pan the scene. Can I tag every object with the same tag and move them all at the same time? Would also like to have the ability to pinch to zoom. Any ideas?

      Aidan_FireA 1 Reply Last reply Reply Quote 1
      • Aidan_FireA
        Aidan_Fire @Stanica
        last edited by

        @Stanica You can use Move Screen and Zoom Screen. I tried to make a quick example but it's actually kinda hard in hyperPad, I got panning to work fine but zooming makes it a bit complicated.

        1 Reply Last reply Reply Quote 1
        • StanicaS
          Stanica
          last edited by

          How did you set up panning? I tried having an object the size of my screen and listening for touches on it but I think I got the logic wrong

          1 Reply Last reply Reply Quote 0
          • StanicaS
            Stanica
            last edited by

            Woot got panning working. Now for pinch to zoom.

            MelideM 1 Reply Last reply Reply Quote 0
            • MelideM
              Melide @Stanica
              last edited by

              @Stanica pinch to zoom is really hard to make since we cannot have how many fingers are touching the object. If you try it, I think it will be really glitchy. I recommend making a pannel with zoom in and zoom out icons, and while clicking it it zoom by the amount you want. Are maybe a sort of scrolling icon to zoom in and out ? You can make those with a life bar object.

              StanicaS 1 Reply Last reply Reply Quote 0
              • StanicaS
                Stanica @Melide
                last edited by

                @XxWhiteHearrxX Thanks for the tips

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