DEACTIVATED's Forum Posts

  • May I ask why would you want to do this?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • InvaderX

    You'll need to know some javascript in order to go anywhere near multiplayer.

    You can learn it here at codecademy.com

    Edit: Spelling.

  • InvaderX

    Ok, I walk you through this.

    Open a cmd prompt and type 'npm install socket.io'

    make sure you are in the directory where your server file is.

    Packages such as socket.io are downloaded to that specific directory. It isn't install on the system, and only files that are in the same folder as the socket.io directory can access socket.io.

  • InvaderX

    You haven't installed node or socket.io

    You're running this without these two and therefore it doesn't work. Once you install node and socket.io use node example_server.js

  • Ashley

    I meant to over come session limitations. Just wanted to clear it up so I don't look silly in front of the great C2 developer ;D

  • Buy the software?

    Edit: Never mind, I saw your medal, just not in this thread.

    AGH! My medal is gone D:

  • Somehow, I got cocconJS to work with webstorage. I saved some data, closed the app, came back to the app, and it worked fine.

    Edit: I just read the CocoonJS tutorial, to check on the limitations.

    Joannesalfa is correct, You can easily overcome this by using global variables. Local storage is (some what) permanent save, where as session is for that session only (much like the incognito mode in most browsers).

  • What do you mean 'secret forums'?

  • Run the compatibility troubleshooter and see what happens. Most times it's because of the OS.

  • Schoening

    A good and easy place to learn javascript is at codecademy.com

    It's a good place to start and learn the fundamentals and some of the advanced stuff too.

    BarneyK

    For nameplates...I don't really know, although I'll try to think of something.

    Maybe we should open another thread later on, that has all the javascript and capx files for each socket.io capability.

  • stylewow or BarneyK

    You can make a button send the disconnect message, which does the same thing.

  • Schoening

    That is somewhat correct, but use this anyway.

    socket.on('disconnect', function (data) {

          

          socket.broadcast.emit("message",'D,' + mySelf[0] + ',' + mySelf[1] + ',' + mySelf[2]);

          entities[myNumber] = null;

          

    });

    or anyone that can help.

    I've created a server and made it all work. I uploaded it to various different hosts. But they all seem the have the worst connections, with an average ping time of 300 ms.

    What would be the best host to host such a server.

  • Did you minify when you exported?

  • Ok thanks!

  • Basically, if someone replies to the post.

    So if you comment, the comment after yours will be notified to you and that's it. This way, we don't have to check through posts.