victorfisac / Physac

2D physics header-only library for videogames developed in C using raylib library.
http://www.victorfisac.com/physac
MIT License
443 stars 30 forks source link

Add Emscripten support #57

Closed eldelto closed 10 months ago

eldelto commented 1 year ago

Hi, I tried to use Physac with Emscripten and couldn't get it to work. I had to make some changes so the browser's time functions are used to calculate the physic steps. Maybe it could be useful in the main project.

Thanks for the great library btw!