🎉 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!
Latest Browserify Activity
![Set Up Ammo.js with Browserify (Ammo.js is a port of Bullet Physics Engine to JS)](https://uploads.gamedev.net/blogs/monthly_2020_12/large.799202d89ce4406889f1437e9e5b477f.AmmoJSBrowserifyUglifyJS.png)
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…
Advertisement
Advertisement