Skip to main content

Questions tagged [node.js]

Node.js is a framework for making server-side Javascript applications, which is becoming more and more popular for game development. It endorses asynchronous I/O and implements CommonJS standards.

4 votes
1 answer
1k views

I'm building an MMO using Node.js, and there are monsters roaming around. I can make them move around on the server using vector variables acceleration, velocity and position. acceleration = ...
Nick's user avatar
  • 1,605
2 votes
1 answer
1k views

I have to implement cron jobs in to my MMO browser game. Its like in Travian game - you build something, and wait few minutes or hours.. But the problem is, that cron job shedulers made to be sheduled ...
mansim's user avatar
  • 191
5 votes
5 answers
3k views

I'm confused how to handle the players in my MMO server (using Socket.IO but I think this should apply to any MMO). Suppose there are 2 players in my server that are far away from eachother. I will ...
Nick's user avatar
  • 1,605
3 votes
3 answers
2k views

I am developing an MMORPG server using NodeJS. I am not sure how to implement Buffs, i mean, equipped objects or used skills have effects on the Player() which has many Stats(), some of them have a ...
Mattia Manzo Manzati's user avatar
0 votes
3 answers
3k views

I'm building a 2D MORPG using JavaScript, Node JS and socket.io To prevent cheating, I have to run all collisions for all players on my server. I'm currently doing fairly simple square collisions ...
Pascal Claes's user avatar
12 votes
3 answers
7k views

I've been reading the Valve article on multi-player networking which has been adapted from Yahn Bernier's 2001 paper called Latency Compensating Methods in Client/Server In-game Protocol Design and ...
Yoshima's user avatar
  • 223
9 votes
3 answers
13k views

So I've grasped how to use A* for path-finding, and I am able to use it on a grid. However, my game world is huge and I have many enemies moving toward the player, which is a moving target, so a grid ...
Stephen's user avatar
  • 460
7 votes
3 answers
5k views

I am tinkering around with some simple Canvas based cave flyer game and I would like to make it multiplayer eventually. The plan is to use Node.js on the server side. The data sent over would ...
Petteri H's user avatar
  • 1,743
5 votes
2 answers
1k views

What's the usual way to handle events that are checked both on server and the client, like attacking? There's a cooldown timer to an attack of which the client is aware (so to prevent spamming server ...
TheAlmightyOne's user avatar
0 votes
2 answers
357 views

Scenario: 4 players, each can have from 1 to 100 pawns. I want to be able to efficiently check if Player 1's pawns collides with Player 2, 3, and 4. Currently I have an AABB check, done first on ...
Ardi's user avatar
  • 15