Questions tagged [messaging]
The messaging tag has no summary.
27 questions
0
votes
1
answer
104
views
Chat/private messages in online browser game and SPAM
I have an online browser game that I am working on in my free time with a couple thousand players total. I want to implement either a private messaging system or some chat so that players will be able ...
1
vote
1
answer
477
views
Unity InputSystem will Send but not Broadcast
I'm trying to organise my project so that each MonoBehaviour receives relevant impulses/actions and handles them.
I have the following:
InputManager: Empty game ...
9
votes
2
answers
10k
views
How to disconnect all signals of an emitter?
This a follow-up question of this one
I want to disconnect multiple signals before using queue_free().
In docs we have:
...
2
votes
1
answer
2k
views
How do signals work when queue_free is called?
Consider this setup:
* KinematicBody2D (Player)
|- Sprite (icon.png)
|- VisibilityNotifier2D
With Player.gd:
...
2
votes
2
answers
2k
views
Event queue: tell or ask?
I'm working my way through a lot of game development resources, coming from a completely different field of software development, I'm interested in learning what patterns are frequently used in game ...
0
votes
1
answer
114
views
Message Passing b/w “LAN Server Only” and “LAN Client” on Different Scenes in Unity
I want to pass message back and forth on client and server which are on different scenes, how can I do that in Unity?**
Following is my Scenario:-
I have 5 scenes-
BaseScene (2) OfflineScene (3) ...
1
vote
1
answer
278
views
Seeking to streamline message system in my engine (C++)
So been building up my own custom engine, and one core bit of it is a message system to keep all the systems disconnected.
As it currently stands I have it take in a pointer to every other system, ...
1
vote
1
answer
242
views
How do I avoid big switches in my message system?
I've been implementing a message system for my small engine, and I have started to think about optimizing and maintaining it. Right now, my message class looks like this (at its simplest - only member ...
0
votes
0
answers
149
views
Change entity's size based on health [ECS]
I'm making a kind of entity component system framework and I have a doubt:
I have two components 'health_damage', 'physic' (which contains position, weight,...) and 'sprite' (position, dimensions...)....
-1
votes
2
answers
110
views
How do I properly set criterias, when sending search requests in messaging system?
I'm designing a game engine in C++, and I ran into a problem with my messaging system.
The "RequestData, ResultData" system is ...
0
votes
3
answers
273
views
How to prevent sending semantically wrong messages in event based architecture?
I have created the following architecture in C++:
ReceiveMessage has two important parameters:
Scope, which defines the scope, ...
1
vote
1
answer
237
views
Unity C# - moving objects and Debug.Log; show multiple messages only once (easy but stuck)
I have the following scenario:
a sphere is moving towards an object it can see (a cube). The cube is moving randomly through the landscape. The sphere will keep following it. I have a script that ...
1
vote
1
answer
450
views
How to pass arguments with BungeeCord/Bukkit plugin messaging
I am trying to send a plugin message from Bukkit, to BungeeCord, but can not figure out how to send arguments.
Here is the code from the Bukkit plugin, which sends the message:
...
0
votes
1
answer
192
views
Component messaging system - using integers vs message objects
I'm currently working on a component based system for my game, and I've decided to use a messaging system to communicate between components. I've read some on the subject and it seems that most people ...
1
vote
2
answers
3k
views
How to design parameters for events
I'm working on the event system for my engine, and have some trouble deciding what types of parameters my events should have to be both generic and specific at the same time. I want to be able to ...
4
votes
1
answer
261
views
Executing commands at the exact same time on 2 or more computers
I have an RTS game, with deterministic simulation, but if I want multiplayer to actually work, I need commands sent between computers to be executed at the exact same time. My game's networking is ...
3
votes
2
answers
530
views
What are the advantages of having component logic in a "system" versus the component itself?
For the past few days I've been trying to make my first game. I did some research on usual development practices and patterns and I settled on a composition system where the different components ...
7
votes
1
answer
5k
views
What are Blackboards?
I am implementing an Entity System for my game. I am aiming for a larger procedurally generated world. The world will be filled by AI entities where "on screen" and "near screen" entities will be ...
1
vote
1
answer
294
views
How do I best solve multiple component modifications via a single event?
I'm trying to solve multiple component modifications via a single event. Is there a better way of handling this?
I have an a label entity that cares about when a shield entity's hitpoints component ...
2
votes
1
answer
934
views
Where to put my entity component messaging functionality?
I've done my research and read as many articles and posts on messaging and ECS's as I could find to help me get mine working. However, I'm at a roadblock on how to get my messag functionality to be ...
3
votes
1
answer
1k
views
Registering and (more importantly) Unregistering with Message Server
I've finally implemented an extendable message class and messageServer class. The message class dynamically assigns a unique static ID to each derived message type (ex. ObjectCreatedMessage might be ...
0
votes
1
answer
547
views
Structure examples for web-based chat for web-based game [closed]
What would be the best tools to use to create a web based chat/messaging system ?
for client we have :
Browser (any JS solution - preferably without using flash like in jsocket)
for server we have :
...
5
votes
3
answers
897
views
How can I achieve strong typing with a component messaging system?
I'm looking at implementing a messaging system in my entity component system. I've deduced that I can use an event / queue for passing messages, but right now, I just use a generic object and cast out ...
3
votes
2
answers
184
views
What is the best way to close dialogs in a platform game controlled by keyboard only
I'm developing a flash puzzle platform game in my free time and I got stuck on deciding how to implement a feature. The game will be controlled by keyboard only, no mouse available.
My game will have ...
3
votes
2
answers
876
views
PHP Browser Game Private Messages?
First off, I'm asking this question here because gaming and messaging are intimately connected. Why win if you can't gloat? Nevertheless, I won't be offended if this needs to be moved to overflow.
...
2
votes
1
answer
4k
views
Messaging/Event System in Generic Game Engine? Yay or nay?
Should I develop a basic messaging/event system for a generic game engine or should I leave it up to the individual case-by-case basis of the end-users to create systems specific to the game being ...
8
votes
4
answers
6k
views
Game Messaging System Design
I'm making a simple game, and have decided to try to implement a messaging system.
The system basically looks like this:
Entity generates message -> message is posted to global message queue -> ...