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. Bug Reports
  3. Move Screen "behaviour" with Duration Rarely Works.

Move Screen "behaviour" with Duration Rarely Works.

Scheduled Pinned Locked Moved Bug Reports
13 Posts 5 Posters 1.9k 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.
  • T Thecheater887

    It seems that the scene starts running while still initializing, if that’s what you’re referencing, and this gucks up a LOT of logic.

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

    @Thecheater887 That's a different problem. I've been dealing with that, too. THANK YOU FOR CONFIRMING IT!!!

    I had, to this point, no other confirmation that there was a problem there, other than my own experiences.

    This problem, detailed in the above post, is well after scene start. And continuous, throughout the lifetime of the game.

    1 Reply Last reply
    1
    • T Thecheater887

      It seems that the scene starts running while still initializing, if that’s what you’re referencing, and this gucks up a LOT of logic.

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

      @Thecheater887 I see where the problem is. My use of "first action" in the post seems to indicate it's the first thing happening in the scene. I didn't mean it like that.

      It's nowhere near the first thing happening. This is a camera shake on a certain set of impacts.

      And the first action of a camera shake (let's say down) doesn't complete if it's got any duration... well, it does SOMETIMES, very rarely.

      So put that to Zero seconds. Quick shake.

      Now put that recovery action in, with any duration, to move the camera back to its original position, and this action, with any duration, never occurs.

      So both have to have zero second durations to have any chance of success. And a little timer in between them (of two frames) so the player gets some sense that something happened.

      iTap DevelopmentI 1 Reply Last reply
      0
      • D Deeeds

        @Thecheater887 I see where the problem is. My use of "first action" in the post seems to indicate it's the first thing happening in the scene. I didn't mean it like that.

        It's nowhere near the first thing happening. This is a camera shake on a certain set of impacts.

        And the first action of a camera shake (let's say down) doesn't complete if it's got any duration... well, it does SOMETIMES, very rarely.

        So put that to Zero seconds. Quick shake.

        Now put that recovery action in, with any duration, to move the camera back to its original position, and this action, with any duration, never occurs.

        So both have to have zero second durations to have any chance of success. And a little timer in between them (of two frames) so the player gets some sense that something happened.

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

        @Deeeds I’ve just tried over and over what you described and it works every time🤷‍♂️

        T 1 Reply Last reply
        1
        • iTap DevelopmentI iTap Development

          @Deeeds I’ve just tried over and over what you described and it works every time🤷‍♂️

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

          @iTap-Development I can’t even get stopped colliding to work consistently.

          Glad you have better luck than me :)

          Michael KhalfinG 1 Reply Last reply
          1
          • MurtazaM Offline
            MurtazaM Offline
            Murtaza
            Admin
            wrote on last edited by
            #7

            Can you post a screenshot of the behaviour set up?

            I can't reproduce this with just adding move screen with a duration of 0.5

            Thanks.

            D 1 Reply Last reply
            0
            • T Thecheater887

              @iTap-Development I can’t even get stopped colliding to work consistently.

              Glad you have better luck than me :)

              Michael KhalfinG Offline
              Michael KhalfinG Offline
              Michael Khalfin
              wrote on last edited by
              #8

              @Thecheater887 It finally came time to use to "stop colliding" in my project, and it worked.

              1 Reply Last reply
              0
              • MurtazaM Murtaza

                Can you post a screenshot of the behaviour set up?

                I can't reproduce this with just adding move screen with a duration of 0.5

                Thanks.

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

                @Murtaza

                The bottom Move Screen is the one that's only working some of the time. Less than 50% of the time:

                0_1516792411885_Image-1.jpg

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

                  Are you sure your other behaviours are correct? From what I can see there are a lot of other "variables" with the math of the other behaviours.

                  Move with duration works 100% of the time in my tests. But it does not rely on the the other behaviours being correct. I feel there is a logic error here rather than a bug with move.

                  D 2 Replies Last reply
                  0
                  • MurtazaM Murtaza

                    Are you sure your other behaviours are correct? From what I can see there are a lot of other "variables" with the math of the other behaviours.

                    Move with duration works 100% of the time in my tests. But it does not rely on the the other behaviours being correct. I feel there is a logic error here rather than a bug with move.

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

                    @Murtaza It's incredibly simple maths.

                    I've checked it with text outputs.

                    The problem is either the wait timer having the same/similar bug to Set Color With Duration, or it's something to do with Move Screen by.

                    Everything else is, really, really simple. Hence the careful writing of Behaviour names so you can see just how simple it is.

                    1 Reply Last reply
                    0
                    • MurtazaM Murtaza

                      Are you sure your other behaviours are correct? From what I can see there are a lot of other "variables" with the math of the other behaviours.

                      Move with duration works 100% of the time in my tests. But it does not rely on the the other behaviours being correct. I feel there is a logic error here rather than a bug with move.

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

                      @Murtaza said in Move Screen "behaviour" with Duration Rarely Works.:

                      Move with duration works 100% of the time in my tests. But it does not rely on the the other behaviours being correct. I feel there is a logic error here rather than a bug with move.

                      Look at the Get New Screen Position and Subtract Current Screen Position: they are explicitly designed this way to prevent in deviances that could occur in the 0.03333 wait time from messing up the correction, which is the subsequent move back to 12, the midpoint of the screen in hyperPad units.

                      It's THAT simple.

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

                        I don't think there is a bug here, at least not with move screen. It looks like something
                        could be interrupting your wait. Or for some reason it doesn't reach the move Screen.

                        As a test. What happens if instead of move screen you put an add to score behaviour. If the "score" is more than one. Then that means something is triggering your behaviour multiple times and interrupting the potential screen movement.

                        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