Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by matthewjames

Hello, I have been able to create the socket connection using the plugin but i am getting a cannot call method 'broadcast' of undefined

Any ideas?

ig.game.impsock.broadcast(this);
this.name = ig.game.impsock.sessionId;

The above is in my player.js entity with the plugins.impsock in the require on main.js.

1 decade ago by matthewjames

I have made the connection finally and it shows player movement response. I cannot get the other player to spawn/refresh though.

1 decade ago by Joncom

Maybe post the code surrounding the "spawn/refresh other player" logic.
Page 1 of 1
« first « previous next › last »