#Font is blurry in the main scene but not in its own scene?
1 messages · Page 1 of 1 (latest)
First, disable mipmap
My viewport is 320x180
Okay, second, you mentioned that its not blurry if you add another line. How would it look if you add another line.
you can see the third lineis no blurry
Hmmm
or the first, only the middle one
So its only blurry at even line?
Does any of your Control scale is being changed at al
So its only going wack if you change the oversampling?
now the small font
if i dont*
its in 10 rn
but that should not even happen since its 16 bit font
and it works perfect everywhere else,
Can you send your popup scene
Okay, then leave the oversampling as zero, because it sounds like a bandaid fix than fixing the actual issue
Whats your project settings window looks like
anything else?
Do you have Snap 2D Transform to Pixel enabled
Uhh in the imports?
Project settings, thats what the settin is called
Where is it exactly 😅
Yes, but it's the exact same
I turned it on, no change
So you have it disabled before?
Hmmm
Cant seem to reproduce it despite having same setup
are u running its own scen?
Yes
So its being scaled on other scene?
only in the main scene
Well i dnt have the main scene
its not supposed to. ii ont chang the size, i jut add it in there
yeah, ok. i can tell you how to MRP the main scene
just make a ui node (ideally a panel) in another scene, gmake a new script
give it any tooltip text
func _make_custom_tooltip(for_text):
var tooltip = preload("res://some_tooltip_scene.tscn").instantiate()
return tooltip```
put this in the script
and run and hover on the ui node
Okay
ALSO make sure the tooltip scene's root node has a minimum size defined
Ahh i see it, now i can experiment with it myself, please wait a moment
im such a good tester for godot engine, finding the most hidden stuff 🤣
I'm all ears
Basically what currently happening is that built in tooltip is using default scaling rather than your project scaling.
Nope
Well yes
More specifically the popuppanel
But it's not only an issue with the tooltip,
The popuppanel is using fractional scaling
Yesss this must be it
It's a popup issue
But i tried changing it and it doesnt seem to affect anything so im not sure what that setting even does.
Cuz when I used a popup instead of margin container and added it as a child into the viewport as a mouse hover, it just shows the same, so must be a popup issue
I think the issue is on the popuppanel itself, you can reproduce it without tooltip, just make the scene a child of PopupPanel node
You should just make a regular node tbh, no need for it to be a separate window
Exactly what insaid above lol
So... Regular node and just spawn it manually?
Yeah. I dont see the benefit of making another window for this.
I mean yeah but the popup functionality
Is it working for you if you add it as a regular child?
Eh im pretty sure all youre using in the popup function is showing and hiding
Yep
But still, this is a bug right?
Sounds like it, you might want to report it on the godot github page, something along popupmenu not scaling properly on a pixelart project
Yeah, I'll make a GitHub issue request
I did that already with my previous issue with popups
It's so hard to work with popups 😭
I dont use popup, window, menupopup in general unless absolutely needed, they are wonky, i tried to make one during making a plugin and it took me like 5 hour to fixes a... guess what. positioning issue.
Damn... Atleast it makes me feel better that someone else has issues with this wonky node 😅 thanks for the closure, I'll just use a 9 patch rect as a parent and spawn it when mouse enters
I'll also make a GitHub issue request later
hey sorry for the ping, but if you were to make a tooltip like in my case, would you use it in a canvas layer?
and should i attach the relevant scripts to canvas layer as the toopltip?
The entire UI would be in a canvas layer not the tooltip only, but theres a benefit on making the popup another canvaslayer: The rendering order.
yeah, id like it to render at top so itll just be easier to make it work like that. ill just make the tooltip scenea canvas layer itself
this works perfectly thanks