A export_presets.cfg => export_presets.cfg +26 -0
@@ 0,0 1,26 @@
+[preset.0]
+
+name="Linux/X11"
+platform="Linux/X11"
+runnable=true
+custom_features=""
+export_filter="scenes"
+export_files=PoolStringArray( "res://sample_project/sample_main_node.tscn" )
+include_filter="COPYRIGHT.txt"
+exclude_filter=""
+export_path="bin/sample-project.x86_64"
+patch_list=PoolStringArray( )
+script_export_mode=1
+script_encryption_key=""
+
+[preset.0.options]
+
+texture_format/bptc=false
+texture_format/s3tc=true
+texture_format/etc=false
+texture_format/etc2=false
+texture_format/no_bptc_fallbacks=true
+binary_format/64_bits=true
+binary_format/embed_pck=false
+custom_template/release=""
+custom_template/debug=""
A project.godot => project.godot +25 -0
@@ 0,0 1,25 @@
+; Engine configuration file.
+; It's best edited using the editor UI and not directly,
+; since the parameters that go here are not all obvious.
+;
+; Format:
+; [section] ; section goes between []
+; param=value ; assign values to parameters
+
+config_version=4
+
+_global_script_classes=[ ]
+_global_script_class_icons={
+
+}
+
+[application]
+
+config/name="Godot Universal Inclusion of Licenses Dialog (GUILD)"
+run/main_scene="res://sample_project/sample_main_node.tscn"
+
+[rendering]
+
+quality/driver/driver_name="GLES2"
+vram_compression/import_etc=true
+vram_compression/import_etc2=false
A sample_project/sample_main_node.gd => sample_project/sample_main_node.gd +10 -0
@@ 0,0 1,10 @@
+extends Node2D
+# A test node for the license dialog.
+
+
+func _ready():
+ $LicenseDialog.popup()
+
+
+func _on_LicenseDialog_popup_hide():
+ get_tree().quit()
A sample_project/sample_main_node.tscn => sample_project/sample_main_node.tscn +21 -0
@@ 0,0 1,21 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://sample_project/sample_main_node.gd" type="Script" id=1]
+[ext_resource path="res://license_dialog.tscn" type="PackedScene" id=2]
+
+[node name="TestMainNode" type="Node2D"]
+script = ExtResource( 1 )
+
+[node name="LicenseDialog" parent="." instance=ExtResource( 2 )]
+label_text = "Clicking one of the buttons below will display licensing information for individual components of and the engine it is built on, the Godot Engine."
+
+[node name="Label" type="Label" parent="."]
+margin_left = 129.934
+margin_top = 497.714
+margin_right = 490.934
+margin_bottom = 511.714
+text = "This window will close after the popup window is closed."
+__meta__ = {
+"_edit_use_anchors_": false
+}
+[connection signal="popup_hide" from="LicenseDialog" to="." method="_on_LicenseDialog_popup_hide"]