Skip to content

Commit

Permalink
Added phasereditor2d-launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
wizguin committed Jan 23, 2022
1 parent fad89d3 commit b4ff851
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ npm install
npm run dev
```

* Running [Phaser Editor](https://phasereditor2d.com/) for scene editing.

```console
npm run editor
```

* Building the client for production.

```console
Expand Down
41 changes: 39 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "A rewrite of the Club Penguin client in HTML5",
"scripts": {
"dev": "webpack serve",
"editor": "phasereditor2d-launcher -project .",
"build": "webpack --mode production",
"build-crumbs": "node ./utils/build-crumbs.js"
},
Expand All @@ -23,6 +24,7 @@
"babel-loader": "^8.2.2",
"core-js": "^3.16.4",
"javascript-obfuscator": "^3.0.0",
"phasereditor2d-launcher": "^3.32.0",
"socket.io-client": "^4.4.1",
"webpack": "^5.51.1",
"webpack-cli": "^4.8.0",
Expand Down
7 changes: 7 additions & 0 deletions phasereditor2d.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"skip": [
"assets/media/clothing",
"assets/media/furniture"
],
"playUrl": "http://localhost:8080"
}

0 comments on commit b4ff851

Please sign in to comment.