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. Send/receive message and overlays

Send/receive message and overlays

Scheduled Pinned Locked Moved Comments & Feedback
4 Posts 2 Posters 1.3k 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.
  • T Offline
    T Offline
    Thecheater887
    wrote on last edited by
    #1

    Do send and receive message work properly between overlays/scenes?

    Pause or unpaused. I need it done as unpause, but if I receive a message from an unpaused overlay into the loaded scene, it does’t seme to function properly.

    KamdroidK 1 Reply Last reply
    0
    • T Thecheater887

      Do send and receive message work properly between overlays/scenes?

      Pause or unpaused. I need it done as unpause, but if I receive a message from an unpaused overlay into the loaded scene, it does’t seme to function properly.

      KamdroidK Offline
      KamdroidK Offline
      Kamdroid
      wrote on last edited by Kamdroid
      #2

      @thecheater887 I don't believe you can broadcast from scene to an overlay. Would be cool though.

      EDIT: Do you want Overlay to trigger something in Scene?

      You can have a global object with a behaviour bundle of actions you want to be executed in your scene, and just use a "behaviour on" in your overlay to run that.

      Note that the global objects don't normally show up in the scene, only when using a behaviour object selection.


      Regarding sending a message from scene to overlay:

      For now, there are 2 options:

      • Global scene object with attributes, if you don't need to permanently store the value (when your project gets closed)

      • File write and read, if you need to permanently store the value after your project gets closed.

      The global object with attributes is probably the fastest, but it does depend on your use case.

      In my opinion, they should allow us to pass in optional parameters to an overlay we open, since message box overlays are very common.

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

        Scene
        Load > Started Touching > Open Overlay (pause: no) > (wait for overlay) > Recieve Message
        Overlay > Started Touching > Broadcast message

        KamdroidK 1 Reply Last reply
        0
        • T Thecheater887

          Scene
          Load > Started Touching > Open Overlay (pause: no) > (wait for overlay) > Recieve Message
          Overlay > Started Touching > Broadcast message

          KamdroidK Offline
          KamdroidK Offline
          Kamdroid
          wrote on last edited by
          #4

          @thecheater887 Put your "recieve message" actions in global UI object with a behaviour bundle and turn it off so it doesn't automatically execute.

          Then in your overlay, simply "behaviour on" the behaviour bundle you put in the global UI object.

          Such as:
          (In Overlay)
          0_1545730493136_B097B0A7-594C-4B06-BD62-926C2D7B253D.png

          (In Scene Global UI Object)
          0_1545730522401_22F14D0E-0737-4966-9225-FDCE8CADABAE.png

          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