Home >Web Front-end >Front-end Q&A >What engine does javascript use to make games?
Engines available for javascript games: 1. Babylon.js; 2. Three.js; 3. Turbulenz; 4. Famo.us; 5. PlayCanvas.js; 6. Goo Engine; 7. CooperLicht; 8. Voxel et al.
The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.
JavaScript 3D game engines are a hot topic right now for developers who use JavaScript, HTML5 and WebGL technologies to develop 3D games. The biggest advantage of browser-based games is that they are cross-platform and can run on iOS, Android, Windows or other system platforms.
There are many engine frameworks in the industry that use HTML5 and WebGL to develop 3D games. However, choosing the right engine framework is often a challenge, and whether you choose the right one will determine the success or failure of your project.
To make your choice easier, we have analyzed most of the engine frameworks in the industry so far and selected the Top 10 to help you create better HTML5 and WebGL games using JavaScript.
http://www.babylonjs.com/
For creating professional-grade games that can be sold, Babylon.JS is undoubtedly the best JavaScript 3D game engine currently available.
Babylon.JS is the product of David Catuhe's love for 3D game engines. He has experience developing for 3D game engines such as DirectX, OpenGL and Silverlight, and ended up creating this in JavaScript.
The core of Babylon.JS contains some key features: ambient light, camera, material, mesh, collision engine, physics engine, sound engine and optimization engine.
http://threejs.org/
Three .js is another comprehensive and powerful JavaScript 3D library that can be used to handle all things 3D, from creating simple 3D animations to creating interactive 3D games.
The Threejs library not only provides support for WebGL renderers, but also provides SVG, Canvas and CSS3D renderers. However, from a gaming perspective, you might just want to focus on the three.js library's WebGL renderer.
Three.JS is created and maintained by Doob and Altered Qualia and is available as open source under the MIT license. You can download a minified version or use it through a CDN.
You can get the source code of three.js 3D engine on GitHub.
http://biz.turbulenz.com/developers
Turbulenz is one of the oldest game engines, dating back to 2009 when HTML5 and WebGL were still in production. Turbulenz was not available as open source until 2013, when it was first made freely available to the public as open source under the MIT license.
Turbulenz has seen huge demand since its release as open source.
Turbulenz includes a large number of features such as 2D physics, 3D physics, sound, video and other services such as leaderboards, multi-chat, payments and user data.
http://famo.us/
Famo .us is another big player in the HTML5 3D development market and is one of the best open source JavaScript 3D frameworks for free. The best thing about famo.us is that it comes with a 3D layout engine that is fully integrated with a 3D physics driven animation engine.
Getting started with Famo.us is very simple and provides free classrooms for developers at famo.us University. The community is a great and supportive one and you can easily find tons of resources and working examples.
https://playcanvas.com/
PlayCanvas is a WebGL game engine based on enterprise-grade open source JavaScript, which has a large number of developer tools to help you build 3D games in no time. PlayCanvas.js is built by a professional community and was not originally open source, but now you can store it on GitHub and start using it for free on your next 3D game project.
It also has a cloud-based editor that runs in your browser, so getting started with PlayCanvas is as easy as navigating to the editor URL. Editor supports collaboration between teams, which essentially means many people can work on the same project in parallel.
PlayCanvas.js is supported by giants such as Mozilla, Activision and ARM.
http://www.goocreate.com/
From Goo Technologies, Goo Engine is a set of powerful JavaScript APIs that can be used to create any 3D content in HTML5 and WebGL. There is an online editor goocreate that can run on this engine and has many features such as visual 3D editor, material editor, scripting and easy publishing options, etc.
You can use the online browser editor by paying some associated license fees.
Although the editor requires some related fees, the JavaScript-based goo engine is absolutely free and can be downloaded for use in your own 3D projects. You can also add the following lines directly to your code and start using goo engine immediately.
<script src="http://code.gooengine.com/0.13.6/lib/goo.js"></script>
http://www.ambiera.com/copperlicht/
CooperLicht Ambiera was the one who created it company, used it for in-house production for many years, and finally made it available as open source.
CopperLIcht is one of the best 3D engines for creating browser-based games. It is the backend engine for the 3D game editor CopperCube.
CopperCube is an editor that supports all the features needed to build 3d games and animations. However, the editor requires a license fee and is not available as open source.
http://voxeljs.com/
Voxel .Js is an open source JavaScript-based 3D game engine written by @maxogden and @substack. Since launch, the community has grown rapidly. If you are someone who prefers a modular approach, Voxel is a great choice.
The Voxel engine is the core module used to build 3D games, and other modules can be plugged in as needed. As of now, there are about 200+ plugins published on npm.
There are tons of resources, tutorials and modules available for getting started with Voxel. You can easily build voxel style games using this engine.
https://www.blend4web.com/en/
Blend4Web was released as an open source 3D framework in 2014 by a Russian company called Triumph. It is tightly integrated with Triumph's 3D content creation tool "Blender" and has native support for Blender's node materials, particle systems, bullet physics, and other features.
Blend4Web is actively being developed with a number of enhancements coming soon, and looks poised to compete with big competitors like Babylon.js and three.js in the near future.
http://enchantjs.com/
Enchant .js is a modular, object-oriented JavaScript framework for creating simple apps and games in HTML5. It is available as open source under the MIT license and therefore free to use. 3D animations and games can be created using other plug-ins that give WebGL the functionality of enchant.js.
Enchant.js becomes powerful with new features and plugins, and is actively maintained and developed by UEI's Akihabara Research Center.
[Related recommendations: javascript learning tutorial]
The above is the detailed content of What engine does javascript use to make games?. For more information, please follow other related articles on the PHP Chinese website!