added clear() method

This commit is contained in:
Yannik
2023-05-15 12:46:11 +02:00
parent 9eaf340637
commit 7f586869d7
9 changed files with 187 additions and 21 deletions

View File

@@ -1,7 +1,11 @@
[gd_scene load_steps=3 format=3 uid="uid://dmx2xuigcpvt4"]
[gd_scene load_steps=6 format=3 uid="uid://dmx2xuigcpvt4"]
[ext_resource type="Script" path="res://main.gd" id="1_kl8ri"]
[ext_resource type="Texture2D" uid="uid://dhuttdaet6q1u" path="res://assets/Logo_V2_Clyde.png" id="2_1hv5q"]
[ext_resource type="Texture2D" uid="uid://dnfq6kug4x6o2" path="res://assets/Checked.svg" id="3_ny5eu"]
[ext_resource type="Texture2D" uid="uid://compmm3kviqqe" path="res://assets/Unchecked.svg" id="4_xydmq"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1w3f4"]
[node name="Node" type="Node"]
script = ExtResource("1_kl8ri")
@@ -18,20 +22,20 @@ color = Color(0.345098, 0.396078, 0.94902, 1)
[node name="Sprite2D" type="Sprite2D" parent="."]
texture_filter = 4
position = Vector2(565, 308)
position = Vector2(591, 308)
scale = Vector2(0.408203, 0.408203)
texture = ExtResource("2_1hv5q")
[node name="DiscordSDK Test" type="RichTextLabel" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -257.0
offset_top = 54.0
offset_right = 257.0
offset_bottom = 150.0
anchors_preset = -1
anchor_left = 0.296
anchor_top = 0.59
anchor_right = 0.742
anchor_bottom = 0.727
offset_left = 0.00799561
offset_top = -0.320007
offset_right = 0.215942
offset_bottom = -0.0960388
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
@@ -67,3 +71,23 @@ Match secret: {msecret}
Join secret: {jsecret}
Spectate secret: {ssecret}"
scroll_active = false
[node name="CheckButton" type="CheckButton" parent="."]
anchors_preset = -1
anchor_left = 0.494
anchor_top = 0.781
anchor_right = 0.531
anchor_bottom = 0.82
offset_left = -0.0879517
offset_top = -0.0879822
offset_right = 803.288
offset_bottom = 482.64
grow_horizontal = 2
grow_vertical = 0
scale = Vector2(0.05, 0.05)
theme_override_icons/checked = ExtResource("3_ny5eu")
theme_override_icons/unchecked = ExtResource("4_xydmq")
theme_override_styles/focus = SubResource("StyleBoxEmpty_1w3f4")
button_pressed = true
[connection signal="toggled" from="CheckButton" to="." method="_on_check_button_toggled"]