0

How to create a JavaScript game on Canvas?

I actually would like to know if you can only write JS games on <canvas> or if JS its their own graphics? Thanks!

21st Jun 2018, 5:12 AM
Kyle
Kyle - avatar
10 Answers
+ 2
You can also create games without using canvas. Using DOM manipulation, you can create cool games like tetris using tables
21st Jun 2018, 6:15 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 2
chech my github acount https://github.com/borislavvv00 there you can see some simple games i have made.
30th Jun 2018, 2:23 PM
B K
0
you can write html on github?? how do i do this?
30th Jun 2018, 6:51 PM
Kyle
Kyle - avatar
0
also can you make your code private on guthub or no? and why cant i play the games, i can only view code....
30th Jun 2018, 6:58 PM
Kyle
Kyle - avatar
0
Yes you can post code on github no mater what is the language. Yes you can make your code private. To start the code you must first download it and run it with compiler if it is necesery. https://stackoverflow.com/questions/6866754/how-do-i-post-code-to-github
30th Jun 2018, 7:13 PM
B K
0
so github isnt for writing code.. its for sharing?
30th Jun 2018, 7:38 PM
Kyle
Kyle - avatar
0
yes
30th Jun 2018, 7:38 PM
B K
0
is there a platform i can write my game on? if not ill just continue using VScode:)
30th Jun 2018, 7:39 PM
Kyle
Kyle - avatar
0
No. You can use game engines if you want to make a game fast. But i think is better for you to write the all game from scratch.
30th Jun 2018, 7:42 PM
B K
21st Jun 2018, 7:42 AM
Alan Carreño Fiestas
Alan Carreño Fiestas - avatar