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. Comments & Feedback
  3. Suggest: Screen Drag & Drop

Suggest: Screen Drag & Drop

Scheduled Pinned Locked Moved Comments & Feedback
14 Posts 4 Posters 3.3k Views 3 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.
  • Aidan_FireA Offline
    Aidan_FireA Offline
    Aidan_Fire
    wrote on last edited by
    #2

    You could do this without a screen drag and drop behaviour.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Thecheater887
      wrote on last edited by
      #3

      I have tried and failed. If you can successfully and efficiently do it, feel free to share :)

      1 Reply Last reply
      0
      • T Thecheater887

        Behavior would allow for screen scrolling like they do in Game of War: Fire Age, Clash of Clans, The Sims, etc.

        On a side note, for screen scrolling limits. Is a zero timer with "if above set max" as efficient as a behavior implement?

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

        @Thecheater887 my scrolling example project I made will do this with some little changes.... if you want, I can make another project that would to this. I could have it to you by tomorrow evening at the LATEST. And screen scrolling limits would be super easy and efficient!

        1 Reply Last reply
        0
        • T Offline
          T Offline
          Thecheater887
          wrote on last edited by
          #5

          I don't want to put you out of your way, but if you're willing to, I would much appreciate it!

          iTap DevelopmentI 1 Reply Last reply
          0
          • T Thecheater887

            I don't want to put you out of your way, but if you're willing to, I would much appreciate it!

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

            @Thecheater887 I'll be on a long drive tomorrow so it won't be a problem!

            1 Reply Last reply
            1
            • T Thecheater887

              Behavior would allow for screen scrolling like they do in Game of War: Fire Age, Clash of Clans, The Sims, etc.

              On a side note, for screen scrolling limits. Is a zero timer with "if above set max" as efficient as a behavior implement?

              Jack de WildeJ Offline
              Jack de WildeJ Offline
              Jack de Wilde
              wrote on last edited by Jack8680
              #7

              @Thecheater887 you could use a drag and drop object that scales really large on the scene UI, and move the screen to its position*-1. For example, if you drag the object to the left 2 metres, the screen would move to the right 2 metres.
              EDIT: Just realised that drag and drop somehow moves the centre to where you touch. I don't remember this previously happening, but I guess it does. This won't work exactly like this then.
              EDIT 2:
              Okay, by finding the difference in position between the current while touching and previous tick, I've made an example screen drag and drop. It's on the hub here. It uses the value behaviour after the other behaviours to compare positions to the last tick. Here's a picture of all the behaviours used for screen dragging:
              0_1479597072332_IMG_2502.PNG

              Dragging limits would be doable because it's based on position, so you could do if X<left.X, move to left.X or something similar. You could put these under the while touching so it only test the limits while the screen is moving.

              A screen dragging behaviour would probably be useful though eventually.

              1 Reply Last reply
              1
              • T Offline
                T Offline
                Thecheater887
                wrote on last edited by Thecheater887
                #8

                Thanks! That works, but there's an occasional but handleable framedrop.

                Now, bonus points, how would one achieve two finger pinch to zoom? XD

                UPDATE: I exactly duped it in another project, and, well, it is very shaken to say the least, and hardly works. Is it only for default screen zoom, or relies on a variable I have set improperly?

                Jack de WildeJ iTap DevelopmentI 3 Replies Last reply
                0
                • T Thecheater887

                  Thanks! That works, but there's an occasional but handleable framedrop.

                  Now, bonus points, how would one achieve two finger pinch to zoom? XD

                  UPDATE: I exactly duped it in another project, and, well, it is very shaken to say the least, and hardly works. Is it only for default screen zoom, or relies on a variable I have set improperly?

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

                  @Thecheater887 I'm not sure, perhaps double check the behaviours, or send it to me and I'll look at it.

                  1 Reply Last reply
                  0
                  • T Thecheater887

                    Thanks! That works, but there's an occasional but handleable framedrop.

                    Now, bonus points, how would one achieve two finger pinch to zoom? XD

                    UPDATE: I exactly duped it in another project, and, well, it is very shaken to say the least, and hardly works. Is it only for default screen zoom, or relies on a variable I have set improperly?

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

                    @Thecheater887 I have pinch to zoom mostly figured out. Do you still want me to make my example?

                    1 Reply Last reply
                    0
                    • T Thecheater887

                      Thanks! That works, but there's an occasional but handleable framedrop.

                      Now, bonus points, how would one achieve two finger pinch to zoom? XD

                      UPDATE: I exactly duped it in another project, and, well, it is very shaken to say the least, and hardly works. Is it only for default screen zoom, or relies on a variable I have set improperly?

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

                      @Thecheater887 I have it part way done, but im not going to work on it more yet if you don't need it.

                      T 1 Reply Last reply
                      0
                      • iTap DevelopmentI iTap Development

                        @Thecheater887 I have it part way done, but im not going to work on it more yet if you don't need it.

                        T Offline
                        T Offline
                        Thecheater887
                        wrote on last edited by
                        #12

                        @iTap-Development sorry, I don't get notifications.

                        I can't seme to get his working outside of the sandbox, which I find stupid, but..

                        Yea, if you could continue, that would be great!

                        iTap DevelopmentI 2 Replies Last reply
                        0
                        • T Thecheater887

                          @iTap-Development sorry, I don't get notifications.

                          I can't seme to get his working outside of the sandbox, which I find stupid, but..

                          Yea, if you could continue, that would be great!

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

                          @Thecheater887 ok I'll try to finish today!

                          1 Reply Last reply
                          0
                          • T Thecheater887

                            @iTap-Development sorry, I don't get notifications.

                            I can't seme to get his working outside of the sandbox, which I find stupid, but..

                            Yea, if you could continue, that would be great!

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

                            @Thecheater887 it might take a little longer that i thought, because i'm having an issue with world coordinates. But murtaza is helping with it.

                            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