+ 6

How do i make a game with JavaScript

15th Nov 2018, 5:52 AM
Webster
Webster - avatar
11 Answers
+ 15
Look at web codes in the Code Playground. Use "game" keyword.
15th Nov 2018, 6:43 AM
Igor Makarsky
Igor Makarsky - avatar
+ 6
Coding Snake in 4.5 minutes with JavaScript. https://youtu.be/xGmXxpIj6vs
15th Nov 2018, 7:37 AM
Shuaib Nuruddin
Shuaib Nuruddin - avatar
+ 6
https://www.w3schools.com/graphics/game_canvas.asp
15th Nov 2018, 2:42 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 4
Start with a small project like rock paper scissor. This code will help you https://code.sololearn.com/WdcqBg5C8fx1/?ref=app
16th Nov 2018, 2:51 PM
Seniru
Seniru - avatar
+ 3
First you need a consistent knowledge of JS, then you have to start learning about the Canvas (It's an element of HTML5). After that you can choose a framework to help you with your game projects. I'm not sure about this guide, but this is what I'm doing, it's working for me, Hope that It'll help you someway.
16th Nov 2018, 12:05 AM
Vinny Reis
Vinny Reis - avatar
+ 3
Madhur what about p5.js?
17th Nov 2018, 8:14 AM
Shuaib Nuruddin
Shuaib Nuruddin - avatar
+ 2
You can use a game engine or framework instead of pure JavaScript. Most famous 2d web framework is Phaser, while for 3d you can use Three.js, babylon.js, p5.js etc. Look at this code as well. https://code.sololearn.com/WlHddLDen1ve/?ref=app
17th Nov 2018, 4:57 AM
Madhur
Madhur - avatar
+ 1
A useful sites to get help for creating game! https://www.gamedev.net
25th Nov 2018, 5:22 AM
AL Araf
AL Araf - avatar
- 5
Hllllo
16th Nov 2018, 3:57 PM
Ken Hung
- 6
Lol
15th Nov 2018, 6:32 PM
Ken Hung