Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom color for each node #39

Open
JustusPan opened this issue Oct 26, 2020 · 5 comments
Open

custom color for each node #39

JustusPan opened this issue Oct 26, 2020 · 5 comments

Comments

@JustusPan
Copy link

Is it possible to assign different color for each node? And provide a preset of colors as shortcut.

@fian46
Copy link
Owner

fian46 commented Oct 26, 2020

Please elaborate more.

@JustusPan
Copy link
Author

JustusPan commented Oct 26, 2020

usage example.
Maybe we can add a shortcut to invoke a color setting panel or put it on the inspector panel when we select a node on BTree editor. And then we can change the background color of each BT node. you can customize each of them or quick select one color from a preset set.(maybe we can reuse the color picker part of godot).
I don't know the detail of current implementation. Is it possible to implement similar feature?
image
image

@fian46
Copy link
Owner

fian46 commented Oct 27, 2020

it can be done but currently the editor is already full with stuff, adding more panel to change the color is make the usability harder. in my small monitor it can barely fit it all. if you want to change it you can edit the scene in res://addons/btree/Editor/ folder. just change the self_modulate color for each node to someting you like.

@davord45
Copy link

davord45 commented Oct 27, 2020

Could you maybe make a set of shortcuts for primary colors,like red,yellow,blue,green,purple,orange,cyan? Just something to keep nodes visually different.

@davord45
Copy link

Or maybe like shortcut for R number set, for G and B.So that you input color values from Godot swatch,does not have to be in the Editor itself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants