Skip to content

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

Description

@BoQsc

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions