+ 1

How to create a game using html?

5th Sep 2016, 2:49 AM
Abhinav Trivedi
Abhinav Trivedi - avatar
4 Answers
+ 2
Actually, you'd need JavaScript in HTML5 using a canvas for a game or WebGL also using JavaScript.
5th Sep 2016, 8:31 AM
nk361
nk361 - avatar
+ 2
Remember that html alone is simply a markup language. This basically means it is used for processing/formatting/displaying information. A game usually requires more user input than that which js can provide when used with html. However, if you wanted only html, I suppose you could make a text based game with links to multiple pages to build the storyline. It would be kind of like a build your own adventure book - not really a game though.
7th Sep 2016, 8:42 PM
Ryne
Ryne - avatar
+ 1
Ah, thanks Ryne. Thought this is what I would need to do. Nice to see I'm on the right track. :) So aside from links and images, I would need to make my own outcome and simply place the results in those scenarios as text on new pages based on which choice. So it would be an interactive rpg at most. Should be good practice for Html either way. Reminds me of those mystery books as a kid where you would turn to page 7 or 10 based on a choice on page 6. The difference being that a website would not have any real limits or be too cumbersome.
26th Oct 2016, 12:25 PM
Marc Boutin
Marc Boutin - avatar
0
learn three.js for 3d games
6th Sep 2016, 2:08 PM
Asrk
Asrk - avatar