79085723

Date: 2024-10-14 10:18:17
Score: 1.5
Natty:
Report link

if not work "require", you can repair code decomp.js https://github.com/schteppe/poly-decomp.js/tree/master/build

my-decomp.js (decomp.js from schteppe)
// comment start of file
//!function(e){...
//module.exports = {

var decomp = { // add line
    decomp: polygonDecomp,
    quickDecomp: polygonQuickDecomp,
...
// comment end of file
//},{}]},{},[1])
//(1)
//});

game.html
<script src="../matter/my-decomp.js" type="text/javascript"></script>

game.js
  Common.setDecomp(decomp); // add or not need

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Peter Mlich