diff options
author | Jacob Lee <jacob@unabridgedsoftware.com> | 2021-10-26 14:38:42 -0400 |
---|---|---|
committer | Jacob Lee <jacob@unabridgedsoftware.com> | 2021-10-26 14:38:42 -0400 |
commit | 720ec920852a4d124fe004edae314ae14364a98c (patch) | |
tree | 32b8fe21094c9f7aa53e36b6157431b661421a1b /klangfarb | |
parent | 3b4cb793d67199a1c586feedf1e17987caa45bc3 (diff) |
Scorched Earth
Diffstat (limited to 'klangfarb')
-rw-r--r-- | klangfarb/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5 | 3 | ||||
-rw-r--r-- | klangfarb/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex | bin | 0 -> 3413 bytes | |||
-rw-r--r-- | klangfarb/Main.gdns | 6 | ||||
-rw-r--r-- | klangfarb/Main.tscn | 6 | ||||
-rw-r--r-- | klangfarb/klangfarbrs.gdnlib (renamed from klangfarb/libklangfarbrs.gdnlib) | 14 | ||||
-rwxr-xr-x[-rw-r--r--] | klangfarb/libklangfarbrs.so | bin | 19917392 -> 19936592 bytes | |||
-rw-r--r-- | klangfarb/main.gd | 17 |
7 files changed, 35 insertions, 11 deletions
diff --git a/klangfarb/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5 b/klangfarb/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5 new file mode 100644 index 0000000..7b61c3e --- /dev/null +++ b/klangfarb/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5 @@ -0,0 +1,3 @@ +source_md5="47313fa4c47a9963fddd764e1ec6e4a8" +dest_md5="2ded9e7f9060e2b530aab678b135fc5b" + diff --git a/klangfarb/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex b/klangfarb/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex Binary files differnew file mode 100644 index 0000000..3ca6461 --- /dev/null +++ b/klangfarb/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex diff --git a/klangfarb/Main.gdns b/klangfarb/Main.gdns index 673e307..e551128 100644 --- a/klangfarb/Main.gdns +++ b/klangfarb/Main.gdns @@ -1,8 +1,8 @@ [gd_resource type="NativeScript" load_steps=2 format=2] -[ext_resource path="res://libklangfarbrs.gdnlib" type="GDNativeLibrary" id=1] +[ext_resource path="res://klangfarbrs.gdnlib" type="GDNativeLibrary" id=1] [resource] -resource_name = "Synth" -class_name = "Synth" +resource_name = "MonoBuffer" +class_name = "MonoBuffer" library = ExtResource( 1 ) diff --git a/klangfarb/Main.tscn b/klangfarb/Main.tscn index bba01a7..9c58bfd 100644 --- a/klangfarb/Main.tscn +++ b/klangfarb/Main.tscn @@ -1,6 +1,10 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=3 format=2] [ext_resource path="res://Main.gdns" type="Script" id=1] +[ext_resource path="res://main.gd" type="Script" id=2] [node name="Node" type="Node"] script = ExtResource( 1 ) + +[node name="Node" type="Node" parent="."] +script = ExtResource( 2 ) diff --git a/klangfarb/libklangfarbrs.gdnlib b/klangfarb/klangfarbrs.gdnlib index 6cfb13a..a7f0183 100644 --- a/klangfarb/libklangfarbrs.gdnlib +++ b/klangfarb/klangfarbrs.gdnlib @@ -1,10 +1,3 @@ -[general] - -singleton=false -load_once=true -symbol_prefix="godot_" -reloadable=true - [entry] X11.64="res://libklangfarbrs.so" @@ -12,3 +5,10 @@ X11.64="res://libklangfarbrs.so" [dependencies] X11.64=[ ] + +[general] + +singleton=false +load_once=true +symbol_prefix="godot_" +reloadable=true diff --git a/klangfarb/libklangfarbrs.so b/klangfarb/libklangfarbrs.so Binary files differindex d428f9c..2ca0b85 100644..100755 --- a/klangfarb/libklangfarbrs.so +++ b/klangfarb/libklangfarbrs.so diff --git a/klangfarb/main.gd b/klangfarb/main.gd new file mode 100644 index 0000000..96d8cb5 --- /dev/null +++ b/klangfarb/main.gd @@ -0,0 +1,17 @@ +extends Node + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" +onready var data = preload("res://klangfarbrs.gdnlib") +# var buffer = MonoBuffer.new() + +# Called when the node enters the scene tree for the first time. +func _ready(): + print("Poop", data.frames()); + + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass |