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

    Camera manipulation using touch

    Scheduled Pinned Locked Moved Help and Support
    6 Posts 3 Posters 1.1k Views 1 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.
    • StanicaS Offline
      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 Offline
        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 Offline
          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 Offline
            Stanica
            last edited by

            Woot got panning working. Now for pinch to zoom.

            MelideM 1 Reply Last reply Reply Quote 0
            • MelideM Offline
              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 Offline
                Stanica @Melide
                last edited by

                @XxWhiteHearrxX Thanks for the tips

                1 Reply Last reply Reply Quote 1

                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