godot-python icon indicating copy to clipboard operation
godot-python copied to clipboard

After looking at example, I think these should be implicit. (exposed, export)

Open BoQsc opened this issue 10 months ago • 0 comments

As someone with fresh viewpoint on this project, I was immediately triggered by overwhelming import statement in the README example.

I think that exposed, export should be optionally explicit.

Image

Image source: https://github.com/touilleMan/godot-python?tab=readme-ov-file#api

I'm not sure about the rest of Vector2, Node2D, ResourceLoader, but making these not mandatory in the script would benefit in the long-run.

I highly doubt you want to state these every time in your already highly complex project. You would be glad to simply assume they are here to use globally. Again, I'm yet to have a complex project, but I can see this as an issue and not a benefit.

BoQsc avatar Feb 13 '25 10:02 BoQsc