You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tutorial is really great! One thing that I liked about it is that it is super close to being completely usable on glitch.com without changes.
You could make a glitch import from GitHub button: https://github-import.glitch.me/
That would let someone instantly clone the git the repo and have the example io game hosted for free. People can then immediately tweak and play around with it in the glitch online editor without even downloading or installing anything.
The only changes I needed to make to have it start in glitch was change package.json to build when the server starts:
"start": "npm run build && cross-env NODE_ENV=production node src/server/server.js"
And change the websocket server to use wss in client/networking.js:
The tutorial is really great! One thing that I liked about it is that it is super close to being completely usable on glitch.com without changes.
You could make a glitch import from GitHub button: https://github-import.glitch.me/
That would let someone instantly clone the git the repo and have the example io game hosted for free. People can then immediately tweak and play around with it in the glitch online editor without even downloading or installing anything.
The only changes I needed to make to have it start in glitch was change package.json to build when the server starts:
And change the websocket server to use wss in client/networking.js:
The text was updated successfully, but these errors were encountered: