Skip to content
This repository was archived by the owner on Mar 5, 2021. It is now read-only.
This repository was archived by the owner on Mar 5, 2021. It is now read-only.

[FEATURE] game and editor is working on glitch #163

@j2l

Description

@j2l

Salut !
Bravo pour ce bijou (je découvre aujourd'hui après moultes recherches d'un editeur RPG en html+JS). Ca tourne super bien. Dommage que ça n'ai pas plus de visibilité.
La suite en anglais pour toucher tout le monde.

OK, I tested running a game AND also the editor using glitch.com (free NodeJS hosting with limitations), and it works fine!
Only need to change:

  • add acron as npm package and remove it from node-modules/.bin using the console.
  • change ports in config.json to 3000 and 3001 and you have your own hosted server for your great game!
    It solves multiple access issue (I replied to someone on reddit before using glitch).
    Online editor works but for any reason you can't access it using the standalone editor (superpowers.exe).
    Best would be to rewrite password(s) to .env file and change server.js accordingly.

It's just a little tight on the server, since the engine+editor is 89% of the allowed disk (173/194MB).
I didn't go into optimization. May be node-modules could be removed completely since glitch used local packages for all projects (using pnpm) based on package.json.

Hope it gives you new momentum (un nouvel élan). 😸

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions