blob: 55264275d6c44805172e1ee25f3c6464ae378fed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
[gd_scene load_steps=8 format=3 uid="uid://dd8k3p7r3huwc"]
[ext_resource type="Script" path="res://src/Game/GameSession/GameSpeedPanel.gd" id="1_pfs8t"]
[sub_resource type="InputEventAction" id="InputEventAction_3k1tl"]
action = &"time_pause"
[sub_resource type="Shortcut" id="Shortcut_cg5xm"]
events = [SubResource("InputEventAction_3k1tl")]
[sub_resource type="InputEventAction" id="InputEventAction_w2rkb"]
action = &"time_speed_decrease"
[sub_resource type="Shortcut" id="Shortcut_ocrfe"]
events = [SubResource("InputEventAction_w2rkb")]
[sub_resource type="InputEventAction" id="InputEventAction_7sdhp"]
action = &"time_speed_increase"
[sub_resource type="Shortcut" id="Shortcut_gwofc"]
events = [SubResource("InputEventAction_7sdhp")]
[node name="GameSpeedPanel" type="PanelContainer" node_paths=PackedStringArray("_longform_date_button", "_play_pause_display_button", "_decrease_speed_button", "_increase_speed_button")]
script = ExtResource("1_pfs8t")
_longform_date_button = NodePath("ButtonList/LongformDateButton")
_play_pause_display_button = NodePath("ButtonList/PlayPauseDisplayButton")
_decrease_speed_button = NodePath("ButtonList/DecreaseSpeedButton")
_increase_speed_button = NodePath("ButtonList/IncreaseSpeedButton")
[node name="ButtonList" type="HBoxContainer" parent="."]
layout_mode = 2
[node name="LongformDateButton" type="Button" parent="ButtonList"]
editor_description = "UI-74"
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
focus_mode = 0
text = "LONGFORM DATE"
[node name="PlayPauseDisplayButton" type="Button" parent="ButtonList"]
editor_description = "UI-75, UIFUN-90"
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
focus_mode = 0
shortcut = SubResource("Shortcut_cg5xm")
text = "⏸ "
[node name="DecreaseSpeedButton" type="Button" parent="ButtonList"]
editor_description = "UI-77"
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
focus_mode = 0
shortcut = SubResource("Shortcut_ocrfe")
text = "-"
[node name="IncreaseSpeedButton" type="Button" parent="ButtonList"]
editor_description = "UI-76"
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
focus_mode = 0
shortcut = SubResource("Shortcut_gwofc")
text = "+"
[connection signal="pressed" from="ButtonList/LongformDateButton" to="." method="_on_longform_date_label_pressed"]
[connection signal="pressed" from="ButtonList/PlayPauseDisplayButton" to="." method="_on_play_pause_display_button_pressed"]
[connection signal="pressed" from="ButtonList/DecreaseSpeedButton" to="." method="_on_decrease_speed_button_pressed"]
[connection signal="pressed" from="ButtonList/IncreaseSpeedButton" to="." method="_on_increase_speed_button_pressed"]
|