Open Sudospective opened 3 years ago
it might be worth using RichTextLabels instead as an alternative to creating our own system though i haven't really done a lot research on it yet
https://docs.godotengine.org/en/stable/tutorials/gui/bbcode_in_richtextlabel.html https://docs.godotengine.org/en/stable/classes/class_charfxtransform.html
While that is a nice idea, the point is to comoletely cut out the need for creating any new objects for text creation. Using one RichTextLabel instead of many Labels is good, but using draw_string()
or draw_char()
would bring the object-to-character count to 0, and that's my real goal here.
Hey are you working on this?
If not i was thinking of working on this, but i wanted to make sure that i am not redoing any work.
I haven't actually started on this, to be honest. I've been wrapped up in other projects since last year (one of them being Project OutFox!) and haven't had time to work on this engine since. If you'd like to do this, that would be tremendously appreciated!
0 labels or nodes just pure draw_char
that can be ported to godot 4
I try to open a PR soon, though it is very WIP right now :)
Ps: I found this weird bug that allow for an interesting fall down effect for text which could be useful for some games
YOU ARE A LIFESAVER IVE BEEN SWAMPED WITH LIFE FOR THE PAST EON OR SO
I'd like to eventually do a complete rework of the internal print function to directly draw strings rather than create labels with one character each. This would greatly reduce overhead and allow for easier customization. This may also fix the currently open issue with positional effects as well as allow the editor view to finally be functional.