react-collision-provider

1.1.1 • Public • Published

react-collision-provider

Simple collision detection for 2D games in React.

Getting started

The library gives you a higher-order component called CollisionProvider. Wrap a UI element inside it to register it for collision detection.

Check out the overview on my blog, and see the example folder for more info on implementation.

Package Sidebar

Install

npm i react-collision-provider

Weekly Downloads

3

Version

1.1.1

License

MIT

Last publish

Collaborators

  • codyromano