Answer the question
In order to leave comments, you need to log in
How to learn how to write games in JavaScript and where to get training materials?
Friends, good day to all! Congratulations to all on the past holidays. I'm interested in writing games using JavaScript. I want to write on canvas, of course. I rummaged and rummaged through the Internet, but I didn’t find anything worthwhile about this, but I would like to find some educational materials in order to understand how to draw and make multiplayer for 2D games (and later for 3D). That is, from scratch: game-loop, animations, explosions, effects, movements, game progress and passing levels. It seems that I know js perfectly, as well as jquery, but I have never written games at all. Please advise the proper literature / video lessons / tutorials in Russian or English. If there is something similar, but in Python - please let me know too. Thanks in advance!
Answer the question
In order to leave comments, you need to log in
To learn how to code games in JS, it's better to start with craftyjs.com
Everything is simple and clear.
Tutorial. 2D game in pure JS: https://developer.mozilla.org/en-US/docs/Games/Wor...
But it's easier to write using engines. Their list: https://html5gameengine.com/
Recently answered take a look Where can I see an analysis of how games are made on js, like a multi-way tape? (there are links there)
3D on the web is either WebGL today or with a plugin for unity, start with 2D
Guys, why didn't anyone say about LibCanvas (2D) or threejs (3D) ?
Svyatoslav Demidov , I also looked in the direction of pixi and phaser for a long time, but I don’t remember why it didn’t suit me ... By the way, do they render the entire Canvas? Or that element with which you interact?
And so, it all depends on the task at hand, for example, I implemented mahjong on Backbone.js, for fun, only my game was poorly generated, but that's another story)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question