Godot Version
4.6.1
Question
The nodes (Control) don’t show when running the apps that i’m working on !
Sorry for the French and if you want a copy of the code text me.
4.6.1
The nodes (Control) don’t show when running the apps that i’m working on !
Sorry for the French and if you want a copy of the code text me.
What do you mean they don’t show?
Which nodes are not shown?
Can you post a screenshot of a running scene?
What is in your Remote Scene tree during runtime?
My immediate guess is that they might be outside of your viewport. When you want to create UI elements, make sure their root node is a CanvasLayer.
Gonna try this !
No didn’t work also my root node “main” is a Control node
What is the Anchors Preset of your Barre node that you put within the Main scene? It should ideally be set to Center Bottom.
I found the problem, it’s a line in the main.gd script, the line that make the passtrough, idk why
second after func ready
Oh, you’re making a passthrough polygon. I haven’t even noticed that.
Probably this is the reason:
Note: On Windows, the portion of a window that lies outside the region is not drawn, while on Linux (X11) and macOS it is.
Not really because it’s the polygon who disapear
It diseapear when i activate the line.
What are you trying to do? Do you need this polygon at all?
I need some way to make a floating bar, like i have that can receive input and the other should be get the input.
i want to make floating widget (like a chrono)
Why not making your app be just the size of the borderless bar?
Because there gonne have too many window.
How does your polygon look like?
Do you still have any issue by the way, or did you solve it?
I think i use the polygon2D wrong (my polygon is over my bar), and if it’s true i’m not gonna use this system for my application because it’s not working like i want.
So thank you for helping me, and sorry for the disturbance.
I’m gonna use window sized with the node inside instead.