Jump to content

Node.js Multiplayer Simple Game


primrose93
 Share

Recommended Posts

https://drive.google.com/folderview?id=0Bwl58NPLObeIWEQ3YlNlTV9KNWs

Here's a sharable link to the directory where my files are located. There's no node_modules, so it's necessary to install before express and socket.io. 

The problem is I can't create and render the balls which need to bounce all the time. The server is responsible for creating my players and balls. I did successfully the creation and movement of my players with the arrow keys and that's synchronised to all the clients. But I can't do the part with bouncing balls. 

It seems simple game but as far as I am new to this stuff, I can't figure it out. 

I provide a link to the directory of my files.

The command to start the game is: node server.js.

If anyone could help me, I would be very happy. 

Thanks in advance guys.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...