An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Phaser 3.50+ Sword Swing Attack
> Sword swing attack demo using Arcade Physics

![License](https://img.shields.io/badge/license-MIT-green)

## 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)