Skip to main content

Questions tagged [websocket]

A bi-directional WebSocket protocol makes possible more interaction between a browser and a web site, facilitating creation of real-time games.

Filter by
Sorted by
Tagged with
1 vote
0 answers
44 views

How do I resolve glitches in grid-based movement due to lag in a network game where player input is handled on a fixed schedule?

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
0 votes
0 answers
40 views

multiplayer game using express(for login, registration etc..) and socket.io(for game-actions) what is architecture and how to scale it horizontally?

Hey please sorry if I sound dumb and correct me! So, I am building multiplayer game using react.js,express.js and socket.io and now really want to deploy after building so and also i want to make my ...
Vivek Shah's user avatar
0 votes
0 answers
55 views

Should I be adding a database functionality for my game rooms?

I'm a little confused on when it's needed to bring in Mongo or MySQL in a web browser multiplayer card game. Here's my plan so far: I'm using React, Node.js, Express, and Socket.io. I'm having the ...
chung's user avatar
  • 101
1 vote
0 answers
190 views

What does a "non viable function" error mean?

I am trying to use a websocket and some C++ code in order to trigger a function toogleLight every time Unreal connects with a server. But I have the following error:...
Nicolas Osorio Bustos's user avatar
1 vote
1 answer
113 views

LibGDX websockets GWT html app cant find source to WebSocket class

I'm using this library to connect to websocket server: https://github.com/czyzby/gdx-lml/tree/master/websocket It's working on android/desktop applications, but when compiling to html gwt app with ...
Часть Пустоты's user avatar
0 votes
1 answer
195 views

Unity Mirror AWS clients won't connect to server

My Unity project uses the Mirror Networking component and I am using an AWS free tier EC2 instance to host it. I configured the instance following this guide from the Mirror documentation, including ...
Michael's user avatar
  • 51
0 votes
1 answer
692 views

Multiple Node/Express/Socket.io servers for game lobbies?

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
0 votes
1 answer
394 views

How to set a header on a WebSocketPeer?

How to pass custom header information on a Godot4 WebSocketPeer connection?
Victor Lee's user avatar
0 votes
1 answer
493 views

How to implement WebRTC in a Godot project that already has communication through WebSockets?

I'm currently working on a fast-paced multiplayer sports game using Godot. The players' movements and actions are already being synchronized with WebSockets and Channels using a Node.js server. I now ...
Drikus Roor's user avatar
0 votes
1 answer
166 views

In a multiplayer game developed using client server model with socket.io and node.js how can we describe the osi layers

What will the different layers in the stack look like in the osi model?
karsh's user avatar
  • 9
0 votes
0 answers
77 views

How do I handle multiple matches for a multiplayer game based on web?

In a multiplayer chess game based on web where the server must validate the plays, store the current game state and provide the gameboard info to be rendered on client side, among other things related ...
Yago Biermann's user avatar
0 votes
1 answer
759 views

How do I implement a countdown timer for a multiplayer chess game?

There's a lot of multiplayer games out there that uses countdown timers to set a time limit in their game sessions, but how is it actually implemented? For example, in a chess multiplayer game based ...
Yago Biermann's user avatar
0 votes
1 answer
338 views

P2P + Authoritative server for Web based game, how to combine?

I'm working on an online Web RPG game (jRPG) with a map, that characters can go around. Also, an important part, is that each player has his own world and each player can invite his friends to play on ...
Sergey Sharpov's user avatar
1 vote
1 answer
636 views

How can I protect against a cheater changing variables on the client?

I built a multiplayer fighting game with impactjs, socket.io and nodejs and faced with "change variables hack" (I want to call it like this). All my current logic with jump, running, shoot ...
李白 puer's user avatar
0 votes
0 answers
44 views

Signalling time-expiry to clients in a browser-based multiplayer game

I'm trying to develop my first ever browser-based multiplayer game that utilizes my own websocket server which has no multi-threading capability. It will be a game where players try to be the fastest ...
Decent Dabbler's user avatar

15 30 50 per page
1
2 3 4 5
8