Zemanzo / web-marbles

Aims to recreate Marble Racing from the ground up, as a fully web based game
https://playmarbl.es/
GNU General Public License v3.0
23 stars 12 forks source link

Update dependencies, imports & webpack config #256

Closed Zemanzo closed 5 years ago

Zemanzo commented 5 years ago

This solves some vulnerabilities, but more excitingly, allows us to import three.js examples as modules! That removes the need for some nasty webpack modification. It also allows for proper tree shaking, where we can ignore all unused three.js code. Should give some significant loading benefits! I'll save that for another PR though, might be a bit of a hassle to do. Take a look at custom-materials.js in this PR for an example.

Referencing issues Closes #2 at long last...