Ciao121's Recent Forum Activity

  • Hi,

    I'm almost new to Web Games programming (and in js programming as well!). I started about 2 months ago.

    For my game I was obviously inspired by diep.io (that was inspired by "diepix arena" I suppose).

    Anyway... that's tha game: http://www.flar.io

    I do not know how it does perform with many connected players. It's almost empty at the moment. So it's also boring <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    I'm working on new players levels... upgrades and bonuses.

    Currently it seems to work fine on FF and IE (I'm having some socket.io related problems on Google Chrome).

    Also I have some problem with the socket.io dsconnections (so I have to ask the players to reload to start a new game).

    Feedbacks are welcome.

    Thank you!!!

  • Problem Description

    If I add a new layer and move it down in the list all layers id are changed, but they are not updated in the events sheet.

    Attach a Capx

    Do not have a capx.

    Description of Capx

    See above

    Steps to Reproduce Bug

    • Step 1: Create one layer (id 0)
    • Step 2: System -> Create object on layer with id 0
    • Step 3: Create another layer (id 1)
    • Step 4: Move the new layer down. The layer changesto id 0. The old layer gets id 1

    Observed Result

    The object is not created on the original layer (thai is now 1) but on the new layer (that is now 0)

    Expected Result

    Hi expect that the object is created on the originl layer

    Affected Browsers

    It is not browser dependent

    Operating System and Service Pack

    Windows

    Construct 2 Version ID

    Release 233

  • Now only the onDisconnect bug and Crashes between layout change may stop me!

    Any solution for this ones?

    Hi breackzin,

    have you found any solution fot the onDisconnect bug?

    Thank you!

  • gumshoe2029,

    thanks for your answer. The problem wasn't the protocol.

    I was succesfully connecting form a simple html page using

    var socket = io.connect("http://localhost:8080");[/code:avwb1crn]
    The plugin is working with older socket.io npm package. I tried 0.9.0 an it works.
    
    Does anybody knows if is ther an updated socket.io plugin. I can't find one :/
  • Does not work for me too. Tried also 0.9.5.

  • Try Construct 3

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

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

    I'm trying this but I cannot connect to the node server.

    This is the server code:

    var io = require("socket.io").listen(8080);
    
    io.sockets.on("connection", function (socket) {
    	console.log("connected");
    });
    [/code:3aeyssyz]
    and this is the only event in my project:
    
    [img="https://s10.postimg.org/vbropjzax/poject.png"]
    
    It simply does not connect.
    From this html page:
    [code:3aeyssyz]<script src="node_modules/socket.io/node_modules/socket.io-client/socket.io.js"></script>  
    <script>  
        var socket = io.connect("http://localhost:8080");
    </script>  [/code:3aeyssyz]
    it connects.
    
    Can someone help? Thank you!!!
Ciao121's avatar

Ciao121

Member since 18 Aug, 2016

None one is following Ciao121 yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies