First screen now working

This commit is contained in:
The 64th Gamer 2025-04-07 04:22:46 -06:00
parent e10b6ec7d4
commit b3d24b3de1
6 changed files with 56 additions and 49 deletions
Scenes

View file

@ -5,12 +5,12 @@
[node name="Sine" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
anchors_preset = 0
mouse_filter = 2
[node name="Node" parent="." instance=ExtResource("1_m6pki")]
layout_mode = 0
script = ExtResource("2_claki")
[connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"]
[connection signal="mouse_exited" from="Node" to="Node" method="mouse_exit"]

View file

@ -1,22 +1,15 @@
[gd_scene load_steps=3 format=3 uid="uid://bdcxusbd86oox"]
[gd_scene load_steps=2 format=3 uid="uid://bdcxusbd86oox"]
[ext_resource type="Script" uid="uid://dwl36vn5chqmq" path="res://Scripts/GL_Node_Point.gd" id="1_fygh4"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ljh8l"]
size = Vector2(15, 15)
[node name="Node Row" type="HBoxContainer"]
[node name="Input" type="Label" parent="."]
[node name="Input" type="Button" parent="."]
layout_mode = 2
mouse_default_cursor_shape = 2
text = "◉"
[node name="Point" type="Area2D" parent="Input"]
script = ExtResource("1_fygh4")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Input/Point"]
position = Vector2(7, 13)
shape = SubResource("RectangleShape2D_ljh8l")
isOutput = true
[node name="Label" type="Label" parent="."]
layout_mode = 2
@ -24,15 +17,12 @@ size_flags_horizontal = 3
text = "Testtesttesttesttest"
clip_text = true
[node name="Output" type="Label" parent="."]
[node name="Output" type="Button" parent="."]
layout_mode = 2
mouse_default_cursor_shape = 2
text = "◉"
[node name="Point" type="Area2D" parent="Output"]
position = Vector2(-23, 0)
script = ExtResource("1_fygh4")
isOutput = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Output/Point"]
position = Vector2(7, 13)
shape = SubResource("RectangleShape2D_ljh8l")
[connection signal="pressed" from="Input" to="Input" method="_start_drag"]
[connection signal="pressed" from="Output" to="Output" method="_start_drag"]

View file

@ -4,6 +4,7 @@
custom_minimum_size = Vector2(100, 100)
offset_right = 100.0
offset_bottom = 100.0
mouse_default_cursor_shape = 6
[node name="Holder" type="VBoxContainer" parent="."]
custom_minimum_size = Vector2(100, 100)