This is a simple game created with Phaser. It's designed to fulfill the requirements given by my nephews for testing purposes, with its objective purely centered on learning to use Phaser.
This project relies on two core libraries:
- Phaser (^3.80.1): A versatile game development framework for JavaScript.
- Vite (^5.2.12): A rapid build tool enhancing development workflow, commonly used alongside Rollup or webpack for compression and bundling in production.
- Node.js installed on your machine.
- Clone this repository to your local machine:
git clone https://github.com/your-username/phaser-test-game.git
- Navigate to the project directory:
cd phaser-test-game
- Install dependencies using npm:
npm install
To start the game, run the following command:
npm run dev -o
This will start a development server and open the game in your default web browser.
- Use the arrow keys to move and jump the player character. P=> Pause
- The objective is to go to the toilet, collecting all the paper you find along the way.
This project is based on the boilerplate de ManzDev.
- This game was created using Phaser (https://phaser.io/).
- Additional assets were sourced from OpenGameArt.org.
This project is licensed under the MIT License - see the LICENSE file for details.