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. Else if is broken

Else if is broken

Scheduled Pinned Locked Moved Bug Reports
56 Posts 4 Posters 23.3k Views 2 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 Offline
    Aidan_FireA Offline
    Aidan_Fire
    wrote on last edited by
    #35

    Just tried this:
    0_1513257788809_61544695-5D7D-4B4D-808E-C7B5D4BE4B37.jpeg
    HyperPad froze for a second to do the Loop. The label turned out to be 2, so it did wait for the first (left) branch to finish before moving to the next (right).

    D 1 Reply Last reply
    0
    • Aidan_FireA Aidan_Fire

      Just tried this:
      0_1513257788809_61544695-5D7D-4B4D-808E-C7B5D4BE4B37.jpeg
      HyperPad froze for a second to do the Loop. The label turned out to be 2, so it did wait for the first (left) branch to finish before moving to the next (right).

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

      @Aidan-Oxley

      You're officially qualified as a programmer.

      Finding the cheapest, quickest, easiest, narrowest way to prove a hypothesis; that's exactly what programmers do. Every.single.time...

      Drop the loop into a node one lower. Call a (for example) behaviour bundle first, that then calls the loop.

      If that works as you expected, then drop the behaviour bundle's calling into a conditional (if) that chooses to call the bundle based on external criteria.

      If that's still performing as you expect, then nest that inside something else, that does something else.

      Keep going until your find something that breaks your expected result and hypothesis.

      Then make a new hypothesis, and begin thoroughly testing that. And consider yourself to have graduated from programmer to coder.

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

        @Deeeds I agree that elseif is super useful....but @Aidan-Oxley is right, if you really have to, you can get by without them in many situations.
        Not ideal, but works.

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

          @Deeeds I’ve had else’s stop working too....I think it happened when I duplicated and rearranged ifs and elseifs a lot of times.
          But I’m looking froward to their updated else’s!

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

            Behaviours are depth first. ie, it will finish the chain (unless it hits a duration behaviour) then go on to its sibling to the right. @Deeeds can you please stop arguing for the sake of arguing? Thanks.

            D 2 Replies Last reply
            0
            • HamedH Hamed

              Behaviours are depth first. ie, it will finish the chain (unless it hits a duration behaviour) then go on to its sibling to the right. @Deeeds can you please stop arguing for the sake of arguing? Thanks.

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

              @Hamed Where is this in the docs?

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

                Its not in there. Should be but we overlooked it sorry.

                1 Reply Last reply
                0
                • HamedH Hamed

                  Behaviours are depth first. ie, it will finish the chain (unless it hits a duration behaviour) then go on to its sibling to the right. @Deeeds can you please stop arguing for the sake of arguing? Thanks.

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

                  @Hamed It is not for the sake of arguing.

                  it is to ascertain something as fact because I don't want to waste more time guessing what's not documented, and navigating around bugs and other things that are unknown and speculations.

                  Just like you, my time has a value.

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

                    Well until our documentation catches up to usable standards, the guys and girls on this forum know what they're talking about. I trust them, you should too. If something is blatantly wrong, I'll jump in and correct it.

                    D 1 Reply Last reply
                    0
                    • HamedH Hamed

                      Well until our documentation catches up to usable standards, the guys and girls on this forum know what they're talking about. I trust them, you should too. If something is blatantly wrong, I'll jump in and correct it.

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

                      @Hamed yet I've noticed one person, in particular, making one false claim after another, often for the sake of arguing (with me).

                      I will continue to question any claims to my satisfaction, because I've spent an inordinate amount of time working around bugs and undocumented oddities and unknowns.

                      Don't really know how to add up the time spent discovering the incapacity of the graphics facilities (for example) of hyperPad, and then attempting to work around them, only to find that the next choice doesn't work, either. And so on...

                      You've not even bothered to reply, at all, to those threads. So I presume nothing is being done about the sprite sequence importing, sprite sheet importing, plist importing for sprite sheets, etc etc...

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

                        Focusing on the huge bug list first then will tackle features.

                        D 1 Reply Last reply
                        0
                        • HamedH Hamed

                          Focusing on the huge bug list first then will tackle features.

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

                          @Hamed I'm not asking about new features. I'm asking about sprites... any capacity to get sprites into the engine, at all.

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

                            Sometimes we have to remove features when they're really broken. Scrap it and try again. We will get spritesheet importing working again asap.

                            D 1 Reply Last reply
                            0
                            • HamedH Hamed

                              Sometimes we have to remove features when they're really broken. Scrap it and try again. We will get spritesheet importing working again asap.

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

                              @Hamed As I've said somewhere else before, sprite sequences would be a better stop gap, if they're easier. As I imagine they are... you can do your own packing, however you like, without needing to fiddle with the gazillion ways texture packer might have done something. And you can do a very rudimentary packing, too.

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

                                We have a built in spritesheet maker. If you press and hold an asset, tap on Add Animation, and just import one image at a time. It builds an optimized spritesheet.

                                D 1 Reply Last reply
                                0
                                • HamedH Hamed

                                  We have a built in spritesheet maker. If you press and hold an asset, tap on Add Animation, and just import one image at a time. It builds an optimized spritesheet.

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

                                  @Hamed Why didn't you tell me this when I gave you the link to the dropbox of images and was failing to make that into a sequence?

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

                                    oops sorry. I was waiting for the images and didn't get a notification. I usually mark posts that are pending as unread.

                                    D 1 Reply Last reply
                                    0
                                    • HamedH Hamed

                                      oops sorry. I was waiting for the images and didn't get a notification. I usually mark posts that are pending as unread.

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

                                      @Hamed I replied to you within a couple of minutes: https://forum.hyperpad.com/topic/723/how-to-import-spritesheets-and-their-plist

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

                                        That was my bad. Sorry about that.

                                        D 1 Reply Last reply
                                        0
                                        • HamedH Hamed

                                          That was my bad. Sorry about that.

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

                                          @Hamed Next time you think I haven't replied to something, hassle me. I am, as it must be somewhat obvious, reasonably responsive.

                                          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