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. Other than Patrol, how to make repeating series of actions

Other than Patrol, how to make repeating series of actions

Scheduled Pinned Locked Moved Help and Support
62 Posts 5 Posters 33.1k 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.
  • D Offline
    D Offline
    Deeeds
    wrote on last edited by Deeeds
    #1

    To repeat a series of activities, over and over, endlessly, how do you set that up in hyperPad?

    Imagine:

    Move, Rotate, Scale

    MoveBack, RotateBack, ScaleBack

    Forever.

    How is that done?


    I'm asking because the Repeat Loop doesn't work as I'd expect.

    I have it set to 10x, and a series of behaviours in a branch underneath. It goes through and does them all once, but never repeats them.

    1 Reply Last reply
    0
    • MurtazaM Offline
      MurtazaM Offline
      Murtaza
      Admin
      wrote on last edited by
      #2

      The loop will do entire behaviour tree each time it iterates the loop. It's how loops work.

      What you need to do is have some more logic to make each iteration of the loop do something else.

      I'm not sure exactly what you're trying to do, but try using the Execute Sequence behaviour (under Logic tab). This behaviour will trigger the next behaviour each time it is executed.

      So if you have a loop, then this, then behaviour A, B, C. It should first to A, then on the next loop to B, then C on the 3rd loop.

      D 3 Replies Last reply
      0
      • MurtazaM Murtaza

        The loop will do entire behaviour tree each time it iterates the loop. It's how loops work.

        What you need to do is have some more logic to make each iteration of the loop do something else.

        I'm not sure exactly what you're trying to do, but try using the Execute Sequence behaviour (under Logic tab). This behaviour will trigger the next behaviour each time it is executed.

        So if you have a loop, then this, then behaviour A, B, C. It should first to A, then on the next loop to B, then C on the 3rd loop.

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

        @Murtaza Just as I've described. I'm trying to setup something that runs through all the different types of tweening.

        1 Reply Last reply
        0
        • MurtazaM Murtaza

          The loop will do entire behaviour tree each time it iterates the loop. It's how loops work.

          What you need to do is have some more logic to make each iteration of the loop do something else.

          I'm not sure exactly what you're trying to do, but try using the Execute Sequence behaviour (under Logic tab). This behaviour will trigger the next behaviour each time it is executed.

          So if you have a loop, then this, then behaviour A, B, C. It should first to A, then on the next loop to B, then C on the 3rd loop.

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

          @Murtaza said in Other than Patrol, how to make repeating series of actions:

          but try using the Execute Sequence behaviour (under Logic tab). This behaviour will trigger the next behaviour each time it is executed.
          So if you have a loop, then this, then behaviour A, B, C. It should first to A, then on the next loop to B, then C on the 3rd loop.

          This is less clear. What are you describing?

          Why is there a need to execute a sequence, and what is a sequence in the parlance of hyperPad?

          D 1 Reply Last reply
          0
          • D Deeeds

            @Murtaza said in Other than Patrol, how to make repeating series of actions:

            but try using the Execute Sequence behaviour (under Logic tab). This behaviour will trigger the next behaviour each time it is executed.
            So if you have a loop, then this, then behaviour A, B, C. It should first to A, then on the next loop to B, then C on the 3rd loop.

            This is less clear. What are you describing?

            Why is there a need to execute a sequence, and what is a sequence in the parlance of hyperPad?

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

            @Murtaza

            This is what I'm trying to loop:

            0_1509995647436_loopHow.gif

            Aidan_FireA 1 Reply Last reply
            0
            • D Deeeds

              @Murtaza

              This is what I'm trying to loop:

              0_1509995647436_loopHow.gif

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

              @Deeeds Have you seen the “Execute Behaviour” behaviour? An easy way could be at the end of that entire move cycle, use Execute Behaviour to reactivate the whole sequence. Another more messy way would be to simply drag a connection from the bottom to the top of your behaviour sequence, but I’d recommend the Execute Behaviour.

              D 1 Reply Last reply
              0
              • Aidan_FireA Offline
                Aidan_FireA Offline
                Aidan_Fire
                wrote on last edited by
                #7

                Loops probably don’t work how you think, a loop does not have a time, it simply repeats the set of behaviours directly underneath it as fast as possible however many times you set it. This also means your whole project will freeze until they are done, and anything with a duration will be given no time at all to complete.

                1 Reply Last reply
                0
                • Aidan_FireA Aidan_Fire

                  @Deeeds Have you seen the “Execute Behaviour” behaviour? An easy way could be at the end of that entire move cycle, use Execute Behaviour to reactivate the whole sequence. Another more messy way would be to simply drag a connection from the bottom to the top of your behaviour sequence, but I’d recommend the Execute Behaviour.

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

                  @Aidan-Oxley I found the bugs I was looking for...

                  0_1509997715621_buggyCurves.gif

                  Aidan_FireA 1 Reply Last reply
                  0
                  • D Deeeds

                    @Aidan-Oxley I found the bugs I was looking for...

                    0_1509997715621_buggyCurves.gif

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

                    @Deeeds Not sure what you mean. How do you record your screen like that and make it display on forums? I’m guessing it’s a GIF, I have no idea how to make them. I only know how to use the iOS 11 screen recorder but it records videos and last time I tried to upload a video hyperPad wouldn’t let me.

                    D 1 Reply Last reply
                    0
                    • Aidan_FireA Aidan_Fire

                      @Deeeds Not sure what you mean. How do you record your screen like that and make it display on forums? I’m guessing it’s a GIF, I have no idea how to make them. I only know how to use the iOS 11 screen recorder but it records videos and last time I tried to upload a video hyperPad wouldn’t let me.

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

                      @Aidan-Oxley Yes, gif. Made in Photoshop from the video that was made with the quicktime recording technique. Then scaled and aggressively compressed to make the forum happy. Has a 1MB limit that's super annoying.

                      Should be able to upload an inline small to medium quicktime files. They're using Amazon for image hosting. I think it's just a switch to permit quicktime movies.

                      D 1 Reply Last reply
                      0
                      • D Deeeds

                        @Aidan-Oxley Yes, gif. Made in Photoshop from the video that was made with the quicktime recording technique. Then scaled and aggressively compressed to make the forum happy. Has a 1MB limit that's super annoying.

                        Should be able to upload an inline small to medium quicktime files. They're using Amazon for image hosting. I think it's just a switch to permit quicktime movies.

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

                        @Aidan-Oxley

                        Here's that project, with the funky way I solved looping.

                        Is there really no simple way to loop over a set of commands a specified or infinite amount without resorting to trickery?

                        http://bit.ly/2zBY5fl

                        I don't know where this is stored, or how hyperPad's online storage works. Can you explain it or link to their practices?

                        I read the terms of service real quick, didn't see anything in there about their storage.

                        Aidan_FireA 2 Replies Last reply
                        0
                        • D Deeeds

                          @Aidan-Oxley

                          Here's that project, with the funky way I solved looping.

                          Is there really no simple way to loop over a set of commands a specified or infinite amount without resorting to trickery?

                          http://bit.ly/2zBY5fl

                          I don't know where this is stored, or how hyperPad's online storage works. Can you explain it or link to their practices?

                          I read the terms of service real quick, didn't see anything in there about their storage.

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

                          @Deeeds I’m not exactly sure how it works, but I’ve been using it for ages. All I know is that if I open the link in safari, I get your project directly, and that after 7 days it will delete itself.

                          1 Reply Last reply
                          0
                          • D Deeeds

                            @Aidan-Oxley

                            Here's that project, with the funky way I solved looping.

                            Is there really no simple way to loop over a set of commands a specified or infinite amount without resorting to trickery?

                            http://bit.ly/2zBY5fl

                            I don't know where this is stored, or how hyperPad's online storage works. Can you explain it or link to their practices?

                            I read the terms of service real quick, didn't see anything in there about their storage.

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

                            @Deeeds I couldn’t find any repeating loops in that project, but it looks more like a game you were making or something, looks interesting. Did you send the wrong project link? Or is it somewhere in there and I can’t find it?

                            D 1 Reply Last reply
                            0
                            • Aidan_FireA Aidan_Fire

                              @Deeeds I couldn’t find any repeating loops in that project, but it looks more like a game you were making or something, looks interesting. Did you send the wrong project link? Or is it somewhere in there and I can’t find it?

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

                              @Aidan-Oxley I have no idea what I sent, nor do I know of a way to check it once it's online...

                              Aidan_FireA 1 Reply Last reply
                              0
                              • D Deeeds

                                @Aidan-Oxley I have no idea what I sent, nor do I know of a way to check it once it's online...

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

                                @Deeeds Copy your own link and paste into safari. It’s the project with circle thingies with green bars in them, when I tap they jump and spin. When I spam tap they go absolutely crazy.

                                D 1 Reply Last reply
                                0
                                • Aidan_FireA Aidan_Fire

                                  @Deeeds Copy your own link and paste into safari. It’s the project with circle thingies with green bars in them, when I tap they jump and spin. When I spam tap they go absolutely crazy.

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

                                  @Aidan-Oxley Argh, yes. The gravity changing infinite room.

                                  Sorry.

                                  That's not what I meant to send at all.

                                  I communicate on Mac, not iPad. The idea of trying to navigate anywhere on an iPad fills me with dread.

                                  D 1 Reply Last reply
                                  0
                                  • D Deeeds

                                    @Aidan-Oxley Argh, yes. The gravity changing infinite room.

                                    Sorry.

                                    That's not what I meant to send at all.

                                    I communicate on Mac, not iPad. The idea of trying to navigate anywhere on an iPad fills me with dread.

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

                                    @Aidan-Oxley

                                    This is the ease curves.

                                    http://bit.ly/2zB3rYd

                                    Aidan_FireA 1 Reply Last reply
                                    0
                                    • D Deeeds

                                      @Aidan-Oxley

                                      This is the ease curves.

                                      http://bit.ly/2zB3rYd

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

                                      @Deeeds The way you have it looping is fine, if you want the loop to stop eventually you’d just have a behaviour off to turn the timer off. I added a random red square to show you what I meant with execute behaviour. Also, just a hint for making behaviours neater, try double tapping a parent behaviour, I seem to be the only person I know that actually uses this lol, everyone else’s projects I see have behaviours sitting under parents kinda randomly. http://bit.ly/2ybv1Hf

                                      1 Reply Last reply
                                      0
                                      • MurtazaM Offline
                                        MurtazaM Offline
                                        Murtaza
                                        Admin
                                        wrote on last edited by
                                        #19

                                        Ohhh, I think I see what you want to do.

                                        Ok. There are a couple of ways to do this. Lets say you want to move something back and forth forever.

                                        Method one:

                                        Add behaviour bundel
                                        Connect Move behaviour to bottom of behaviour bundle
                                        Connect your second move to the bottom of move1.
                                        Then connect bottom of move 2, to the top of move 1.

                                        This will make it loop.

                                        Method to:

                                        Move 1 ---> Move 2 --> Behaviour On (Move 1).

                                        Aidan_FireA 1 Reply Last reply
                                        0
                                        • MurtazaM Murtaza

                                          Ohhh, I think I see what you want to do.

                                          Ok. There are a couple of ways to do this. Lets say you want to move something back and forth forever.

                                          Method one:

                                          Add behaviour bundel
                                          Connect Move behaviour to bottom of behaviour bundle
                                          Connect your second move to the bottom of move1.
                                          Then connect bottom of move 2, to the top of move 1.

                                          This will make it loop.

                                          Method to:

                                          Move 1 ---> Move 2 --> Behaviour On (Move 1).

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

                                          @Murtaza Or use the new behaviour Execute Behaviour rather than Behaviour On.

                                          D 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