diff --git a/examples/godot_examples/.gitignore b/examples/godot_examples/.gitignore new file mode 100644 index 000000000..37f05f2b7 --- /dev/null +++ b/examples/godot_examples/.gitignore @@ -0,0 +1 @@ +.import diff --git a/examples/godot_examples/custom_module/.gdignore b/examples/godot_examples/custom_module/.gdignore new file mode 100644 index 000000000..e69de29bb diff --git a/examples/godot_examples/gdnative_shared/.gdignore b/examples/godot_examples/gdnative_shared/.gdignore new file mode 100644 index 000000000..e69de29bb diff --git a/examples/godot_examples/gdnative_shared/.gitignore b/examples/godot_examples/gdnative_shared/.gitignore index 95f76b1ec..0cf5ce739 100644 --- a/examples/godot_examples/gdnative_shared/.gitignore +++ b/examples/godot_examples/gdnative_shared/.gitignore @@ -1,2 +1,4 @@ vulkan-kompute lib +godot-cpp +.import diff --git a/examples/godot_examples/gdnative_shared/src/.gdignore b/examples/godot_examples/gdnative_shared/src/.gdignore new file mode 100644 index 000000000..e69de29bb diff --git a/examples/godot_examples/godot_resources/default_env.tres b/examples/godot_examples/godot_resources/default_env.tres new file mode 100755 index 000000000..20207a4aa --- /dev/null +++ b/examples/godot_examples/godot_resources/default_env.tres @@ -0,0 +1,7 @@ +[gd_resource type="Environment" load_steps=2 format=2] + +[sub_resource type="ProceduralSky" id=1] + +[resource] +background_mode = 2 +background_sky = SubResource( 1 ) diff --git a/examples/godot_examples/godot_resources/icon.png b/examples/godot_examples/godot_resources/icon.png new file mode 100755 index 000000000..1d3cc3b28 Binary files /dev/null and b/examples/godot_examples/godot_resources/icon.png differ diff --git a/examples/godot_examples/godot_resources/icon.png.import b/examples/godot_examples/godot_resources/icon.png.import new file mode 100755 index 000000000..204014664 --- /dev/null +++ b/examples/godot_examples/godot_resources/icon.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/icon.png-410975027061d785c4229e33fe5ba462.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://godot_resources/icon.png" +dest_files=[ "res://.import/icon.png-410975027061d785c4229e33fe5ba462.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/examples/godot_examples/project.godot b/examples/godot_examples/project.godot new file mode 100755 index 000000000..a3aa39692 --- /dev/null +++ b/examples/godot_examples/project.godot @@ -0,0 +1,23 @@ +; 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="KomputeGame" +config/icon="res://godot_resources/icon.png" + +[rendering] + +environment/default_environment="res://godot_resources/default_env.tres"