An open API service indexing awesome lists of open source software.

https://github.com/buildwithforge/phaser-loot

đŸ•šī¸ Phaser loot demo
https://github.com/buildwithforge/phaser-loot

forge game javascript loot phaser typescript web

Last synced: 2 months ago
JSON representation

đŸ•šī¸ Phaser loot demo

Awesome Lists containing this project

README

        


Phaser Loot

# Phaser Loot

[![build](https://github.com/buildwithforge/phaser-loot/actions/workflows/build.yml/badge.svg)](https://github.com/buildwithforge/phaser-loot/actions/workflows/build.yml)

Phaser Loot demo built with [Forge](https://forgegames.org/).

Inspired by the tutorial "[Making your first Phaser 3 game](https://phaser.io/tutorials/making-your-first-phaser-3-game)".

Play the [game](https://buildwithforge.github.io/phaser-loot/).

## Install

Clone the repository:

```sh
git clone https://github.com/buildwithforge/phaser-loot.git
cd phaser-loot
```

Install the dependencies:

```sh
npm install
```

Update the environment variables:

```sh
cp .env .env.local
```

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the game in the development mode.

Open [http://localhost:5173](http://localhost:5173) to view it in the browser.

The page will reload if you make edits.

You will also see any errors in the console.

### `npm run build`

Builds the game for production to the `dist` folder.

It correctly bundles in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your game is ready to be deployed!

### `npm run bundle`

Builds the game and packages it into a Zip file in the `dist` folder.

Your game can be uploaded to your server, [Itch.io](https://itch.io/), [Newgrounds](https://www.newgrounds.com/), etc.

## License

[MIT](LICENSE)