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.

Filter by
Sorted by
Tagged with
2 votes
1 answer
755 views

I am building a 2d top down multiplayer mmo. very lightweight. a note on architecture I am using Unity as an engine, I have a backend Nodejs/socket.io websockets server. and a main Master client ...
Svp's user avatar
  • 143
2 votes
1 answer
141 views

I'm making a multiplayer game in HTML5 Canvas and Node using Express and Socket.io. It's a platformer style game and so far the players are able to see each other and move around on the screen. It ...
Phoenix1355's user avatar
1 vote
1 answer
921 views

I have a question, I need a formula to calculate the distance and a force based on the speed that drags the finger up on the phone. And is there any way I can get a look? And also shows the trajectory ...
Lucas's user avatar
  • 31
0 votes
0 answers
53 views

I'm currently developing a 2D game in the browser with Nodejs and Canvas. Im simulating the world state in the server side with a timestep of 60 frames per second. Im only sending a snapshot of the ...
Paco S's user avatar
  • 1
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
2 votes
1 answer
758 views

I'm writing a tank trouble clone just for fun using phaser and node, so this is my tank instantiation ...
hashcode55's user avatar
1 vote
1 answer
874 views

I am building a simple turn-based game in node.js using sockets.io. My web experience with node.js has typically involved saving everything to a relational database. I set this up for my game. I am ...
user5505266's user avatar
0 votes
1 answer
80 views

Can HTTPS webserver host an HTML page that uses JS to connect with secured web socket protocol multiplayer game just like node js? If so point me in the correct direction to read more.
morgansbyers's user avatar
1 vote
1 answer
153 views

I am implementing a pretty straightforward client/server multiplayer architecture with Socket.IO and am having an issue where my client framerate seems to be faster than the servers. I have both ...
zpr's user avatar
  • 111
13 votes
1 answer
15k views

I trying create simple Multi-player with HTML5 Canvas, JavaScript(too using John Resig simple Inheritance library) and Node.js with Socket.IO. My client code: var canvas = document.getElementById('...
rhavd's user avatar
  • 131
0 votes
1 answer
806 views

I've made a simple multiplayer game using socket.io, and took a lot of help from YouTube and the Internet on how to do it. However, the tutorials only talk about how to run the server locally, and ...
SIMMORSAL's user avatar
  • 101
0 votes
1 answer
2k views

If player's browser don't support WebGL, I want to redirect Web Player version. I think it's possible in UnityLoader.js file but how? ...
Friction's user avatar
2 votes
2 answers
1k views

I am having a look at redeveloping an old flash based top-down zombie shooter game I made in highschool so that it supports multiplayer using socket.io. My ...
Marty's user avatar
  • 49
0 votes
2 answers
837 views

I am working on a MOBA game similar to League of Legends. I am building the game server system in NodeJS/Socket.IO but I'm running into issues on figuring out the best way to handle projectiles (aka ...
Jacob Cross's user avatar
10 votes
3 answers
4k views

In online games, people prefer to log on and off whenever they want. Usually, their game achievements are seamlessly saved, on the server. That is not that difficult to achieve, but I am wondering how ...
Lanbo's user avatar
  • 1,007
0 votes
2 answers
200 views

I want to make a game where users create their content and embed it in a block-chain. For example, they have a small x,y grid. In the grid they place objects... After the grid is made they share it ...
scranley's user avatar
  • 115
7 votes
2 answers
3k views

I believe I've got my head round CSP after reading Gabriel Gambetta's blog, Valve article and buildnewgames.com but having an issue understanding the time execution of everything. So if a player ...
dolyth's user avatar
  • 445
5 votes
2 answers
7k views

I'm making a game with nodejs in which many enemies must converge on the player as the player moves around a relatively open space (right now it is an open field with few obstacles, but eventually ...
Stephen's user avatar
  • 460
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
0 votes
1 answer
3k views

Would it be suitable for making 3D games in an open world? Of course provided that I : create a node add-on in order to bind opengl code a native layer for making threads and processes I can almost ...
Vinz243's user avatar
  • 133
0 votes
1 answer
336 views

I had an idea for an architecture, and I was wondering if anyone has implemented something like this or has used AWS or some other service to help? I thought about using NodeJS + SocketIO to handle ...
Parris's user avatar
  • 995
1 vote
1 answer
1k views

OK guys, I have some experience with 2D game development (single player only), so that's fine no questions here. The problem is with multiplayer games. I already read lots of other questions and ...
Devester's user avatar
  • 133
6 votes
2 answers
4k views

I'm building an MMO with Socket.IO and Node.js. It works quite fast (though I don't have 1000 players yet) but my feeling is that it's not very optimized. JSON is super cool and easy to use within ...
Nick's user avatar
  • 1,605
3 votes
2 answers
2k views

I was wondering if Node.js was suitable for making games and apart from threads and engines, a big problem is can I port my game to Xbox or PS3/PS4?
Vinz243's user avatar
  • 133
6 votes
1 answer
3k views

I'm currently creating a multiplayer game using the HTML5 framework Phaser. It's a game where zombies spawn on the map and players have to shoot them to kill them. The zombies target players that are ...
kalittles's user avatar
  • 163
7 votes
2 answers
6k views

