+ 2

Online JavaScript Game

What will it take to make a simple game written in JavaScript/HTML to be playable online with up to 4 players?

10th Apr 2019, 7:01 PM
Fernando Moceces
Fernando Moceces - avatar
4 Respuestas
+ 2
First of all, you should know a little of physics for the collisions, when the player jump etc. Also, it requires canvas, as it is a simple game. Mouse and Keyboard events for each player, so I recommend you to make a Class Player to make the 4 object players, for make it online, actually I don't know how but you can look it up it shouldn't be difficult to do.
10th Apr 2019, 9:26 PM
Juan David Padilla Diaz
Juan David Padilla Diaz - avatar
+ 1
Thank you for the responses. I already have my own game (a card game native to my origin). I have it written, is actually pretty solid and I would like to make it playable online so I can battle my buddies. I did some google research but things looked overwhelming. The only result that remotely resembled what I'm trying to find was a tutorial to make a multiplayer car racing game which is so broadly written and made no sense to me. All I could take was that it involved nodes or something (npm, I don't know). I hope I anybody could shade some light here.
11th Apr 2019, 12:28 AM
Fernando Moceces
Fernando Moceces - avatar