can tweenservice be used on this? i want to animate my custom font text but tbh i’m stuck.
Is it possible for you to send me a place file?
That way I can try to reproduce the issue.
Yes, TweenService can of course be used with this.
One of the main points of this is the ability to animate individual characters.
Refer to the Fine-control
section of the tutorial to learn more.
I have the same problem too, when I resize my screen smaller it becomes more obvious that the text isn’t positioned correctly.
My example is that mine’s meant to be in the center although it’s more down than center:
I figured out his problem, but yours might not be the same. Are you using a UIGridLayout
?
Nope I am not, It’s probably depending on the text itself. I am not sure how this would happen though.
If you want to have my place then I can send it to you.
If you send me your place file, I’ll figure it out.
I’ll simplify it so it’s more focused on the issue, I’ll send it to you in about 10-15 minutes.
Alright I sent it to you Alexander.
Version 1.9.0
New features:
- Added
Pixelated
customization option for custom fonts. - Added
ShadowTransparency
customization option. - Added
StrokeTransparency
customization option.
Changes & fixes:
-
ScaleSize
now supports SurfaceGuis. - Absolute size calculation now takes into account
UIGridLayout
instances, fixing unwanted misalignments. - The
GetCharacters
function now returns an iterator instead of a table, which is way more optimized. - Strokes now default to main text transparency.
- Now has a ‘missing’ character, that is used when a character is not found in the custom font.
-
ScaleSize
now takesSize
as a percentage instead of a decimal fraction, which nicely keepsSize
in about the same range for both types of sizing (scale-size and pixel-size). - Removed maximum for
LineHeight
andCharacterSpacing
, because there’s really no reason to limit it even though TextLabels do. - Removed
100
size maximum for custom fonts, because it is only intended for Roblox fonts. - Removed
0.001
size minimum for scale-sizing, because there’s a minimum of1
after calculation. - Avoided indexing
ShadowColor
when the features isn’t enabled. - Avoided indexing
StrokeColor
when using custom fonts. - Changed structure for minimum size logic, getting rid of an if statement.
- Comment changes and additions.
- Minor spacing changes.
i’m back again
i’m loving this module so much, you should definitely make an example place for these showcases tho:
u did a great job!
Great updates!
I’m still getting the same exact issue I described to you earlier. I imported the updated code, implemented shadow transparency options on the text, and play tested. The issue persists.
Edit 1: Changing the XAlignment
and YAlignment
properties aren’t fixing it, either. If anything, the former doesn’t work at all, and the latter…I’m not entirely sure how to describe what’s happening with that.
Edit 2: I changed the frame that renders the text to have its size in the X direction to be 0 for both scale and offset. That sorta fixed it, but that isn’t how I’d want to go about it.
How did you alter the code on your end to fix it?
Hi there.
I see that in your case it still doesn’t work as intended.
Thankfully, I figured out the issue.
I will let you know when it is fixed.
Honestly I’m absolutely impressed with this resource. I’ll be trying it out at some point!
Brilliant job!
It is now fixed in version 1.9.1.
Please update and let me know if everything works as expected for you.
For me it’s kind of fixed now, the text is centered a little more but just barely down like the same it was before.
New:
Old:
For anybody who uses ScaleSize
, I want to let you know that the section for it in the tutorial/documentation has been updated.
There’s now two code snippets (one for ScreenGui
and one for SurfaceGui
) that calculate the size for you.
I haven’t been able to find that *Door open*
text in the place file you sent me.
Where is it?
Basically go to any of the doors in workspace
and select door_open
, and there’s a attribute named caption
with the text in it. I have the instructions/notes in the workspace
. I should also say that version uses the 1.8 version of Text+. If you need help I would like you to reply to the message I sent to you yesterday.
I noticed a difference right away when I upgraded to v1.9.1, but I’m still not getting the desired effect I wanted to achieve.
Resizing my window changes the position of the rendered text in very drastic ways. I haven’t altered the code at all except for a couple properties being adjusted (mainly text size and alignments). I want my text to be flush with the right edge of the frame (in red) when I set the XAlignment
to Right
.
That isn’t the case when I set the XAlignment
to Left
, as you can see here:
Resizing my window does not affect the text’s positioning at all. It’s flush with the left edge of the frame.
Here’s what it looks like when I set the XAlignment
to Center
: (it’s ever so slightly off centered)
I’m very grateful for your help considering that my use case is complex. I’d still like to stick with it going into my project.