🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Advertisement

Latest Uglify.js Activity

8Observer8
December 21, 2020 02:22 PM
Set Up Ammo.js with Browserify (Ammo.js is a port of Bullet Physics Engine to JS)

I found a solution how to use Ammo.js with Browserify:

npm install kripken/ammo.js

Install Browserify and UglifyJS globally:

npm i browserify uglify-js -g

Make this project structure:

public/index.html
public/js
src/client
src/server

Copy this example to src/client/main.js

const Ammo = require("ammo.js");

l…
5,258 views
Advertisement
Advertisement
Advertisement