2 ms·
This might be the opposite of what you're looking for, but p5.js[0] is a decent candidate if you want to build a barebones game (physics) engine yourself. It ma
by CSSer 6y ago
This might be the opposite of what you're looking for, but p5.js[0] is a decent candidate if you want to build a barebones game (physics) engine yourself. It may sound like a lot but you may be surprised to see how far you can get depending on what your end goal is, and you may just create something novel as a result. See here[1] and here[2] for a rudimentary example.
[0] https://p5js.org/ https://p5js.org/
[1]https://dev.to/soorajsnblaze333/how-to-create-a-simple-physics-engine-part-1-2ofh https://dev.to/soorajsnblaze333/how-to-create-a-simple-physi...
[2]https://dev.to/soorajsnblaze333/how-to-create-a-simple-physics-engine-in-javascript-part-2-4gnd https://dev.to/soorajsnblaze333/how-to-create-a-simple-physi...
- NortySpock 6y agoAnd P5.play is an expansion library for P5.js that gives you sprites, collision detection and a virtual camera, while still being unminified and reasonably easy to read. https://molleindustria.github.io/p5.play/ https://molleindustria.github.io/p5.play/ I did have to pin p5.js to v0.5.4 as apparently p5.play hasn't been updated and didn't play nicely with newer versions of p5.