HTML 5 refers to new web technologies such as high performance JavaScript engines, canvas 2D and WebGL, video and audio tags.
Questions tagged [html5]
513 questions
15
votes
4 answers
How to bundle a HTML5 JavaScript game as native Windows application?
As the web browsers evolve, HTML5 game development with JavaScript, Canvas, webgl is increasingly becoming popular. The advantage of web-based games compared to native apps is that they run on multiple platforms, and you don't have to fiddle with…

seb
- 251
- 2
- 3
13
votes
7 answers
Will a Game written using HTML5 work on smartphones?
I would like to write a game that could be played on smart phones and was wondering if HTML5 might be a way to write games to work on a wide selection of smart phones.

EddieC
- 143
- 1
- 7
6
votes
2 answers
Is there an ideal width to height ratio?
I would like to know if there is any "ideal" width to height ratio when creating games for the web.
My canvas is fluid, and resizes according to the browser width and height. But with all the devices out there it's difficult to know what ratio to…

justanotherhobbyist
- 1,086
- 2
- 14
- 31
6
votes
1 answer
Play game by coding your strategy
I am building a simple strategy game, the goal of the game to teach programming basics to kids.
The concept of the game is simple, there will be a set of colony individuals - different type (resource gathering, fight, defend, scout ..etc).
I want to…

Ahmad Alkhawaja
- 287
- 1
- 6
5
votes
4 answers
HTML5 without a framework
I am looking to get into game development, after a lot of searching I have decided to try with html5 and, while I can see the advantages of frameworks, I would like to learn the basics without a "crutch".
Is it realistic to even try and start…

tony09uk
- 153
- 4
4
votes
5 answers
Html5 games, what is the standard dimension to use?
I am trying to make html5 games to be played on the browser(not offline apps), and I am trying to support the maximum number of platforms, hence I need to know what dimension should I use for the game canvas so that it works in the most number of…

aoi
- 141
- 1
- 2
4
votes
1 answer
What do html5 game buyers/sponsors do with the game?
I understand there are html5 devs who make contracts with companies: they allow them to use their games for payment.
My question is how do these companies use these games to their benefit: what purposes do they have in forming these contracts and…

badso
- 95
- 1
- 5
3
votes
2 answers
Is it possible create an HTML5 mobile game without the user having internet connection?
I trying to make a app for the Play Store and App Store. My app will be 2D, but will have 3D effects. Is it possible to program it in HTML5 without the user having internet connection? Also, are there any good tutorials on HTML5? Thank you in…

Coding Seahawks
- 39
- 2
0
votes
1 answer
HTML5 - multiple animations, different fps
I want to create an html5 game which contains multiple sprites.
For different elements I want to create an fixed fps.
For example:
Walk - 10 fps, so 10 sprites will be shown within 1 second
Run - 15 fps
Attack - 3 fps
How can I create this with…

Ismail
- 99
- 1
- 8
0
votes
1 answer
pixi.js - PIXI undefined
I am using pixi.js to learn about HTML5 game development. When using this line of code
var bunny = new PIXI
I get an undefined error saying that PIXI isn't defined.
Here is my HTML
PixiJS

Jordan Baron
- 101
- 2