From a0ef84b0474219bedf603a293a2ee8d4fab32ec0 Mon Sep 17 00:00:00 2001 From: Jacob Lee Date: Sat, 16 Oct 2021 22:04:31 -0400 Subject: Add Godot and Rust files --- klangfarb/Main.gdns | 8 ++++++++ klangfarb/Main.tscn | 6 ++++++ klangfarb/default_env.tres | 7 +++++++ klangfarb/icon.png | Bin 0 -> 3305 bytes klangfarb/icon.png.import | 34 ++++++++++++++++++++++++++++++++++ klangfarb/libklangfarbrs.gdnlib | 14 ++++++++++++++ klangfarb/libklangfarbrs.so | Bin 0 -> 19917392 bytes klangfarb/project.godot | 23 +++++++++++++++++++++++ 8 files changed, 92 insertions(+) create mode 100644 klangfarb/Main.gdns create mode 100644 klangfarb/Main.tscn create mode 100644 klangfarb/default_env.tres create mode 100644 klangfarb/icon.png create mode 100644 klangfarb/icon.png.import create mode 100644 klangfarb/libklangfarbrs.gdnlib create mode 100644 klangfarb/libklangfarbrs.so create mode 100644 klangfarb/project.godot (limited to 'klangfarb') 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 new file mode 100644 index 0000000..c98fbb6 Binary files /dev/null and b/klangfarb/icon.png differ 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 new file mode 100644 index 0000000..d428f9c Binary files /dev/null and b/klangfarb/libklangfarbrs.so differ 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" -- cgit v1.2.3