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. Camera manipulation using touch

Camera manipulation using touch

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

    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
    1
    • StanicaS Stanica

      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 Offline
      Aidan_FireA Offline
      Aidan_Fire
      wrote on last edited by
      #2

      @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
      1
      • StanicaS Offline
        StanicaS Offline
        Stanica
        wrote on last edited by
        #3

        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
        0
        • StanicaS Offline
          StanicaS Offline
          Stanica
          wrote on last edited by
          #4

          Woot got panning working. Now for pinch to zoom.

          MelideM 1 Reply Last reply
          0
          • StanicaS Stanica

            Woot got panning working. Now for pinch to zoom.

            MelideM Offline
            MelideM Offline
            Melide
            wrote on last edited by
            #5

            @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
            0
            • MelideM Melide

              @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 Offline
              StanicaS Offline
              Stanica
              wrote on last edited by
              #6

              @XxWhiteHearrxX Thanks for the tips

              1 Reply Last reply
              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
              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