From 887247d8a54ee54ec891aeefc19c18c241af6c09 Mon Sep 17 00:00:00 2001 From: Jacob Lee Date: Fri, 10 Dec 2021 14:57:40 -0500 Subject: Wire up the sprite --- .../moog.JPG-f233f2842c5d6fb78dc4e01163dddabf.md5 | 3 ++ .../moog.JPG-f233f2842c5d6fb78dc4e01163dddabf.stex | Bin 0 -> 747954 bytes ...synth.jpeg-0d3692b736009049abb06e73100121d7.md5 | 3 ++ ...ynth.jpeg-0d3692b736009049abb06e73100121d7.stex | Bin 0 -> 154838 bytes ...synth.jpeg-e88e182ce09e6038fdb429a43ce25107.md5 | 3 ++ ...ynth.jpeg-e88e182ce09e6038fdb429a43ce25107.stex | Bin 0 -> 154838 bytes klangfarb/Main.tscn | 22 +++++++++++-- klangfarb/assets/moog.JPG.import | 1 + klangfarb/assets/synth.jpeg | Bin 0 -> 42409 bytes klangfarb/assets/synth.jpeg.import | 35 +++++++++++++++++++++ 10 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 klangfarb/.import/moog.JPG-f233f2842c5d6fb78dc4e01163dddabf.md5 create mode 100644 klangfarb/.import/moog.JPG-f233f2842c5d6fb78dc4e01163dddabf.stex create mode 100644 klangfarb/.import/synth.jpeg-0d3692b736009049abb06e73100121d7.md5 create mode 100644 klangfarb/.import/synth.jpeg-0d3692b736009049abb06e73100121d7.stex create mode 100644 klangfarb/.import/synth.jpeg-e88e182ce09e6038fdb429a43ce25107.md5 create mode 100644 klangfarb/.import/synth.jpeg-e88e182ce09e6038fdb429a43ce25107.stex create mode 100644 klangfarb/assets/synth.jpeg create mode 100644 klangfarb/assets/synth.jpeg.import diff --git a/klangfarb/.import/moog.JPG-f233f2842c5d6fb78dc4e01163dddabf.md5 b/klangfarb/.import/moog.JPG-f233f2842c5d6fb78dc4e01163dddabf.md5 new file mode 100644 index 0000000..43909b3 --- /dev/null +++ b/klangfarb/.import/moog.JPG-f233f2842c5d6fb78dc4e01163dddabf.md5 @@ -0,0 +1,3 @@ +source_md5="ea1fa85ada33c6852316eb5f00b525a5" +dest_md5="edb6d41933dc6183728db6b64b09448b" + diff --git a/klangfarb/.import/moog.JPG-f233f2842c5d6fb78dc4e01163dddabf.stex b/klangfarb/.import/moog.JPG-f233f2842c5d6fb78dc4e01163dddabf.stex new file mode 100644 index 0000000..525cfdd Binary files /dev/null and b/klangfarb/.import/moog.JPG-f233f2842c5d6fb78dc4e01163dddabf.stex differ diff --git a/klangfarb/.import/synth.jpeg-0d3692b736009049abb06e73100121d7.md5 b/klangfarb/.import/synth.jpeg-0d3692b736009049abb06e73100121d7.md5 new file mode 100644 index 0000000..ccc292e --- /dev/null +++ b/klangfarb/.import/synth.jpeg-0d3692b736009049abb06e73100121d7.md5 @@ -0,0 +1,3 @@ +source_md5="d498c1c17a165ccec560a6f7bcea499f" +dest_md5="fc9e68541a6ca3e8b38cab50fa09065d" + diff --git a/klangfarb/.import/synth.jpeg-0d3692b736009049abb06e73100121d7.stex b/klangfarb/.import/synth.jpeg-0d3692b736009049abb06e73100121d7.stex new file mode 100644 index 0000000..137cb83 Binary files /dev/null and b/klangfarb/.import/synth.jpeg-0d3692b736009049abb06e73100121d7.stex differ diff --git a/klangfarb/.import/synth.jpeg-e88e182ce09e6038fdb429a43ce25107.md5 b/klangfarb/.import/synth.jpeg-e88e182ce09e6038fdb429a43ce25107.md5 new file mode 100644 index 0000000..ccc292e --- /dev/null +++ b/klangfarb/.import/synth.jpeg-e88e182ce09e6038fdb429a43ce25107.md5 @@ -0,0 +1,3 @@ +source_md5="d498c1c17a165ccec560a6f7bcea499f" +dest_md5="fc9e68541a6ca3e8b38cab50fa09065d" + diff --git a/klangfarb/.import/synth.jpeg-e88e182ce09e6038fdb429a43ce25107.stex b/klangfarb/.import/synth.jpeg-e88e182ce09e6038fdb429a43ce25107.stex new file mode 100644 index 0000000..137cb83 Binary files /dev/null and b/klangfarb/.import/synth.jpeg-e88e182ce09e6038fdb429a43ce25107.stex differ diff --git a/klangfarb/Main.tscn b/klangfarb/Main.tscn index c7c5939..a5f123c 100644 --- a/klangfarb/Main.tscn +++ b/klangfarb/Main.tscn @@ -1,6 +1,8 @@ -[gd_scene load_steps=3 format=2] +[gd_scene load_steps=5 format=2] +[ext_resource path="res://assets/moog.JPG" type="Texture" id=1] [ext_resource path="res://main.gd" type="Script" id=2] +[ext_resource path="res://Power.gd" type="Script" id=3] [sub_resource type="AudioStreamGenerator" id=1] @@ -8,8 +10,24 @@ stream = SubResource( 1 ) volume_db = -13.216 script = ExtResource( 2 ) -play_instrument = true continuous = false decay = 1000 release = 500 fm_index = 100.0 + +[node name="Moog" type="Sprite" parent="."] +position = Vector2( 512, 306 ) +texture = ExtResource( 1 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="Control" type="Control" parent="."] +margin_left = 900.0 +margin_top = 73.0 +margin_right = 940.0 +margin_bottom = 113.0 +script = ExtResource( 3 ) +__meta__ = { +"_edit_use_anchors_": false +} diff --git a/klangfarb/assets/moog.JPG.import b/klangfarb/assets/moog.JPG.import index 56836c1..b091701 100644 --- a/klangfarb/assets/moog.JPG.import +++ b/klangfarb/assets/moog.JPG.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/klangfarb/assets/synth.jpeg b/klangfarb/assets/synth.jpeg new file mode 100644 index 0000000..4af97d7 Binary files /dev/null and b/klangfarb/assets/synth.jpeg differ diff --git a/klangfarb/assets/synth.jpeg.import b/klangfarb/assets/synth.jpeg.import new file mode 100644 index 0000000..13dc94f --- /dev/null +++ b/klangfarb/assets/synth.jpeg.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/synth.jpeg-0d3692b736009049abb06e73100121d7.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/synth.jpeg" +dest_files=[ "res://.import/synth.jpeg-0d3692b736009049abb06e73100121d7.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 -- cgit v1.2.3