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

    Teaser: Reference objects in behaviours

    Scheduled Pinned Locked Moved
    WIP and Showcase
    5
    11
    1.3k
    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 @Murtaza
      last edited by Kamdroid

      @murtaza is the object ID is a string, so it can be used in broadcast and receive behaviours?

      Finally, I can make functions for manipulating an object rather than repeating my code a thousand times.


      edit: Perhaps having a "Function" behaviour would also be nice instead of using Broadcast and Recieve as such.

      That way I don't forget the params and order I need to supply.

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

        Yup! It can be passed around with other behaviours.

        And all objects/b are now technically inputfields. So you can enter an Id there (can’t type directly, would need to output from another behaviour).

        Also things like spawn will output an array of ids that you can m sort through an manipulate using the get array and for loop etc.

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

          Functions are definitely on our todo list. We just don’t want to implement a half thought out solution that needs to multiple bandaids (updates) to be good.

          1 Reply Last reply Reply Quote 1
          • RobinsonXR
            RobinsonX
            last edited by

            WOAH! This is going to be a big game changer..

            1 Reply Last reply Reply Quote 1
            • Andrey GhostA
              Andrey Ghost
              last edited by

              I've been waiting for this for years! This dish is gonna open a whole new developing horizon!

              1 Reply Last reply Reply Quote 0
              • Cyber_DeathC
                Cyber_Death
                last edited by

                What!?
                Amazing.
                Can't wait to use this!

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

                  Yea, I've also been waiting for ages to be able to do this.

                  The problem with HyperPad (and probably many visual programming platforms), it isn't dynamic enough.

                  For example, being able to use any variable/output for every input to a behaviour. As well, not having enough power like you have in a regular programming language.

                  It's getting there though, it'll be amazing in the future.

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

                    @murtaza Also, don't forget to let us loop over every object using this reference system.

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

                      @kamdroid
                      Should be able to. Sign up for the beta and you can try out out first hand and give your input on what needs to change or be added. Or tell us if it doesn’t work at all 😂

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

                        I feel I won't have enough devoted time, thanks though

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