hitbox2d

A TypeScript library for 2D hitbox with collision checks.

Usage no npm install needed!

<script type="module">
  import hitbox2d from 'https://cdn.skypack.dev/hitbox2d';
</script>

README

Hitbox2D

A TypeScript library for 2D hitbox with collision checks.

Installation

npm install hitbox2d

Build

npm run build

Usage

All constants, interfaces, classes and functions are accessible inside the Hitbox2D namespace.

API Documentation

Work in progress...

Contributors

yahiko

Licence

MIT