Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hyanmandian/phaser-snowpack
Just a POC with Phaser and Snowpack. This project was bootstrapped with Create Snowpack App (CSA).
https://github.com/hyanmandian/phaser-snowpack
phaser snowpack
Last synced: 2 months ago
JSON representation
Just a POC with Phaser and Snowpack. This project was bootstrapped with Create Snowpack App (CSA).
- Host: GitHub
- URL: https://github.com/hyanmandian/phaser-snowpack
- Owner: hyanmandian
- License: other
- Created: 2020-05-29T17:35:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T18:40:10.000Z (about 2 years ago)
- Last Synced: 2023-08-16T20:58:30.715Z (over 1 year ago)
- Topics: phaser, snowpack
- Language: TypeScript
- Homepage: https://phaser-snowpack.now.sh
- Size: 628 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Phaser + Snowpack
> Just a POC with Phaser and Snowpack. This project was bootstrapped with Create Snowpack App (CSA).
To play, just [click here](https://phaser-snowpack.now.sh/) and have fun! :D
I've made maps with [Tiled](https://www.mapeditor.org/) and all assets are provided by [Pixel Frog](https://pixel-frog.itch.io/) that has a lot of free awesome game assets.
## How I do these interactions
I've tried to make the main scene map agnostic, so for every iteration, I create a new attribute on de tilemap to represent this iteration.
- Collides: boolean attribute called `collides`
- Jump through: bollean attribute called `jump-through`
- Player Spawn: an Object with name `player-spawn`
- Background: string attribute called `background` (every background inside `/public/assets/background`)## Controlls
Up once for jump and twice for a double jump, you can do wall jump while you falling in the walls
Left to go left
Right to go right## Features
- [X] Double jump
- [X] Wall jump
- [X] Jump through platforms
- [X] Loader screen
- [X] Scale screen
- [X] Camera following player
- [ ] Menu
- [ ] Char selection
- [ ] Virtual control (on mobile)
- [ ] Enemy
- [ ] Kill
- [ ] Death
- [ ] Reset