Skip to content

Adds a preset interface that shows an interactive list of all licenses. Custom licenses can be added through the GodotLicensing singleton.

License

Notifications You must be signed in to change notification settings

nathanfranke/godot-licensing

Repository files navigation

GodotLicensing by nathanfranke

Godot Asset Library GitHub Release GitHub Repo stars GitHub License GitHub Actions Workflow Status

Adds a preset interface that shows an interactive list of all licenses. Custom licenses can be added through the GodotLicensing singleton.

Usage

Use the GodotLicensing singleton to add custom copyrights and licenses (see below).
Use the LicensingInterface node to show all copyrights and licenses to users.

Note: It is recommended to set display/window/stretch such that the full interface shows on all resolutions. For example, set mode to canvas_items and aspect to stretch.

Note: LicensingInterface has a minimum size of 256px × 256px.

Example

Example copyright with license:

GodotLicensing.add_copyright({
    &"name": "Example",
    &"parts": [{
        &"copyright": [
            "2024 Example"
        ],
        &"license": "Example",
    }],
})
GodotLicensing.add_license({
    &"name": "Example",
    &"text": "Example text",
})

Example copyright without license:

GodotLicensing.add_copyright({
    &"name": "Example",
    &"parts": [{
        &"copyright": [
            "2024 Example"
        ],
    }],
})

Screenshot

example screenshot

License

This is free and unencumbered software released into the public domain. See LICENSE for details.

About

Adds a preset interface that shows an interactive list of all licenses. Custom licenses can be added through the GodotLicensing singleton.

Resources

License

Stars

Watchers

Forks

Packages

No packages published