[go: nahoru, domu]

Skip to content

cxong/PepperTown

Repository files navigation

PepperTown

An RPG-themed idle game, Play Online

Licenses

Featuring characters and art from Pepper&Carrot by David Revoy https://creativecommons.org/licenses/by/4.0/

Dialog by StarNavigator

Code: based on https://github.com/nkholski/phaser3-es6-webpack

GFX:

Music: Adorable Ache by Dragor, http://creativecommons.org/licenses/by-nc-sa/3.0/

SFX:

Font: Three Little Bitmap Fonts by Buch, http://creativecommons.org/publicdomain/zero/1.0/

Setup

You’ll need to install a few things before you have a working copy of the project.

1. Clone this repo

2. Install node.js and yarn:

https://nodejs.org/en/

https://yarnpkg.com/

3. Install dependencies:

Navigate to the cloned repo’s directory.

Run: yarn

4. Run the development server:

Run:

yarn run dev

This will run a server so you can run the game in a browser.

Open your browser and enter localhost:3000 into the address bar.

Also this will start a watch process, so you can change the source and the process will recompile and refresh the browser.

Build for deployment:

Run:

npm run deploy

This will optimize and minimize the compiled bundle.