2D games are possible on a canvas. However, I believe those 3D games using HTML5 are actually embedded applications and not actually drawing on a canvas. Is that correct? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

2D games are possible on a canvas. However, I believe those 3D games using HTML5 are actually embedded applications and not actually drawing on a canvas. Is that correct?

30th Mar 2016, 11:46 AM
Sourav Tosh
Sourav Tosh - avatar
6 Answers
+ 2
Basic 2D games are written in JavaScript but work on Canvases in HTML
6th Jun 2016, 5:36 AM
Ashinze Ekene
Ashinze Ekene - avatar
+ 1
No. The 3D games actually use WebGL for their rendering, and they are controlled using Javascript (much like the 2D canvas games). No plugins are needed on modern browsers. But there are projects like Unity and a sandbox for programs in Chrome, that do run the programs on an external application.
7th Jun 2016, 12:21 PM
Eric Shtivelberg
Eric Shtivelberg - avatar
+ 1
Learn three.js & ammo.js for 3d games. (tree.js for 3d rendering & ammo.js for physics).You don't need a browser that supportes webGl.For some examples : http://threejs.org/examples
6th Sep 2016, 2:18 PM
Asrk
Asrk - avatar
- 1
yes
20th Oct 2016, 4:23 PM
Clitson Belleau
Clitson Belleau - avatar
- 2
you mean games can be writing with HTML?
4th Jun 2016, 7:43 AM
Cele Prince
Cele Prince - avatar
- 4
I don't think so because to write a game code we have to use an appropriate environnement prepared to.
13th Apr 2016, 5:47 PM
Sami JELITI