Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/colinkiama/jumpy
Easy arcade game to test out Phaser.js.
https://github.com/colinkiama/jumpy
arcade-game demo game javascript nodejs phaser phaser3 rollup typescript vite vitejs web
Last synced: 1 day ago
JSON representation
Easy arcade game to test out Phaser.js.
- Host: GitHub
- URL: https://github.com/colinkiama/jumpy
- Owner: colinkiama
- Created: 2022-11-25T22:35:14.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-05T09:36:04.000Z (11 months ago)
- Last Synced: 2024-10-12T18:52:19.560Z (about 1 month ago)
- Topics: arcade-game, demo, game, javascript, nodejs, phaser, phaser3, rollup, typescript, vite, vitejs, web
- Language: TypeScript
- Homepage:
- Size: 906 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jumpy
Easy arcade game to test out Phaser.js.
## Summary
You're the green square. The goal is to get as many points as you can by
successfully jumping over obstacles (the red rectangles).If you collide with an obstacle, the game ends.
![Jumpy Screenshot](img/jumpy.png)
## Controls
| Key | Action |
| ------- | ------ |
| `Space` | Jump |
| | |Created from [Phaser 3](https://github.com/photonstorm/phaser) starter with [TypeScript](https://www.typescriptlang.org/), [Rollup](https://rollupjs.org) with ⚡️ lightning fast HMR through [Vite](https://vitejs.dev/): https://github.com/geocine/phaser3-rollup-typescript
## Development
After cloning the repo, run `yarn install` from your project directory. Then, you can start the local development
server by running `yarn dev` and navigate to http://localhost:3000.### Commands
| Command | Description |
| -------------- | -------------------------------------------------------- |
| `yarn install` | Install project dependencies |
| `yarn dev` | Builds project and open web server, watching for changes |
| `yarn build` | Builds code bundle with production settings |
| `yarn serve` | Run a web server to serve built code bundle |### Production Builds
After running `yarn build`, the files you need for production will be on the `dist` folder. To test code on your `dist` folder, run `yarn serve` and navigate to http://localhost:5000