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

    Upcoming Socket.IO sneak peek

    Scheduled Pinned Locked Moved
    WIP and Showcase
    7
    28
    3.1k
    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.
    • Jack8680J
      Jack8680 @Hamed
      last edited by Jack8680

      @Hamed I see a get array value behaviour... is this a networking behaviour or an actual behaviour? I'm currently working on implementing A* pathfinding into a project, but if arrays are in the next update and don't need developer, I think I'll wait for that... also, does socket.io mean we can have direct player to player connections where one player hosts a server?

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

        arrays are not a networking feature. they will be available to everyone in the next update :)

        1 Reply Last reply Reply Quote 0
        • HamedH
          Hamed Admin @Jack8680
          last edited by

          @Jack8680

          As well as dictionaries (basically attributes but as a standalone behavior)

          There's also bunch of other cool new behaviors related to arrays. We'll update the roadmap later today with more details.

          Jack8680J 1 Reply Last reply Reply Quote 0
          • Jack8680J
            Jack8680 @Hamed
            last edited by

            @Hamed by networking, do you mean you need a server for it or is it just a category for behaviours?

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

              Both. You need a server, and these are just a category (or subcategory) of networking behaviours.

              These "networking" related behaviours (Socket, and HTTP requests) will connect to any server outside of hyperpad. This means you need a server, and code running on that server to send/receive and compute data.

              We don't handle any of the server side stuff for you at all. That's on your end.

              Jack8680J 1 Reply Last reply Reply Quote 0
              • HamedH
                Hamed Admin
                last edited by

                Updated roadmap: https://trello.com/b/EmwcGN1T/road-map-and-known-bugs

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

                  @Hamed wow I just looked at it...looks awesome!!!!!! When will it be out????!!!!!

                  1 Reply Last reply Reply Quote 0
                  • Jack8680J
                    Jack8680 @Murtaza
                    last edited by Jack8680

                    @Murtaza never mind, I misread your previous post, I thought you said arrays ARE a networking behaviour but you said they AREN'T lol

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

                      @Hamed can an array be saved to file?

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

                        @iTap-Development said in Upcoming Socket.IO sneak peek:

                        @Hamed can an array be saved to file?

                        Yup :).
                        You can even put an array in an array. This next update should make hyperPad A LOT more powerful.

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

                          @Murtaza can arrays be added dynamically like attributes?

                          HamedH 1 Reply Last reply Reply Quote 0
                          • HamedH
                            Hamed Admin @iTap Development
                            last edited by

                            @iTap-Development Values in arrays can be added dynamically. So think of the Array behaviour as something similar to a box container, you can pre-fill it with values if you want.

                            Then you would use the Modify Array behaviour to dynamically add items to the beginning, end, or a specific index of the array.

                            Another thing you can do with the Modify Array behaviour (and all the other array / dictionary behaviours) is type in an array as a JSON string. ie ["Cat", 2, 5 "Dog"] and use the modify array behaviour to add or remove values from the text dynamically. For example, the HTTP request behaviour can output values as JSON... you could input it into Get array and get the first index.

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

                              @Hamed so you can add an index, but can you make a completely new array dynamically. Like attributes being predefined or dynamic?
                              When will this update be out?!

                              HamedH 1 Reply Last reply Reply Quote 0
                              • HamedH
                                Hamed Admin @iTap Development
                                last edited by

                                @iTap-Development you can only dynamically create it by typing out the json string. I feel like it will be more clear when you guys get your hands on it.

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

                                  @Hamed ok...I think I get it.😂

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

                                    :D

                                    That was great. That made my day :rofl:

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

                                      Hahah I laughed a bit at that too.

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