• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Javascript or what?

Status
Not open for further replies.
Level 29
Joined
Jul 29, 2007
Messages
5,174
You can make games on a web page with 2D (<canvas>, SVG) or 3D (WebGL) graphics, 3D sounds, controller input, etc.

It will usually not perform as well as something that runs directly on the desktop, but this might not matter to you (this is usually the case!)

One of the nice things is that you can alleviate the DOM (HTML) to make GUI, which is a bit annoying to make manually with code.

The main drawback is that web technologies are advancing fast, which results in different browsers not necessarily supporting everything, browser-specific prefixes, etc. (plus v8 vs SpiderMonkey on the JavaScript side - or if this means nothing to you, why Chrome is so much faster than Firefox at executing JavaScript).
You can check caniuse to see what's supported by what browser, and webglstats for WebGL specific stats.
 
Status
Not open for further replies.
Top