hyperPad hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Do behaviours before rendering/showing screen to user

    Scheduled Pinned Locked Moved
    Comments & Feedback
    4
    7
    233
    Loading More Posts
    • 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.
    • KamdroidK
      Kamdroid
      last edited by Kamdroid

      I always have to do stuff like transparent objects, initial position, and other attribute in the designer.

      I’d much rather not, but doing this through behaviours isn’t good enough, because there’s about a 0.4 sec time before it happens, creating a “flash” effect, which totally ruins the experience.

      It’s be much better if we could run these initial behaviours before displaying the screen, so it doesn’t flash or ruin the experience, just as if you’d do it directly in the editor.

      If this cannot be achieved, maybe have a workaround where you have certain attributes not show in the editor, but are actually the initial attributes of the object.
      e.g. when in editor, the object has #ffffff color, but in reality it is actually #ffff00, and only #ffffff is shown when in editor mode, not when running the actual game.

      D 1 Reply Last reply Reply Quote 0
      • D
        Deeeds @Kamdroid
        last edited by

        @Kamdroid This is why I was trying to do some weird stuff with the camera in another question, to hide my massive setup mess.

        The other workaround I've found: put a full screen image up, on the top most layer (global UI) and pull it down when you think the preparation is done. This can be as simple as an all black box stretched to fill the screen, or a loading image etc...

        1 Reply Last reply Reply Quote 0
        • T
          Thecheater887
          last edited by Thecheater887

          You could just do what most games do.

          Have the initial setup happen while you show a few game logos, then travel to the scene, area, or screen.

          Or even do it on the scene UI.

          KamdroidK 1 Reply Last reply Reply Quote 0
          • KamdroidK
            Kamdroid @Thecheater887
            last edited by

            @Thecheater887 but every time I need to take everything aside so I can actually access my game objects. I much rather show logos in a seperate scene specifically for it.

            iTap DevelopmentI 1 Reply Last reply Reply Quote 0
            • iTap DevelopmentI
              iTap Development @Kamdroid
              last edited by

              @Kamdroid would having a separate scene with logos, that preloads the game scene and then opens the scene work?

              KamdroidK 1 Reply Last reply Reply Quote 0
              • KamdroidK
                Kamdroid @iTap Development
                last edited by

                @iTap-Development probably. But it requires a developer subscription.

                iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                • iTap DevelopmentI
                  iTap Development @Kamdroid
                  last edited by

                  @Kamdroid oh yeah🤔

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post