TIL Godot Node Stylin'
Sunder Iyer

Sunder Iyer @goldenxp

About: Gamer. Game Dev.

Location:
SF Bay Area
Joined:
Jan 19, 2021

TIL Godot Node Stylin'

Publish Date: Mar 10 '21
2 0

2021-03-09

Did you know...Godot works in the browser!

So I'm working with Graphs in Godot and a default GraphNode looks like this.
Displays the look of a Default Node in the GraphEdit control
I'm not a fan of this default visual but fortunately it can be customized directly in the GraphNode itself.
Displays the Custom feature and options
With some creative edits, it's possible to make something unique for one's own projects. Here, I added a StyleBoxFlat to the Frame and changed the color, border radius and shadow values. I also made the Title font color transparent.
My Customized Result
I imagine a better way to customize GraphNodes involves Themes but I'm yet to learn this feature. Of course, the day I learn it, there will be a TIL entry :)

Comments 0 total

    Add comment