Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 2.27 KB

README.md

File metadata and controls

59 lines (44 loc) · 2.27 KB

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.