curiosity-ai / h5

🚀 The next generation C# to JavaScript compiler
https://github.com/curiosity-ai/h5
Apache License 2.0
211 stars 30 forks source link

Added p2 package #41

Closed thomz12 closed 3 years ago

thomz12 commented 3 years ago

Added package for p2.js physics engine.

Decompiled the Retyped.p2 package and modified it to work with H5. The surrounding files are copied from (H5.p2.csproj, h5.config and license) are copied over and changed slightly from webgl2.

I've had a quick test in my project, which seems to work fine.