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
1 vote
0 answers
47 views

Background I am creating a networked web game using NodeJS, Express, and SocketIO (Note, however, that this question is agnostic to implementation details). I have implemented a client-server ...
Rob's user avatar
  • 53
3 votes
1 answer
114 views

I'm trying to build my multiplayer game to WebGL in Unity (using Mirror). However, when I press "build", it gives me the following three errors: ...
kalilamodow's user avatar
0 votes
1 answer
734 views

Building a multiplayer game on the web that will be able to handle thousands of players at once, separated into independent lobbies/sessions. There may be 20 players in one lobby, 10 in another, 30 in ...
Michael Moreno's user avatar
3 votes
0 answers
172 views

This is my first foray into game-dev and I only have webapp experience professionally. I'm creating a browser game in nodejs/react. It is mostly text-based, so no intensive graphics (think chess.com ...
WaveRunner's user avatar
1 vote
0 answers
793 views

I'm making a multiplayer game with a Node.js server, and I'm searching for how to write the game loop. I'm currently using a setinterval every 15ms, but someone ...
Wild Royal's user avatar
0 votes
0 answers
37 views

I have been kicking around an idea for creating a web based game where they can upload images in order to create random monsters/items. This I thought was most similar to how monster rancher ...
Dean Petty's user avatar
0 votes
0 answers
234 views

I have a turn based card game node app, and in development env I store all game states in memory (1 object per "game" in a big parent object) since these objects are constantly changing and ...
Roy's user avatar
  • 1
0 votes
2 answers
914 views

I'm making a MMO Bullet Hell game on Game Maker Studio 2 with a node.js server and I'm already able to receive and send information through UDP connections. I NEED to keep the server as fast as ...
Otarom's user avatar
  • 31
1 vote
1 answer
397 views

I am following the boardgame.io tutorial, but I do not want to use either of the two implementation options covered in the tutorial (React and Parcel). The tutorial requires a framework or bundling ...
Jim U's user avatar
  • 263
0 votes
0 answers
224 views

At scale for multi-users, what is the proper way to implement timer updates? I'm making a game where Users have buildings to upgrade which involve timers (Yes I know there are plenty of questions ...
ChrisW's user avatar
  • 1
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
1 vote
1 answer
106 views

I have recently uploaded a server with node js in my AWS environment and added a HTTPS listener in my load balancer. Also generated a certificate using ACM(AWS certificate manager) for my google ...
videogamechef's user avatar
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
3 votes
2 answers
3k views

I am using some unity "socket-io" plugin i found on the asset store. (its essentially just a scoket.io wrapper for websocket-sharp) everything works absolutely fine, i can catch clients connecting or ...
Nick's user avatar
  • 561
0 votes
1 answer
1k views

I am starting to use phaser to create games and I found a problem that I can not find for more tests that I did. I can not show the images I am uploading. You only see a small square in the center, (I ...
Miguel Espeso's user avatar
0 votes
1 answer
538 views

We are working in a simple MP strategy game using Node, Express and Sockets! I'm wondering if there's an easy approach to a transformation to make a Top View game into a 3D Isometric, without adding a ...
Chris Russo's user avatar
1 vote
1 answer
992 views

I'm making a simple game and I use requestAnimationFrame. Now the problem is that when I change to another tab the game pauses and when I return the game continues. ...
CupOfCoffee's user avatar
0 votes
2 answers
262 views

Im doing a online game havingclient, js html5, and server, nodejs with websockets. I've read some blogs about websockets security, and its limitations, but no real implementation or example. Could ...
franmcod's user avatar
  • 103
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
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
5 answers
640 views

CONTEXT: I am currently developing the front-end/ client of a simple browser game using HTML5 Canvas/JavaScript. In the future, I would like to add a multi-player dimension to it, most likely using ...
user avatar
1 vote
1 answer
2k views

I'm making a multiplayer game using socketio + nodejs. Currently I use setInterval on my server and requestAnimation on my client render. Now I want to create multiple game instances for each room and ...
user111794's user avatar
0 votes
2 answers
694 views

I'm creating a multiplayer platformer game with 4 players in multiple rooms. I've read a lot of articles and researched about client prediction and lag compensations. I think I can somehow manage to ...
Jason's user avatar
  • 1
0 votes
1 answer
139 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
2 votes
1 answer
757 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