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
- Host: GitHub
- URL: https://github.com/buildwithforge/phaser-loot
- Owner: buildwithforge
- License: mit
- Created: 2024-12-30T00:02:26.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-13T03:43:54.000Z (3 months ago)
- Last Synced: 2025-02-13T04:27:34.383Z (3 months ago)
- Topics: forge, game, javascript, loot, phaser, typescript, web
- Language: TypeScript
- Homepage: https://buildwithforge.github.io/phaser-loot/
- Size: 621 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
![]()
# Phaser Loot
[](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)