#Help with canvas layer
11 messages · Page 1 of 1 (latest)
I think you may want your CanvasLayer to be the parent of that Control Node, and to display something like text on screen you probably want a Label Node inside your Control Node, you can modify the label text through code using the "text" property of that Label node, also, if you want your text to display above everything else, make sure to set the CanvasLayer's "layer" property to a high value
Oh just noticed your CanvasLayer is a packed scene, so u probably have a label already
I tried to recreate your issue from the images provided alone, and i couldnt, since i dont see any other Canvas layers, make sure your CanvasLayer's layer is higher than zero, also make sure every node in your packed scene is visible. having the canvas layer inside a control shouldnt be an issue, but neither affects the Canvas layer so u dont need it. Maybe try unpacking the scene and see if everything u have is inside the screen bounding box
I don't know what to do; everything is set to visible, yet the buttons still do not appear when I run the game. the canvas layer is on 1 i try to change it but nothing happened
weird, try creating a new Canvas Layer, add a Control Child, a Label Child, and see if those show up on screen
can you show your Canvas layer scene?
Resolved! I don't know what happened; I took an earlier version of the project, redid it from scratch, and everything works. Thanks for the help