Navigation

    Colyseus
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. NycGio
    N

    NycGio

    @NycGio

    Chat Follow Unfollow
    0
    Reputation
    3
    Posts
    889
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • Profile
    • More
      • Continue chat with NycGio
      • Flag Profile
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    NycGio Follow

    Posts made by NycGio

    RE: Sending Objects to Construct 3

    @endel thank you so much

    posted in Questions & Help •
    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 •
    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 •