activate group

0 favourites
  • 3 posts
  • it seem like this script dont want to turn on group why

    have i done anything wrong ?

    | Global string GAME_NAME? = MP_Space

    | Global string INSTANCE_NAME? = Default

    | Global string ROOM_NAME? = Main

    + System: On start of layout

    -> Multiplayer: Connect to signalling server "wss://multiplayer.scirra.com"

    -> debug: Set text to "Connecting to signalling server"

    + Multiplayer: On signalling connected

    -> Multiplayer: Log in with alias "1"

    -> debug: Set text to "Connecting with username 1"

    + Multiplayer: On signalling logged in

    -> Multiplayer: Join room ROOM_NAME for game GAME_NAME instance INSTANCE_NAME (max peers: 0)

    -> debug: Set text to "joining room"

    + Multiplayer: Is in room

    -> debug: Set text to "now in room"

    + Multiplayer: On signalling joined room

    ----+ Multiplayer: Is host

    -----> System: Set group "Host" Activated

    ----+ System: Else

    -----> System: Set group "Peer" Activated

    + Multiplayer: On signalling disconnected

    -> debug: Set text to "disconnected"

    [Host]

    ----+ [DISABLED] System: Every tick

    -----> [DISABLED] debug: Set text to "You are host"

    ----+ [DISABLED] Keyboard: D is down

    -----> [DISABLED] Sprite: Simulate 8Direction pressing Right

    [Peer]

    ----+ [DISABLED] System: Every tick

    -----> [DISABLED] debug: Set text to "You are peer"

  • You need to right click and edit the event group and uncheck start as active, rather than disable the events in the group.

    If your group is already starts as active and all the events within it are disabled, then activating the group will not do anything.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You need to right click and edit the event group and uncheck start as active, rather than disable the events in the group.

    If your group is already starts as active and all the events within it are disabled, then activating the group will not do anything.

    Ty so much

    one of the best answer ive seen so far with explications as well

    ty a ton it work

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)