Hi, with the Windows 8 metro apps being written in HTML5/JS, I've decided that I should learn to make a fair game in JS. Unless I've missed something, w3schools.com is more about the syntax of JS than a good way to use it. Can anyone recommend a good tutorial?
Offline
As far as I know, you should go along with w3schools.com first, to get the basics.
Then, I'd recommend getting started on a project, so that you can learn new concepts as you go along. Googling everytime you encounter a bug etc
Offline
The way I program stuff is I learn the very basics that you need to know, then I learn as I go.
Of course, that has it's flaws, but so far it's working for me.
You should learn syntax then start working, but if you have a different method that's OK.
Offline
Dinoclor wrote:
The way I program stuff is I learn the very basics that you need to know, then I learn as I go.
Of course, that has it's flaws, but so far it's working for me.
You should learn syntax then start working, but if you have a different method that's OK.
That is my method :3
Offline
I made a game-engine-like thing for JavaScript (does a lot of the rendering and event-detection for you, as well as sounds, cookies (for saving), and rotation) if you want to look at it (it's not done yet, but it might give you something to start with). It takes advantage of the Canvas element (HTML5). Unfortunately, it doesn't work on IE (I think IE has its own syntax for Canvas). Anyway: I'd recommend looking at HTML5 canvas for the visual aspect.
Offline
If you want to see canvas in action, look at this that I made a while back.
Offline
jji7skyline wrote:
Dinoclor wrote:
The way I program stuff is I learn the very basics that you need to know, then I learn as I go.
Of course, that has it's flaws, but so far it's working for me.
You should learn syntax then start working, but if you have a different method that's OK.That is my method :3
Me too. :3
Google is my friend when I run into problems.
Offline
Yeah, I would try that approach, but the problem is that while I understand the syntax of JS and HTML, I don't really know where to start with a game.
Offline
Since Windows 8 is compatible with exxys* too, I'd advise to stick with exxys*.
* .EXE
Offline
cocolover76 wrote:
Since Windows 8 is compatible with exxys* too, I'd advise to stick with exxys*.
* .EXE
Actually, Javascript is compatible with EVERYTHING.
Offline