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

    Else If behaviour child behaviours don’t follow when moved

    Scheduled Pinned Locked Moved
    Bug Reports
    5
    10
    295
    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

      When moving a behaviour which contains an else if statement, everything under the else if statement doesn’t move with the rest of behaviours as expected

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

        @Kamdroid Yes, seen this...

        And those funky lines. I want curves. Sexy, sexy curves. Like this:

        0_1511344884673_Antares.jpg

        Aidan_FireA 1 Reply Last reply Reply Quote 0
        • Aidan_FireA
          Aidan_Fire @Deeeds
          last edited by Aidan_Fire

          @Deeeds Did you know that GamePress used to have curves, not corners? 😛 I really don’t like Else Ifs, I never ever use them because they are unnecessary and they cause some problems like @Kamdroid said.

          D 2 Replies Last reply Reply Quote 0
          • D
            Deeeds @Aidan_Fire
            last edited by Deeeds

            @Aidan-Oxley How do you avoid elses ?

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

              @Aidan-Oxley said in Else If behaviour child behaviours don’t follow when moved:

              Did you know that GamePress used to have curves, not corners?

              why did they leave?

              iTap DevelopmentI Aidan_FireA 2 Replies Last reply Reply Quote 0
              • iTap DevelopmentI
                iTap Development @Deeeds
                last edited by iTap Development

                @Deeeds said in Else If behaviour child behaviours don’t follow when moved:

                why did they leave?

                Because the devs removed them!

                @Aidan-Oxley i couldn’t live without else ifs.

                1 Reply Last reply Reply Quote 0
                • Aidan_FireA
                  Aidan_Fire @Deeeds
                  last edited by

                  @Deeeds I just use more Ifs, if x = a and if x ≠ a etc. Don’t ask me why the curvy lines left, I guess they decided to change their style or something.

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

                    @Aidan-Oxley It's an odd choice. These square lines are both ugly and hard to "read" when they overlap and interact.

                    1 Reply Last reply Reply Quote 0
                    • MurtazaM
                      Murtaza Admin
                      last edited by

                      The if/Else is visually broken. We thought we were so cool when we came up with that design concept. Boy did we immediately regret that.

                      We'll be changing if/else so they are a single behaviour with 2 sets of outputs.
                      Left side is the IF, right side is the else.

                      As for curved lines, when we rewrote hyperPad, the lines were removed for performance reasons. The way the lines are being done are actual a performance hit. The beahviour screen is actually a cocos2D scene. We noticed users were getting more and more complex with their behaviours so we ultimately removed the curved lines. I'd like to see them back one day. I do love some bezier curves.

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

                        @Murtaza said in Else If behaviour child behaviours don’t follow when moved:

                        We'll be changing if/else so they are a single behaviour with 2 sets of outputs.
                        Left side is the IF, right side is the else.

                        May I be so bold as to make a suggestion?

                        Oh. You can't wait?

                        Here it be:

                        Bottom Out is If = true, right side is Else.

                        Keep the left side of Behaviour nodes reserved for inputs (eventually), and the flow going down and to the right.

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