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 --- klangfarb/Main.tscn | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'klangfarb/Main.tscn') 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 +} -- cgit v1.2.3