Giter Club home page Giter Club logo

colyseus-construct-plugin's Introduction

Colyseus client plugin for Construct 2

Used version 0.6.0 of ColyseusJS.

Colyseus is a game server framework for NodeJS.
http://gamestd.io/colyseus/

Construct 2 is an HTML5 game engine.
https://www.scirra.com/

Find the Construct JavaScript SDK Template on:
https://www.scirra.com/manual/15/sdk

The .c2addon file is simply a renamed .zip.
Drag and drop it in Construct to install.

To launch the test server (need NodeJS and NPM):

cd test/server
npm install
npm start

nb: if supervisor .bin files were not created, launch "npm install supervisor"

colyseus-construct-plugin's People

Contributors

endel avatar lgugl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

turkm

colyseus-construct-plugin's Issues

i can't start the server, got errors

Hi Loïc Guglielmino, i loved your multiplayer plugin, however i had problem starting the server, i got errors as bellow. i know little about node js, can you help please?
My node version is 8.1.0
`
*****.rhcloud.com server]> npm start

[email protected] start /var/lib/openshift/5*********00010/app-root/runtime/repo/server
cross-env DEBUG= ./node_modules/.bin/supervisor -i node_modules -- index.js

sh: cross-env: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] start: cross-env DEBUG= ./node_modules/.bin/supervisor -i node_modules -- index.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /var/lib/openshift/5*********00010/app-root/data/.nodejs/.npm/_logs/2017-06-11T08_49_47_158Z-debug.log
`

Issue with starting test server

Hello

When I go to run "npm start" on the test server I get this error message
`C:\Users\Brandon\colyseus-construct-plugin\test\server>npm start

[email protected] start C:\Users\Brandon\colyseus-construct-plugin\test\server
DEBUG=* ./node_modules/.bin/supervisor -i node_modules -- index.js

'DEBUG' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: DEBUG=* ./node_modules/.bin/supervisor -i node_modules -- index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Brandon\AppData\Roaming\npm-cache_logs\2017-05-30T20_36_12_119Z-debug.log`

Would you know why I may be getting this?

Null message

Whenever I use the ping command it sends a null message in room updates and only shows up on the server, Is this normal or is it not sending the information correctly?

Server started, but the game client failed to connect

Hi @polpoy Loïc Guglielmino and @endel , i got the server running good , but failed to get the example game working

Starting child process with 'node index.js'
Ignoring directory '/root/server/node_modules'.
Watching directory '/root/server' for changes.
Press rs for restarting the process.
server:info Server ready on port 3000 +0ms

I changed the example host to ws://45.32.85.17 and tried it, sadly i can't get connected.
The original host server in the example capx didn't work either, i tried it on both google chrome and Mozilla Firefox, is there anything i might have missed?
Thank you in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.