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. Overlays

Overlays

Scheduled Pinned Locked Moved Unsolved Help and Support
13 Posts 4 Posters 2.6k 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.
  • Aidan_FireA Aidan_Fire

    When you load an overlay, does it always pause the scene? I tried it by loading the default pause overlay, and the behaviour connected under it activated (it was just set colour of a random object to red), but I couldn't see it until I closed the overlay (because closing the overlay I paused the scene).

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

    @Aidan-Oxley yeah I made a test project, and it works fine....I guess I'll have to retry in my project.

    1 Reply Last reply
    0
    • iTap DevelopmentI Offline
      iTap DevelopmentI Offline
      iTap Development
      wrote on last edited by iTap Development
      #4

      @Murtaza it seems like what is going on is, I have load an overlay with pause on, and when I close it my "execute behavior" behavior (connected after the load overlay) isn't triggering the selected behavior until I load the the overlay again, and then even though pause is on, it still runs the behavior. I have a set color connected under the "execute behavior" and it runs when the overlay closes as it should.(the first time)

      1 Reply Last reply
      0
      • iTap DevelopmentI Offline
        iTap DevelopmentI Offline
        iTap Development
        wrote on last edited by
        #5

        @Murtaza did you get my email with the project?

        MurtazaM 1 Reply Last reply
        0
        • iTap DevelopmentI iTap Development

          @Murtaza did you get my email with the project?

          MurtazaM Offline
          MurtazaM Offline
          Murtaza
          Admin
          wrote on last edited by
          #6

          @iTap-Development Which email did you send it to? I don't see anything in the contact@hyperpad.com account.
          @hamed may have already checked it out?

          iTap DevelopmentI 2 Replies Last reply
          0
          • MurtazaM Murtaza

            @iTap-Development Which email did you send it to? I don't see anything in the contact@hyperpad.com account.
            @hamed may have already checked it out?

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

            @Murtaza i sent it to that email.

            1 Reply Last reply
            0
            • MurtazaM Murtaza

              @iTap-Development Which email did you send it to? I don't see anything in the contact@hyperpad.com account.
              @hamed may have already checked it out?

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

              @Murtaza just checked and found it hadn't sent.... I resent it!

              1 Reply Last reply
              0
              • HamedH Offline
                HamedH Offline
                Hamed
                Admin
                wrote on last edited by
                #9

                @iTap-Development the way it is working for me is the following:

                • I press the locations button
                • I click cupertino
                • overlay closes and the title turns red.

                According to the logic, that is what is supposed to happen. What are you expecting to happen?

                iTap DevelopmentI 2 Replies Last reply
                0
                • HamedH Hamed

                  @iTap-Development the way it is working for me is the following:

                  • I press the locations button
                  • I click cupertino
                  • overlay closes and the title turns red.

                  According to the logic, that is what is supposed to happen. What are you expecting to happen?

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

                  @Hamed sorry I should've explained...I had the title turn red to see if the behaviors after the load overlay were executing. The problem is that the color changes but the behaviors that the "execute behavior" is supposed to execute aren't being executed.(the behaviors are jut to the right). What should be happening is when you tap a location the icon should change to that locations current icon. Instead it seems to change only when i open the overlay again.

                  1 Reply Last reply
                  0
                  • HamedH Hamed

                    @iTap-Development the way it is working for me is the following:

                    • I press the locations button
                    • I click cupertino
                    • overlay closes and the title turns red.

                    According to the logic, that is what is supposed to happen. What are you expecting to happen?

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

                    @Hamed I just tested it some more, and I found that if the set color duration was 0 the icon wouldn't change, but if the duration was the default 1 second it would. EDIT: I tested it with just a restart scene behavior instead of the execute behavior, and nothing changed....so I don't think it's my behaviors wrong, but idk 😐
                    EDIT 2: I just replaced the set color with a wait behavior, and tried to see how short a time I could wait, and it works as short as 0.001 seconds. Anything shorter doesn't work consistently.

                    1 Reply Last reply
                    0
                    • HamedH Offline
                      HamedH Offline
                      Hamed
                      Admin
                      wrote on last edited by
                      #12

                      Okay, I see whats happening.

                      So you're putting logic on Load Overlay and there is a fraction of a second where the overlay hasn't loaded yet and is still running behaviours.

                      The reason for this is because there is an option to not pause the background when an overlay is open.

                      The easiest way to get around this reliably is to use a wait behaviour after load overlay.

                      The safest way to get around this is to use something like broadcast message to broadcast something to the global ui when you close the overlay, and manually trigger the behaviour with Behaviour On.

                      iTap DevelopmentI 1 Reply Last reply
                      0
                      • HamedH Hamed

                        Okay, I see whats happening.

                        So you're putting logic on Load Overlay and there is a fraction of a second where the overlay hasn't loaded yet and is still running behaviours.

                        The reason for this is because there is an option to not pause the background when an overlay is open.

                        The easiest way to get around this reliably is to use a wait behaviour after load overlay.

                        The safest way to get around this is to use something like broadcast message to broadcast something to the global ui when you close the overlay, and manually trigger the behaviour with Behaviour On.

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

                        @Hamed ok thanks! Maybe you could add an option to stop running behaviors if it has pause on?

                        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