Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 401 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 401 Bytes

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.