v6.0.1
Pre-release
Pre-release
Do not use: suffers from performance/size regression introduced in v5.0.0
. Prefer v6.0.2
Added a mechanism to the 'browser global' loader in the UMD entrypoint that enables you to specify the directory from which you serve Box2D.js, via the data-box2d-dir
attribute on its <script>
tag:
<script data-box2d-dir="Box2D" src='Box2D/entry.js'></script>
This tells entry.js
that Box2D.js
can be found at Box2D/Box2D.js
.