1
- [gd_scene load_steps =6 format =3 uid ="uid://cuywatrvx6sg" ]
1
+ [gd_scene load_steps =7 format =3 uid ="uid://cuywatrvx6sg" ]
2
2
3
3
[ext_resource type ="Script" path ="res://Main.gd" id ="1_kcb8k" ]
4
4
[ext_resource type ="PackedScene" uid ="uid://ck8jprx4ew4io" path ="res://FallingObject.tscn" id ="2_6coth" ]
@@ -11,6 +11,9 @@ default_font_size = 70
11
11
12
12
[sub_resource type ="RectangleShape2D" id ="RectangleShape2D_7dq5l" ]
13
13
14
+ [sub_resource type ="Theme" id ="Theme_2l7dw" ]
15
+ default_font_size = 40
16
+
14
17
[node name ="Node2D" type ="Node2D" ]
15
18
script = ExtResource ("1_kcb8k" )
16
19
falling_object_scene = ExtResource ("2_6coth" )
@@ -21,21 +24,32 @@ offset_bottom = 40.0
21
24
scale = Vector2 (4 , 4 )
22
25
23
26
[node name ="SubViewport" type ="SubViewport" parent ="SubViewportContainer" ]
27
+ handle_input_locally = false
24
28
canvas_item_default_texture_filter = 0
25
29
size = Vector2i (40 , 40 )
30
+ render_target_update_mode = 4
26
31
27
32
[node name ="Label" type ="Label" parent ="SubViewportContainer" ]
28
33
layout_mode = 2
29
34
theme = SubResource ("Theme_p6gxr" )
35
+ text = "bananas: 0"
30
36
31
37
[node name ="Button" type ="Button" parent ="." ]
32
- offset_left = 244 .0
33
- offset_top = 176 .0
34
- offset_right = 771 .0
35
- offset_bottom = 344 .0
38
+ offset_left = 82 .0
39
+ offset_top = 227 .0
40
+ offset_right = 609 .0
41
+ offset_bottom = 395 .0
36
42
theme = SubResource ("Theme_ul4r8" )
37
43
text = "click me"
38
44
45
+ [node name ="Button2" type ="Button" parent ="." ]
46
+ offset_left = 645.0
47
+ offset_top = 227.0
48
+ offset_right = 884.0
49
+ offset_bottom = 395.0
50
+ theme = SubResource ("Theme_ul4r8" )
51
+ text = "vib"
52
+
39
53
[node name ="StaticBody2D" type ="StaticBody2D" parent ="." ]
40
54
41
55
[node name ="CollisionShape2D2" type ="CollisionShape2D" parent ="StaticBody2D" ]
@@ -52,3 +66,50 @@ shape = SubResource("RectangleShape2D_7dq5l")
52
66
position = Vector2 (857 , 1807 )
53
67
scale = Vector2 (100 , 100 )
54
68
shape = SubResource ("RectangleShape2D_7dq5l" )
69
+
70
+ [node name ="Weak" type ="LineEdit" parent ="." ]
71
+ offset_left = 255.0
72
+ offset_top = 541.0
73
+ offset_right = 425.0
74
+ offset_bottom = 611.0
75
+ theme = SubResource ("Theme_2l7dw" )
76
+ text = "1.0"
77
+
78
+ [node name ="Strong" type ="LineEdit" parent ="." ]
79
+ offset_left = 536.0
80
+ offset_top = 543.0
81
+ offset_right = 706.0
82
+ offset_bottom = 613.0
83
+ theme = SubResource ("Theme_2l7dw" )
84
+ text = "1.0"
85
+
86
+ [node name ="Duration" type ="LineEdit" parent ="." ]
87
+ offset_left = 806.0
88
+ offset_top = 541.0
89
+ offset_right = 976.0
90
+ offset_bottom = 611.0
91
+ theme = SubResource ("Theme_2l7dw" )
92
+ text = "1.0"
93
+
94
+ [node name ="Label" type ="Label" parent ="." ]
95
+ offset_left = 276.657
96
+ offset_top = 477.172
97
+ offset_right = 316.657
98
+ offset_bottom = 500.172
99
+ text = "weak"
100
+
101
+ [node name ="Label2" type ="Label" parent ="." ]
102
+ offset_left = 561.0
103
+ offset_top = 480.0
104
+ offset_right = 602.0
105
+ offset_bottom = 503.0
106
+ text = "strong"
107
+
108
+ [node name ="Label3" type ="Label" parent ="." ]
109
+ offset_left = 850.0
110
+ offset_top = 481.0
111
+ offset_right = 891.0
112
+ offset_bottom = 504.0
113
+ text = "duration"
114
+
115
+ [connection signal ="pressed" from ="Button2" to ="." method ="_on_button_2_pressed" ]
0 commit comments