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. WIP and Showcase
  3. Upcoming Socket.IO sneak peek

Upcoming Socket.IO sneak peek

Scheduled Pinned Locked Moved WIP and Showcase
28 Posts 7 Posters 12.2k Views 4 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.
  • HamedH Offline
    HamedH Offline
    Hamed
    Admin
    wrote on last edited by Hamed
    #11

    That being said, the server was only 20 lines of code and was also super easy to setup. I just used the example they have on socket.io

    I should also mention that all networking behaviors are on developer tier, similar to the open URL behavior.

    Jack de WildeJ 1 Reply Last reply
    0
    • HamedH Hamed

      That being said, the server was only 20 lines of code and was also super easy to setup. I just used the example they have on socket.io

      I should also mention that all networking behaviors are on developer tier, similar to the open URL behavior.

      Jack de WildeJ Offline
      Jack de WildeJ Offline
      Jack de Wilde
      wrote on last edited by Jack8680
      #12

      @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
      0
      • MurtazaM Offline
        MurtazaM Offline
        Murtaza
        Admin
        wrote on last edited by
        #13

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

        1 Reply Last reply
        0
        • Jack de WildeJ Jack de Wilde

          @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 Offline
          HamedH Offline
          Hamed
          Admin
          wrote on last edited by
          #14

          @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.

          Jack de WildeJ 1 Reply Last reply
          0
          • HamedH Hamed

            @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.

            Jack de WildeJ Offline
            Jack de WildeJ Offline
            Jack de Wilde
            wrote on last edited by
            #15

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

            1 Reply Last reply
            0
            • MurtazaM Offline
              MurtazaM Offline
              Murtaza
              Admin
              wrote on last edited by
              #16

              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.

              Jack de WildeJ 1 Reply Last reply
              0
              • HamedH Offline
                HamedH Offline
                Hamed
                Admin
                wrote on last edited by
                #17

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

                iTap DevelopmentI 2 Replies Last reply
                0
                • HamedH Hamed

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

                  iTap DevelopmentI Offline
                  iTap DevelopmentI Offline
                  iTap Development
                  wrote on last edited by
                  #18

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

                  1 Reply Last reply
                  0
                  • MurtazaM Murtaza

                    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.

                    Jack de WildeJ Offline
                    Jack de WildeJ Offline
                    Jack de Wilde
                    wrote on last edited by Jack8680
                    #19

                    @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
                    0
                    • HamedH Hamed

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

                      iTap DevelopmentI Offline
                      iTap DevelopmentI Offline
                      iTap Development
                      wrote on last edited by
                      #20

                      @Hamed can an array be saved to file?

                      MurtazaM 1 Reply Last reply
                      0
                      • iTap DevelopmentI iTap Development

                        @Hamed can an array be saved to file?

                        MurtazaM Offline
                        MurtazaM Offline
                        Murtaza
                        Admin
                        wrote on last edited by
                        #21

                        @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
                        0
                        • MurtazaM Murtaza

                          @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 Offline
                          iTap DevelopmentI Offline
                          iTap Development
                          wrote on last edited by
                          #22

                          @Murtaza can arrays be added dynamically like attributes?

                          HamedH 1 Reply Last reply
                          0
                          • iTap DevelopmentI iTap Development

                            @Murtaza can arrays be added dynamically like attributes?

                            HamedH Offline
                            HamedH Offline
                            Hamed
                            Admin
                            wrote on last edited by
                            #23

                            @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
                            0
                            • HamedH Hamed

                              @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 Offline
                              iTap DevelopmentI Offline
                              iTap Development
                              wrote on last edited by
                              #24

                              @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
                              0
                              • iTap DevelopmentI iTap Development

                                @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 Offline
                                HamedH Offline
                                Hamed
                                Admin
                                wrote on last edited by
                                #25

                                @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
                                0
                                • HamedH Hamed

                                  @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 Offline
                                  iTap DevelopmentI Offline
                                  iTap Development
                                  wrote on last edited by
                                  #26

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

                                  1 Reply Last reply
                                  0
                                  • T Offline
                                    T Offline
                                    Thecheater887
                                    wrote on last edited by
                                    #27

                                    :D

                                    That was great. That made my day :rofl:

                                    Aidan_FireA 1 Reply Last reply
                                    1
                                    • T Thecheater887

                                      :D

                                      That was great. That made my day :rofl:

                                      Aidan_FireA Offline
                                      Aidan_FireA Offline
                                      Aidan_Fire
                                      wrote on last edited by
                                      #28

                                      Hahah I laughed a bit at that too.

                                      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