https://github.com/ourcade/phaser3-sword-swing-attack
Sword swing attack demo using Arcade Physics
https://github.com/ourcade/phaser3-sword-swing-attack
example-code example-project gamedev gameplay phaser3 phaserjs typescript
Last synced: 8 months ago
JSON representation
Sword swing attack demo using Arcade Physics
- Host: GitHub
- URL: https://github.com/ourcade/phaser3-sword-swing-attack
- Owner: ourcade
- License: mit
- Created: 2021-03-28T13:38:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-11T15:15:44.000Z (over 3 years ago)
- Last Synced: 2025-03-27T15:07:11.228Z (9 months ago)
- Topics: example-code, example-project, gamedev, gameplay, phaser3, phaserjs, typescript
- Language: PLSQL
- Homepage: https://youtu.be/uNzLQgbYCw4
- Size: 478 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Phaser 3.50+ Sword Swing Attack
> Sword swing attack demo using Arcade Physics

## Overview
This demo project shows how to to implement a sword swing attack in a Phaser 3 game using Arcade Physics.
[Check out this video on YouTube for more information!](https://youtu.be/SCO2BbbO17c)
We also use a StateMachine in this project. More information on that can be found [here as a blog post](https://blog.ourcade.co/posts/2021/character-logic-state-machine-typescript/) or [here as a video](https://youtu.be/BV8lfw-tdRU)!
## Getting Started
Clone this repository to your local machine and then install dependencies
```bash
npm install
```
Start development server:
```
npm run start
```
This demo is based on the [phaser3-parcel-typescript-template](https://github.com/ourcade/phaser3-typescript-parcel-template).
## License
[MIT License](https://github.com/ourcade/phaser3-sword-swing-attack/blob/master/LICENSE)