mumu64's Forum Posts

  • Thanks for the quick reply and insight oosyrag.

    The event list currently has an action: connect to signalling server "wss://multiplayer.scirra.com". Then is the correct way to add an ICE server, to add the action below, so that the result will be as below?

    On start of layout
    connect to signalling server: "wss://multiplayer.scirra.com"
    Add ICE server "TURN:xxx" (username "xxx", credential "xxx")
    

    (I found a free TURN server here: numb.viagenie.ca/)

  • I am using the official Multiplayer plugin. Locally my game works and I can play an online match. When I upload my game to Steam and start the game from the Steam client, the in game log file only says "connecting...".

    My guess: i need to use the Steam API to be able to connect to the Scirra signalling server.

    Am I right?

  • Thank you!

  • bump :)

  • Maybe it's possible to detect the bottom of the cliff?

    If player.y > cliff.bottom: reactivate 8 direction?

  • that can be an idea but how to make so that the jump does not disable while I am still "in the air" (= on a solid)

    Sorry, I think I do not understand the question.

  • Now you can move the character with the cursor keys on your keyboard, thanks to the '8 direction' behaviour.

  • I don't have experience with tile movement, but how about changing it for 8 direction movement behaviour?

    So you end up with 2 behaviours: scroll to and 8 directions. (but disable "set angle", when you are in the layout editor -> click on player -> see left pane with information and settings on player)

  • Maybe you have more than 1 movement behaviours active on the player?

  • hello!

    My suggestion is to give the player sprite a behaviour called "Scroll to". And in the event sheet add a system action called "set layout scale".

    Example:

    On start of layout -> system: set layout scale to 1.5

    ps: nice graphics!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What about:

    when pressing jump

    disable collision

    disable player input

    let the player move down on y-axis

    enable collision

    enable player input

    ?

  • How do I quit a multiplayer game and restart it by going to the 1st layout and then to the game layout again? Right now when I quit and restart in game, I cannot take control of the paddle. What am I doing wrong or what am I forgetting?

    I am using the Pong Multiplayer example. I have added the following:

    on escape pressed
     reset glob vars
     disconnect from room
     disconnect from signalling server
     go to layout 'login'
    

    (and I have added an event that says: when pressed on ESC, go to first layout)

    How to reproduce:

    1. - start a multiplayer match (change the room or game name, so nobody will join or is host already)
    2. - exit by pressing ESC.
    3. - start a multiplayer match and you see that you cannot take control of the paddle.

    Observed result: cannot take control of the paddle, while no peer present yet.

    Expected result: you get to control the paddle by mouse, while no peer present yet.

    Tagged:

  • hello!

    I have added this command line to the export of nw.js.

    --in-process-gpu --disable-direct-composition

    but I do not see a steam overlay when I press alt+tab in game.

    Do you have some more pointers to look for?

    Or: experiences that you had to change to fix this problem? It might help me.

    Thanks!

  • I am wondering if someone knows why the rectangle (the way objects are highlighted in debug mode) is changing size when the layout's angle is changing.

    Thanks in advance.

  • I filed a bug report after the reply of Dop2000.

    My bug report is closed with the request to not file issues if nothing is broken.

    Ashley, can you tell me something about the rectangle's changing shape?