sidneycat's Recent Forum Activity

  • has anyone tried to see what is the object that is being returned? i should really log to console or something to check, but just wondering if anyone has already tried and if so if it says anything helpful

  • hello again lennaert i am wondering this also, i am developing atm and suddenly i cannot connect to signalling server, not sure if i broke some code but i think also the pong example capx is stopped working so perhaps something serverside?

  • hi lennaert thank you for your replies, but then where should the code be for connecting to the signalling server? in the default pong project, this is in the "game" layout so does that mean that at the end of each game i should disconnect from the server? or just the room as you have mentioned?

  • okay i have discovered that after finishing the game, you need to reset the global variable "game state" to waiting.

    now i can restart a new "game" (game layout) but still am unable to join a new room for some reason

  • lennaert i am using the multiplayer pong capx that comes with construct2

    the score is associated with each paddle. i dont understand though how the score is retained after disconnecting from the signalling server???

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hi lennaert, thanks for your reply, but which variables do i reset and how?

    do i need to also disconnect from the room or signalling server? i am guessing and trying many combinations of variable deleting and leaving room but still yet no success.

  • Hi there,

    So I am playing around with the Pong multiplayer example, trying to extend it and such.

    I have made a lobby where you can change name but also profile picture, etc. There is a button to play a game, which takes you to the game layout.

    You can play the game and after 5 points, you win, and are taken back to the menu layout/lobby.

    However if you press to play again, you are taken straight back to the lobby from the game because the game thinks you have still won from last time. how do i reset this? i have tried using multilayer commands such as disconnect, leave room but this is not having any effect.

    thank you for guidance!

sidneycat's avatar

sidneycat

Member since 8 May, 2015

Twitter
sidneycat has 1 followers

Connect with sidneycat

Trophy Case

  • 9-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players

Progress

11/44
How to earn trophies