Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Colyseus multiplayer game on itch.io

A topic by Radar created Jul 31, 2022 Views: 207 Replies: 1
Viewing posts 1 to 2

Hi everyone,

I'm thinking of making a multiplayer game for one of the game jams hosted on itch.io, and I'm thinking of using the Colyseus framework. After installing all the npm packages everything works fine on my local server, so far so good.

But when I try to upload to itch.io it says I have too many files in my .zip archive (I do have over 6000 files because of all the node packages that were installed with colyseus). So I'm just wondering if anyone has successfully launched a Colyseus app (or node.js app for that matter) onto itch.io. And I would very much appreciate your input!

Actually I figured this out.

What I did was to deploy the Colyseus app to a service like Heroku, then make an index.html file containing an iframe with the URL of the app on Heroku. Then I simply upload the single index.html file onto itch.io and the game runs perfectly inside the iframe.

Alternatively you can use webpack to pack and minify the giant node_modules folder into one file, then it'll be small enough to fit onto itch.io.

I hope this helped somebody with similar problems!

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.