rybadour / nodeconnectorgodot Goto Github PK
View Code? Open in Web Editor NEWPlugin for the Godot editor that provides a convenient way to connect a bunch of UI elements to a script.
License: MIT License
Plugin for the Godot editor that provides a convenient way to connect a bunch of UI elements to a script.
License: MIT License
When there are more than 1 script attached to nodes in the current scene prompt the user with a list of all the scripts to select.
Stretch goal 1: Sort the list based on which scripts are a common ancestor to all the selected nodes. With ancestors that are higher in the hierarchy being lower in the list.
Stretch goal 2: Show two lists of scripts. The first list is ancestors common to all selected nodes and the second list is scripts that aren't. Or at least de-emphasize the scripts that don't share a common ancestor.
at README you can find:
Note: There is one annoyance, that when modifying an existing script Godot doesn't pickup the changes until you unfocus Godot and reopen it.
Better Workaround
If you go to scripts tab close the script which will be modified by the plugin (CTRL+W), then use the plugin, when you open the script again the changes will be there :D
I'm clicking at connect nodes, and cannot see changes, unfocus would be close and reopen the engine?
edit
Closing and reopening godot worked, but only for non-built-in script, if using built-in the closing/opening does not work
maybe is related to this issue: godotengine/godot#10946
Godot Version
3.2.2 beta 1
OS version
ubuntu 19.10 x64
Problem
If you for example, select Button A, Press F9, button B, press F9 and so on
will make the plugin replace the onready var declaration
and will not place anthing on the function _ready()
User changes the Tree structure
Select them again and generate code
Ps: I didnt tested if clicking generate code two time it will add repeated code
Instead of simple finding a node, the plugin generates a:
signal changed_tree_structure
export var path:NodePath
func _on_ready():
path = path_to_node
CHeck if tree structure changed and re-assign to nodepath
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.