Open andrevenancio opened 6 years ago
This looks like the kind of project I can build something great upon.
Are there camera/perspective controls? I'd like to create an editor for an MMO-esque project.
Hey @NetOperatorWibby I've been adding features to this as I need them. So far I've added OrbitControls which basically rotate the camera around a vector (usually x: 0 y:0 z: 0)
Adding other controls is relatively easy as you only need to attach a Camera
to your control and then based on whatever input you want (mouse, keyboard, accelerometer, etc) you can change the camera position rotation and look target. I haven't had the need myself to do anything besides the Orbit controls, but feel free to throw me a suggestion or two. Also, if you're looking for a more solid engine maintained by a large community you should check out Three.js or PIXI.js they are more mature projects that are actively being developed and this is a personal project which I contribute to as often as I can.
Thanks for the quick reply! While threeJS is a popular (probably best) choice, I'm wondering if building from scratch is the way to go. I'm still figuring that out.
You mean building a 3D engine? If that's what you mean, its a fun exercise but its so time consuming.. I've done it so I can learn the ins and outs of 3d rendering, and there's lots of things I'm learning that I had no idea they existed when just using someone else's library.
If you want to have time to focus on your game I would recommend maybe going with a more mature engine so you can keep your energy on the game itself.
You could also build it it Unity and export it for web. that way you can make use of the physics engine unity has. Also, if you get to a point where you're quite happy with your game you can export it to multiple platforms and maybe monetise it somehow.
You're making a lot of sense André. I'm not building a game per se but you've changed my mind. It'll be better to just make the damn thing and revisit building an engine from scratch (or use lowww!) down the line if it makes sense.