Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Allow users to change the X and Y coordinates of the dialog box [Fabric 0.16.0/1.20.1] #7

Open
pokesmells opened this issue Jul 15, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@pokesmells
Copy link

Feature Description

Essentially allowing for movement of the dialog box, on both the X and Y coordinates.

Propose Reason

This would allow more customization and allow users to determine where they would like the dialog to appear! For example, in many MMORPGS dialog appears from the sides! so this overall would be nice.

@pokesmells pokesmells added the enhancement New feature or request label Jul 15, 2024
@KrLite
Copy link
Member

KrLite commented Jul 15, 2024

Not hard to implement. But maybe the X coordinate needs to be limited to a non-negative number.

What I'm also going to do:

  • This feature of customizing X and Y coordinates.
  • Detect vanilla commands such like execute as <entity> run tell ... to allow displaying any chat messages from any entities. Also, this won't require an installment on the server side as I'm not going to implement a custom command.
  • More alignment options that user can select how the messages are aligned.
  • Maybe allow displaying multiple lines instead of just truncating them.
  • Maybe add support for some special messages and some special syntaxes, for example, use a special sentence to trigger a particle effect instead of triggering a dialog, or use a syntax like <id> to display an in-game item's icon dynamically through an identifier. That would be interesting!

What I'm not going to do:

  • There won't be animations or custom dialog borders and backgrounds. I wanted to make a mod whose appearance is just like vanilla's, with no transitions, no complex things, just a simple function.
  • There won't be support for displaying multiple dialogs at the same time, which means for every entity, there will only be up to 1 dialog. I believe that if there's need to display multiple dialogs, then there're problems with the current context. Multiple dialogs will be hard for players to understand.

@pokesmells
Copy link
Author

I believe it would be nice to have a subtle fade in or out to make the text more RPG-like, it would add more flair a more life, so nothing extremely fancy. There isn't a need for a border or etc, as the current look is quite suitable.

Multiple dialogs can be interpreted if a chat range were implemented, meaning you can configure how far you have to be to see the chat! this would be real nice and easy to configure. As I procure mod packs, I would ideally set the chat range to be close SO the player would only interpret the people they are talking to! It makes sense that seeing a crap ton of dialog would be confusing, but this could potentially alleviate that issue :D

@pokesmells
Copy link
Author

  • There won't be animations or custom dialog borders and backgrounds. I wanted to make a mod whose appearance is just like vanilla's, with no transitions, no complex things, just a simple function.
  • There won't be support for displaying multiple dialogs at the same time, which means for every entity, there will only be up to 1 dialog. I believe that if there's need to display multiple dialogs, then there're problems with the current context. Multiple dialogs will be hard for players to understand.

And to add onto this, in another feature I mentioned the colors. The background that you currently have is quite enough! I believe it's as vanilla and MC style as possible and the allowance of the color change of the background of this of the text would be enough IMO

@KrLite
Copy link
Member

KrLite commented Jul 16, 2024

They are good advices. I shall make a list of possible improvements when I'm free.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants