diff options
author | Jacob Lee <jacob.nmi.lee@gmail.com> | 2021-10-16 22:04:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-16 22:04:31 -0400 |
commit | a0ef84b0474219bedf603a293a2ee8d4fab32ec0 (patch) | |
tree | af0d1a80d630470ce70a817503b39d3bbcd0dbd4 /klangfarb | |
parent | 9d78a9f5ebd931593b2644dff57cb1d2238876d3 (diff) |
Add Godot and Rust files
Diffstat (limited to 'klangfarb')
-rw-r--r-- | klangfarb/Main.gdns | 8 | ||||
-rw-r--r-- | klangfarb/Main.tscn | 6 | ||||
-rw-r--r-- | klangfarb/default_env.tres | 7 | ||||
-rw-r--r-- | klangfarb/icon.png | bin | 0 -> 3305 bytes | |||
-rw-r--r-- | klangfarb/icon.png.import | 34 | ||||
-rw-r--r-- | klangfarb/libklangfarbrs.gdnlib | 14 | ||||
-rw-r--r-- | klangfarb/libklangfarbrs.so | bin | 0 -> 19917392 bytes | |||
-rw-r--r-- | klangfarb/project.godot | 23 |
8 files changed, 92 insertions, 0 deletions
diff --git a/klangfarb/Main.gdns b/klangfarb/Main.gdns new file mode 100644 index 0000000..5855b12 --- /dev/null +++ b/klangfarb/Main.gdns @@ -0,0 +1,8 @@ +[gd_resource type="NativeScript" load_steps=2 format=2] + +[ext_resource path="res://libklangfarbrs.gdnlib" type="GDNativeLibrary" id=1] + +[resource] +resource_name = "HelloWorld" +class_name = "HelloWorld" +library = ExtResource( 1 ) diff --git a/klangfarb/Main.tscn b/klangfarb/Main.tscn new file mode 100644 index 0000000..bba01a7 --- /dev/null +++ b/klangfarb/Main.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://Main.gdns" type="Script" id=1] + +[node name="Node" type="Node"] +script = ExtResource( 1 ) diff --git a/klangfarb/default_env.tres b/klangfarb/default_env.tres new file mode 100644 index 0000000..20207a4 --- /dev/null +++ b/klangfarb/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/klangfarb/icon.png b/klangfarb/icon.png Binary files differnew file mode 100644 index 0000000..c98fbb6 --- /dev/null +++ b/klangfarb/icon.png diff --git a/klangfarb/icon.png.import b/klangfarb/icon.png.import new file mode 100644 index 0000000..96cbf46 --- /dev/null +++ b/klangfarb/icon.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.png" +dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.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/klangfarb/libklangfarbrs.gdnlib b/klangfarb/libklangfarbrs.gdnlib new file mode 100644 index 0000000..6cfb13a --- /dev/null +++ b/klangfarb/libklangfarbrs.gdnlib @@ -0,0 +1,14 @@ +[general] + +singleton=false +load_once=true +symbol_prefix="godot_" +reloadable=true + +[entry] + +X11.64="res://libklangfarbrs.so" + +[dependencies] + +X11.64=[ ] diff --git a/klangfarb/libklangfarbrs.so b/klangfarb/libklangfarbrs.so Binary files differnew file mode 100644 index 0000000..d428f9c --- /dev/null +++ b/klangfarb/libklangfarbrs.so diff --git a/klangfarb/project.godot b/klangfarb/project.godot new file mode 100644 index 0000000..0c0fe5b --- /dev/null +++ b/klangfarb/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 + +[application] + +config/name="klangfarb" +run/main_scene="res://Main.tscn" +config/icon="res://icon.png" + +[physics] + +common/enable_pause_aware_picking=true + +[rendering] + +environment/default_environment="res://default_env.tres" |