I am not a game developer by trade but am working on a card game (that is real time, not turn based). I was wondering what the common mistakes are that people make when new to this sort of ...
James P. Wright's user avatar
1 vote
0 answers
442 views

I'm developing a game with LibGDX, and right now I'm trying the multiplayer part. I have managed to connect several players through Node.js and socketIO but when I try to make the lobby I am doubting ...
Kuru's user avatar
  • 11
0 votes
1 answer
345 views

I'm surprised I couldn't find much information on this. I am making a top-down browser game in which the players see a small section around their player (see the image). Since the player doesn't need ...
James Hp's user avatar
1 vote
1 answer
81 views

I'm currently creating a simultaneous turn based card game in which two players play cards in three lanes to determine who wins points in these lanes. I've been struggling this past week trying to ...
Rohan Williams's user avatar
2 votes
1 answer
1k views

I'm building this game mostly because I want to experiment with Node.js and Socket.io, and the game is more like a proof of concept. To start with, I have a 2D grid system as the game map. ...
Arch1tect's user avatar
  • 297
0 votes
0 answers
55 views

We have been working in a Node.js game, part of a game network, which seems to be working slower and slower as you keep it open, as well as it seems to increase the RAM and CPU usage over time. We ...
Chris Russo's user avatar
1 vote
0 answers
397 views

First hello and sorry for my English, and now about my problem. I create node.js server that communicates with the browser-client for player position, life, def, ...
Георги Няголов's user avatar
0 votes
1 answer
85 views

I recently started coding a game with one of my friends and he is taking care of the front end and I am doing the back end. I read many blogs/articles/tutorials on how the back end communicates with ...
schylake's user avatar
  • 101
1 vote
1 answer
1k views

How can I connect to a nodejs socket.io server from a cocos2djs game? I've google all the way to no avail. I tried this but it ...
Anderson Madeira's user avatar
0 votes
1 answer
548 views

I'm currently developing a HTML5 Canvas Multiplayer Game using NodeJS and Socket.IO. My current setup using a logic loop on the NodeJS Server-end and sending update information to all Clients in this ...
devlsh's user avatar
  • 223
1 vote
1 answer
668 views

So I've been coding a little project in JS recently, using node.js and socket.io to create a server, and HTML5 canvas to draw the client side. The user receives info from the server every 20ms, and ...
Cameron C's user avatar
1 vote
1 answer
3k views

Instead of a game loop, I want something different: My game does not have much action going on; just moving users over a tile map with correct timers in between. Since I am using Socket.IO, I want to ...
Oliver Schöning's user avatar
0 votes
1 answer
141 views

Today my mind is a little foggy, the right thing was for me to do it the other day, but I will not, I will continue today. XD I need some help to think and find a way that works without bugs. What I'...
PerduGames's user avatar
1 vote
1 answer
986 views

I'm in the process of learning how to create browser based html5 games. I'd like to eventually be able to achieve a game with mechanics very similar to that of the game agar.io. I've been observing ...
kylepdavis's user avatar
0 votes
1 answer
600 views

As a Web/UI dev rapidly expanding into more wide-open generalist territory, the more I learn about how its done in other languages, the more I love JS for architectural and basic messaging/event-...
Erik  Reppen's user avatar
1 vote
0 answers
223 views

I'm new to exciting world of Unity, and I have problem establishing network connection using NetworkTransport API. I'm using NodeJS as server. And I have some questions. Does NetworkTransport.Connect ...
metsawyr's user avatar
2 votes
2 answers
449 views

What I am attempting to make is a faux real-time game engine in node.js (taking advantage of the non-blocking I/O). When I say 'faux real-time' what I mean is I want players to interact with the world ...
MetaGuru's user avatar
  • 263
0 votes
1 answer
632 views

I'm tasked with the development of a general use multiplayer API in JavaScript, with a Node.js back-end. The goal of the API is to provide a service to JavaScript mobile game developers so they can ...
RB-Develop's user avatar
-1 votes
2 answers
752 views

I'm developing a network game with node.js and I have the choice between these three options: 1) Send each point individually (very user responsive) 2) Send an update every 25 points or so (decent ...
John Smith's user avatar
0 votes
1 answer
88 views

I want to access the variable recipes defined in this code below. Unfortunately I have to define my recipes inside ...
Spaceboard's user avatar
1 vote
0 answers
60 views

I'm making a game with Unity. The game's multiplayer server runs on Node, but it's only run on my own machine. How do I bundle Node to my game's installer to install it on my player's machine?
Tomomi Sawako's user avatar
3 votes
0 answers
150 views

So here I made a little shooter game just to play around with and on my pc it runs fine but for people with worse internet/less powerful computers (e.g at school/few friends of mine) it is quite laggy ...
JohnT's user avatar
  • 43
0 votes
2 answers
869 views

I am developing game using libGDX libraries . I want to create multiplayer mode , where several players can play at the same time in the same room , each player can create his own room and other ...
Vahe Muradyan's user avatar
2 votes
1 answer
3k views

It is possible to make a multiplayer browser based game using cocos2d-javascript + node.js? If so, is there any tutorial about that?
felipebueno's user avatar
0 votes
1 answer
158 views

My server looks like this - ...
joe's user avatar
  • 121