codyromano / react-collision-provider

Simple collision detection for 2D games in React.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Simple collision detection for 2D games in React.js


Languages

Language:JavaScript 100.0%