Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. NycGio
  3. Posts
  • Profile
  • More
    • Continue chat with NycGio
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

Posts made by NycGio

RE: Sending Objects to Construct 3

@endel thank you so much

posted in Questions & Help • 7 May 2018, 22:12
Sending Objects to Construct 3

I am having a issue. I am trying to create an array of objects and trying to get that array of objects and break it down in construct 3. I dont know how to read the objects in construct 3 can anyone help?

onJoin(client, options){
this.playerCount ++;

    let newPlayer = {
        id: client.sessionId,
        x: 100,
        y: 100
    }

    this.players.push(newPlayer);

    this.players.forEach(player=>{console.log(player)});
    this.send(client,{
        type: "players",
        list: this.players
    })
}

How will i be able to read this list of objects in construct 3?

posted in Questions & Help • 6 May 2018, 15:14
Construct 3 Example.c3p

Hello i tried opening up your Example.c3p for construct 3 but i get this error

"Failed to open project. Check it is a valid Construct 3 single.file project

posted in Questions & Help • 15 Apr 2018, 03:40

© 2023 Endel Dreyer