This repository was archived by the owner on Feb 10, 2025. It is now read-only.
This repository was archived by the owner on Feb 10, 2025. It is now read-only.
Chat message should only appear for user's who are "close" to hear it #27
Open
Description
Do you want to request a feature or report a bug?
bug
What is the current behavior?
When a user types on chat, everyone in the map can see it.
If the current behavior is a bug, please provide the exact steps to reproduce.
- Player 1 logs in. Goes to (24, 20).
- Player 2 logs in. Goes to (243, 93).
- Player 1 says "Hello world."
- Player 2 sees "Player 1: Hello world."
What is the expected behavior?
Player 2 should only see a message from the player who is saying a message if they are theoretically in their viewport. So 15x11 tiles should be their chat range.
Metadata
Metadata
Assignees
Labels
Node.js-related or anything to do in the server"Hey, that's not suppose to happen."Issue/feature that is easy to fix or implement. Good for 1st-time contributors.Easy issues that are excellent for people wanting to get in meat of the code.Issues that we need multiple opinions on.It would be awesome if this was done, but not very critical.Features/issues relating to the player of Delaford.WebSocket issues and discussion.