HTML5 games programming. Where do I have to start?

DRI2000

Well-Known Member
OP
Newcomer
Joined
Aug 23, 2015
Messages
79
Trophies
0
Age
33
XP
367
Country
I want to develop games for browsers in HTML5 but I don't know where to start to learn... I don't know HTML5 programming, and just a bit of HTML and CSS, but almost nothing. Emphasize that my objetive is developing games, not web pages.

Anyone could help me, please?
 
Last edited by DRI2000,

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,350
Trophies
3
XP
27,317
Country
United Kingdom
HTML5, and I also assume you have tried something like http://www.playmapscube.com/ so you will also want webgl. I do also have to say the fancy stuff might also run a database on the backend but let us not go there right now. Do you know much about game theory and game design? Similarly if your only "programming" experience is older HTML and CSS you might have to learn the fundamentals of programming (loops, branching, data typing, variables, functions....) alongside this all, to say nothing of general programming practices. Oh and this will probably go an awful lot better if you knew javascript.
You are kind of jumping in at the deep end here, on the other hand I do not doubt that in a couple of hours from where you are now you could have a basic maze puzzle made in HTML5 -- can you make something a user can control, can you make it pop a "you won" text box up when the user touches it, can you make a barrier to the user controlled item? All three are pretty easy and thus you have your maze..

Still some links
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Introduction
https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API
I have some more general programming in http://gbatemp.net/threads/so-you-want-to-learn-to-program.371255/

You can go really crazy if you like and try things like this, but I would not suggest it just now.
 
  • Like
Reactions: DRI2000

DRI2000

Well-Known Member
OP
Newcomer
Joined
Aug 23, 2015
Messages
79
Trophies
0
Age
33
XP
367
Country
Thanks!! Don't worry about the fundamentals, I know a bit of C++, C# and Basic, I don't thinks it will be diffcult for me :D
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,350
Trophies
3
XP
27,317
Country
United Kingdom
In that case I will also link http://code.tutsplus.com/articles/a-brief-history-of-html5--net-23064 and if you search for other history of html5 (be careful as HTML5 does have an api called history) as such things will hopefully let you get on the logical path that the HTML folks went down to arrive at it. It might not but it helped me and has helped a fair few others when they wonder why certain things are the way they are.
 
  • Like
Reactions: DRI2000
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
  • Iron_Masuku @ Iron_Masuku:
    Hello
    Skelletonike @ Skelletonike: hmm