Skip to content

Commit 267e17a

Browse files
committed
Update demo resources to include new event members
1 parent 0c67758 commit 267e17a

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

demo/demo.tscn

+33-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[gd_scene load_steps=54 format=3 uid="uid://c8qg5tevuwe3c"]
1+
[gd_scene load_steps=62 format=3 uid="uid://c8qg5tevuwe3c"]
22

33
[ext_resource type="FontFile" uid="uid://b7fn516ji5c5s" path="res://demo/monogram-extended.ttf" id="1_gbm7q"]
44
[ext_resource type="Texture2D" uid="uid://b1e23gj3k1klg" path="res://addons/input_prompts/icons/xbox/a.png" id="2_bykxj"]
@@ -34,6 +34,30 @@ spacing_bottom = -2
3434
default_font = SubResource("FontVariation_py8b3")
3535
default_font_size = 16
3636

37+
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_s28pd"]
38+
39+
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_jijo4"]
40+
button_index = 2
41+
42+
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_mlaax"]
43+
axis_value = -1.0
44+
45+
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_qwwcu"]
46+
axis = 2
47+
axis_value = 1.0
48+
49+
[sub_resource type="InputEventKey" id="InputEventKey_61dna"]
50+
keycode = 4194305
51+
52+
[sub_resource type="InputEventKey" id="InputEventKey_3462r"]
53+
keycode = 4194308
54+
55+
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_h2fso"]
56+
button_index = 1
57+
58+
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_83hcr"]
59+
button_index = 5
60+
3761
[sub_resource type="InputEventKey" id="InputEventKey_vb8jf"]
3862
keycode = 4194309
3963

@@ -164,6 +188,7 @@ stretch_mode = 5
164188
script = ExtResource("5_u2ush")
165189
button = 0
166190
icon = 0
191+
events = Array[InputEvent]([SubResource("InputEventJoypadButton_s28pd")])
167192

168193
[node name="JoypadButtonPrompt2" type="TextureRect" parent="VBoxContainer/InputEvent/JoypadButtonPrompts"]
169194
layout_mode = 2
@@ -172,6 +197,7 @@ stretch_mode = 5
172197
script = ExtResource("5_u2ush")
173198
button = 2
174199
icon = 0
200+
events = Array[InputEvent]([SubResource("InputEventJoypadButton_jijo4")])
175201

176202
[node name="JoypadMotionPrompts" type="HBoxContainer" parent="VBoxContainer/InputEvent"]
177203
layout_mode = 2
@@ -190,6 +216,7 @@ script = ExtResource("5_dyjlc")
190216
axis = 0
191217
axis_value = -1
192218
icon = 0
219+
events = Array[InputEvent]([SubResource("InputEventJoypadMotion_mlaax")])
193220

194221
[node name="JoypadMotionPrompt2" type="TextureRect" parent="VBoxContainer/InputEvent/JoypadMotionPrompts"]
195222
layout_mode = 2
@@ -199,6 +226,7 @@ script = ExtResource("5_dyjlc")
199226
axis = 2
200227
axis_value = 1
201228
icon = 0
229+
events = Array[InputEvent]([SubResource("InputEventJoypadMotion_qwwcu")])
202230

203231
[node name="KeyPrompts" type="HBoxContainer" parent="VBoxContainer/InputEvent"]
204232
layout_mode = 2
@@ -215,13 +243,15 @@ texture = ExtResource("8_xbspm")
215243
stretch_mode = 5
216244
script = ExtResource("6_u6tgr")
217245
key = 4194305
246+
events = Array[InputEvent]([SubResource("InputEventKey_61dna")])
218247

219248
[node name="KeyPrompt2" type="TextureRect" parent="VBoxContainer/InputEvent/KeyPrompts"]
220249
layout_mode = 2
221250
texture = ExtResource("10_nvluf")
222251
stretch_mode = 5
223252
script = ExtResource("6_u6tgr")
224253
key = 4194308
254+
events = Array[InputEvent]([SubResource("InputEventKey_3462r")])
225255

226256
[node name="MouseButtonPrompts" type="HBoxContainer" parent="VBoxContainer/InputEvent"]
227257
layout_mode = 2
@@ -238,13 +268,15 @@ texture = ExtResource("11_3twym")
238268
stretch_mode = 5
239269
script = ExtResource("8_rlfy8")
240270
button = 1
271+
events = Array[InputEvent]([SubResource("InputEventMouseButton_h2fso")])
241272

242273
[node name="MouseButtonPrompt2" type="TextureRect" parent="VBoxContainer/InputEvent/MouseButtonPrompts"]
243274
layout_mode = 2
244275
texture = ExtResource("13_wuk6u")
245276
stretch_mode = 5
246277
script = ExtResource("8_rlfy8")
247278
button = 5
279+
events = Array[InputEvent]([SubResource("InputEventMouseButton_83hcr")])
248280

249281
[node name="ActionPrompt" type="VBoxContainer" parent="VBoxContainer"]
250282
layout_mode = 2

0 commit comments

Comments
 (0)