This is a project template for RPGJS apps. It lives at https://github.com/rpgjs/starter.
To create a new project based on this template using degit:
npx degit rpgjs/starter rpg-app
cd rpg-app
使用 RPGJS 開發,安裝 NVM 與 NodeJS,用 junkhunt.net 產生繪製角色,LLM 使用 Google,地圖使用 Tiled's 修改。
npx degit rpgjs/starter my-rpg-game
cd my-rpg-game
npm install --save-dev cross-env
npx cross-env RPG_TYPE=rpg npm run dev
Install the dependencies...
cd rpg-app
npm install
npm run dev
Navigate to localhost:3000. You should see your game running. Edit a file in src
, save it, and reload the page to see your changes.
Launch in RPG mode with
RPG_TYPE=rpg npm run dev
NODE_ENV=production npm run build
sudo docker build -t rpg .
sudo docker run -p 3000:3000 -d rpg
Davidvitas Attribution 4.0 International (CC BY 4.0)- https://creativecommons.org/licenses/by/4.0/deed.en