Recent Discussions
Animated text in chat
Unanswered
Argentine hake posted this in #questions
11 messages
0 views
Argentine hakeOP
Hi, I'm trying to implement animated gradients in chat messages for a plugin. An example of this is animated ranks or text in scoreboard/tab/nametags.
I'm aware that chat is static and can't be animated the way tab, scoreboard or nametags can. Although I've found some solutions like making a shader and I've heard that this has been done before, but I wasn't able to get any screenshots or videos and to complicate things further it's closed source. This closed source version used placeholders to animate text like so:
Examples of what I'm trying to achieve:
- https://modrinth.com/resourcepack/text-effects-by-akis
- https://itemsadder.devs.beer/plugin-usage/text-effects-1.17+
I tried creating a custom font in a resource pack to create the animated text, but because of my limited knowledge with resource packs and that not working for bedrock users at the moment I couldn't get that to work.
The goal is to ideally create this without requiring a resource pack in the first place, but I'm pretty sure that's not possible. If anyone knows any methods for animating text, please let me know.
I'm aware that chat is static and can't be animated the way tab, scoreboard or nametags can. Although I've found some solutions like making a shader and I've heard that this has been done before, but I wasn't able to get any screenshots or videos and to complicate things further it's closed source. This closed source version used placeholders to animate text like so:
%gradient2_style:animated:1_&#D0FF00,KEC04_{player_name}%Examples of what I'm trying to achieve:
- https://modrinth.com/resourcepack/text-effects-by-akis
- https://itemsadder.devs.beer/plugin-usage/text-effects-1.17+
I tried creating a custom font in a resource pack to create the animated text, but because of my limited knowledge with resource packs and that not working for bedrock users at the moment I couldn't get that to work.
The goal is to ideally create this without requiring a resource pack in the first place, but I'm pretty sure that's not possible. If anyone knows any methods for animating text, please let me know.
image.gif
Argentine hakeOP
https://cdn.discordapp.com/attachments/1432046763753078966/1432328022207234179/20251027_111900.mp4?ex=6900a6eb&is=68ff556b&hm=afcc9d6deeb20ba5ec64de29cd0cb2fe5b8837c1be667368532ef3fd2f1d1fd6&
This works by resending the whole chat 20 times per second, but this is very unperformant, floods logs and blocks scrolling up in chat.
This works by resending the whole chat 20 times per second, but this is very unperformant, floods logs and blocks scrolling up in chat.
Still looking for a better solution possibly without resource packs.
Oh and I should've specified that the wobble and bounce effects aren't necessary. Only looking for the animation of text itself.
@Argentine hake Still looking for a better solution possibly without resource packs.
Philippine Crocodile
you can't have a cake and eat it
if you want to do something non-standard, you will need a resource pack 99% of the time
IA does this with shaders, and that's the most optimal way to do it
@Philippine Crocodile IA does this with shaders, and that's the most optimal way to do it
Argentine hakeOP
Are you able to share some instructions on how I would go about doing this?
Philippine Crocodile
not really, I'm terrible at shaders
but you do want to look at core shaders for text rendering
@Philippine Crocodile but you do want to look at core shaders for text rendering
Argentine hakeOP
Will do thanks
Loading...
Loading...