-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroot.tscn
59 lines (50 loc) · 11.5 KB
/
root.tscn
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
[gd_scene load_steps=7 format=3 uid="uid://270dkmk0hf28"]
[ext_resource type="Script" path="res://main.gd" id="1_dmuqu"]
[ext_resource type="Script" path="res://HotkeyListener.cs" id="2_3wftk"]
[ext_resource type="Script" path="res://circle.gd" id="2_7h31i"]
[ext_resource type="AudioStream" uid="uid://4f3r6yd8w7s1" path="res://wheel-click.mp3" id="4_3t6jd"]
[ext_resource type="Texture2D" uid="uid://cxdwwj5hafosi" path="res://black-wheel.png" id="4_aaaqx"]
[sub_resource type="Curve2D" id="Curve2D_mo8tl"]
_data = {
"points": PackedVector2Array(0, 0, 0, 0, 0, -1000, 0, 0, 0, 0, 19.6337, -999.807, 0, 0, 0, 0, 39.2598, -999.229, 0, 0, 0, 0, 58.8708, -998.266, 0, 0, 0, 0, 78.4591, -996.917, 0, 0, 0, 0, 98.0171, -995.185, 0, 0, 0, 0, 117.537, -993.068, 0, 0, 0, 0, 137.012, -990.569, 0, 0, 0, 0, 156.434, -987.688, 0, 0, 0, 0, 175.796, -984.427, 0, 0, 0, 0, 195.09, -980.785, 0, 0, 0, 0, 214.309, -976.766, 0, 0, 0, 0, 233.445, -972.37, 0, 0, 0, 0, 252.492, -967.599, 0, 0, 0, 0, 271.44, -962.455, 0, 0, 0, 0, 290.285, -956.94, 0, 0, 0, 0, 309.017, -951.057, 0, 0, 0, 0, 327.63, -944.806, 0, 0, 0, 0, 346.117, -938.191, 0, 0, 0, 0, 364.471, -931.215, 0, 0, 0, 0, 382.683, -923.88, 0, 0, 0, 0, 400.749, -916.188, 0, 0, 0, 0, 418.66, -908.143, 0, 0, 0, 0, 436.409, -899.748, 0, 0, 0, 0, 453.991, -891.007, 0, 0, 0, 0, 471.397, -881.921, 0, 0, 0, 0, 488.621, -872.496, 0, 0, 0, 0, 505.657, -862.734, 0, 0, 0, 0, 522.499, -852.64, 0, 0, 0, 0, 539.138, -842.217, 0, 0, 0, 0, 555.57, -831.47, 0, 0, 0, 0, 571.788, -820.401, 0, 0, 0, 0, 587.785, -809.017, 0, 0, 0, 0, 603.556, -797.321, 0, 0, 0, 0, 619.094, -785.317, 0, 0, 0, 0, 634.393, -773.01, 0, 0, 0, 0, 649.448, -760.406, 0, 0, 0, 0, 664.252, -747.508, 0, 0, 0, 0, 678.801, -734.323, 0, 0, 0, 0, 693.087, -720.854, 0, 0, 0, 0, 707.107, -707.107, 0, 0, 0, 0, 720.854, -693.087, 0, 0, 0, 0, 734.323, -678.801, 0, 0, 0, 0, 747.508, -664.252, 0, 0, 0, 0, 760.406, -649.448, 0, 0, 0, 0, 773.01, -634.393, 0, 0, 0, 0, 785.317, -619.094, 0, 0, 0, 0, 797.321, -603.556, 0, 0, 0, 0, 809.017, -587.785, 0, 0, 0, 0, 820.401, -571.788, 0, 0, 0, 0, 831.47, -555.57, 0, 0, 0, 0, 842.217, -539.138, 0, 0, 0, 0, 852.64, -522.498, 0, 0, 0, 0, 862.734, -505.657, 0, 0, 0, 0, 872.496, -488.621, 0, 0, 0, 0, 881.921, -471.397, 0, 0, 0, 0, 891.007, -453.991, 0, 0, 0, 0, 899.748, -436.409, 0, 0, 0, 0, 908.143, -418.66, 0, 0, 0, 0, 916.188, -400.749, 0, 0, 0, 0, 923.88, -382.683, 0, 0, 0, 0, 931.215, -364.47, 0, 0, 0, 0, 938.191, -346.117, 0, 0, 0, 0, 944.806, -327.63, 0, 0, 0, 0, 951.057, -309.017, 0, 0, 0, 0, 956.94, -290.285, 0, 0, 0, 0, 962.455, -271.44, 0, 0, 0, 0, 967.599, -252.492, 0, 0, 0, 0, 972.37, -233.445, 0, 0, 0, 0, 976.766, -214.309, 0, 0, 0, 0, 980.785, -195.09, 0, 0, 0, 0, 984.427, -175.796, 0, 0, 0, 0, 987.688, -156.434, 0, 0, 0, 0, 990.569, -137.012, 0, 0, 0, 0, 993.068, -117.537, 0, 0, 0, 0, 995.185, -98.0171, 0, 0, 0, 0, 996.917, -78.4591, 0, 0, 0, 0, 998.266, -58.8708, 0, 0, 0, 0, 999.229, -39.2598, 0, 0, 0, 0, 999.807, -19.6337, 0, 0, 0, 0, 1000, 4.37114e-05, 0, 0, 0, 0, 999.807, 19.6337, 0, 0, 0, 0, 999.229, 39.2598, 0, 0, 0, 0, 998.266, 58.8708, 0, 0, 0, 0, 996.917, 78.4591, 0, 0, 0, 0, 995.185, 98.0171, 0, 0, 0, 0, 993.068, 117.537, 0, 0, 0, 0, 990.569, 137.012, 0, 0, 0, 0, 987.688, 156.434, 0, 0, 0, 0, 984.427, 175.796, 0, 0, 0, 0, 980.785, 195.09, 0, 0, 0, 0, 976.766, 214.309, 0, 0, 0, 0, 972.37, 233.445, 0, 0, 0, 0, 967.599, 252.492, 0, 0, 0, 0, 962.455, 271.44, 0, 0, 0, 0, 956.94, 290.285, 0, 0, 0, 0, 951.056, 309.017, 0, 0, 0, 0, 944.806, 327.63, 0, 0, 0, 0, 938.191, 346.117, 0, 0, 0, 0, 931.215, 364.47, 0, 0, 0, 0, 923.88, 382.683, 0, 0, 0, 0, 916.188, 400.749, 0, 0, 0, 0, 908.143, 418.66, 0, 0, 0, 0, 899.748, 436.409, 0, 0, 0, 0, 891.006, 453.991, 0, 0, 0, 0, 881.921, 471.397, 0, 0, 0, 0, 872.496, 488.621, 0, 0, 0, 0, 862.734, 505.657, 0, 0, 0, 0, 852.64, 522.498, 0, 0, 0, 0, 842.217, 539.138, 0, 0, 0, 0, 831.47, 555.57, 0, 0, 0, 0, 820.401, 571.788, 0, 0, 0, 0, 809.017, 587.785, 0, 0, 0, 0, 797.321, 603.556, 0, 0, 0, 0, 785.317, 619.094, 0, 0, 0, 0, 773.01, 634.393, 0, 0, 0, 0, 760.406, 649.448, 0, 0, 0, 0, 747.508, 664.252, 0, 0, 0, 0, 734.323, 678.801, 0, 0, 0, 0, 720.854, 693.087, 0, 0, 0, 0, 707.107, 707.107, 0, 0, 0, 0, 693.087, 720.854, 0, 0, 0, 0, 678.801, 734.323, 0, 0, 0, 0, 664.252, 747.508, 0, 0, 0, 0, 649.448, 760.406, 0, 0, 0, 0, 634.393, 773.01, 0, 0, 0, 0, 619.094, 785.317, 0, 0, 0, 0, 603.556, 797.321, 0, 0, 0, 0, 587.785, 809.017, 0, 0, 0, 0, 571.788, 820.401, 0, 0, 0, 0, 555.57, 831.47, 0, 0, 0, 0, 539.138, 842.217, 0, 0, 0, 0, 522.498, 852.64, 0, 0, 0, 0, 505.657, 862.734, 0, 0, 0, 0, 488.621, 872.496, 0, 0, 0, 0, 471.397, 881.921, 0, 0, 0, 0, 453.991, 891.006, 0, 0, 0, 0, 436.409, 899.748, 0, 0, 0, 0, 418.66, 908.143, 0, 0, 0, 0, 400.749, 916.188, 0, 0, 0, 0, 382.683, 923.88, 0, 0, 0, 0, 364.471, 931.215, 0, 0, 0, 0, 346.117, 938.191, 0, 0, 0, 0, 327.63, 944.806, 0, 0, 0, 0, 309.017, 951.056, 0, 0, 0, 0, 290.285, 956.94, 0, 0, 0, 0, 271.44, 962.455, 0, 0, 0, 0, 252.492, 967.599, 0, 0, 0, 0, 233.445, 972.37, 0, 0, 0, 0, 214.309, 976.766, 0, 0, 0, 0, 195.09, 980.785, 0, 0, 0, 0, 175.796, 984.427, 0, 0, 0, 0, 156.434, 987.688, 0, 0, 0, 0, 137.012, 990.569, 0, 0, 0, 0, 117.537, 993.068, 0, 0, 0, 0, 98.0171, 995.185, 0, 0, 0, 0, 78.459, 996.917, 0, 0, 0, 0, 58.8707, 998.266, 0, 0, 0, 0, 39.2597, 999.229, 0, 0, 0, 0, 19.6336, 999.807, 0, 0, 0, 0, -8.74228e-05, 1000, 0, 0, 0, 0, -19.6338, 999.807, 0, 0, 0, 0, -39.2599, 999.229, 0, 0, 0, 0, -58.8709, 998.266, 0, 0, 0, 0, -78.459, 996.917, 0, 0, 0, 0, -98.017, 995.185, 0, 0, 0, 0, -117.537, 993.068, 0, 0, 0, 0, -137.012, 990.569, 0, 0, 0, 0, -156.434, 987.688, 0, 0, 0, 0, -175.796, 984.427, 0, 0, 0, 0, -195.09, 980.785, 0, 0, 0, 0, -214.309, 976.766, 0, 0, 0, 0, -233.445, 972.37, 0, 0, 0, 0, -252.492, 967.599, 0, 0, 0, 0, -271.44, 962.455, 0, 0, 0, 0, -290.285, 956.94, 0, 0, 0, 0, -309.017, 951.057, 0, 0, 0, 0, -327.63, 944.806, 0, 0, 0, 0, -346.117, 938.191, 0, 0, 0, 0, -364.471, 931.215, 0, 0, 0, 0, -382.683, 923.88, 0, 0, 0, 0, -400.749, 916.188, 0, 0, 0, 0, -418.66, 908.143, 0, 0, 0, 0, -436.409, 899.748, 0, 0, 0, 0, -453.991, 891.007, 0, 0, 0, 0, -471.397, 881.921, 0, 0, 0, 0, -488.621, 872.496, 0, 0, 0, 0, -505.657, 862.734, 0, 0, 0, 0, -522.499, 852.64, 0, 0, 0, 0, -539.138, 842.217, 0, 0, 0, 0, -555.57, 831.47, 0, 0, 0, 0, -571.788, 820.401, 0, 0, 0, 0, -587.785, 809.017, 0, 0, 0, 0, -603.556, 797.321, 0, 0, 0, 0, -619.094, 785.317, 0, 0, 0, 0, -634.393, 773.011, 0, 0, 0, 0, -649.448, 760.406, 0, 0, 0, 0, -664.252, 747.508, 0, 0, 0, 0, -678.801, 734.323, 0, 0, 0, 0, -693.087, 720.854, 0, 0, 0, 0, -707.107, 707.107, 0, 0, 0, 0, -720.854, 693.087, 0, 0, 0, 0, -734.323, 678.801, 0, 0, 0, 0, -747.508, 664.252, 0, 0, 0, 0, -760.406, 649.448, 0, 0, 0, 0, -773.01, 634.393, 0, 0, 0, 0, -785.317, 619.094, 0, 0, 0, 0, -797.321, 603.556, 0, 0, 0, 0, -809.017, 587.785, 0, 0, 0, 0, -820.401, 571.788, 0, 0, 0, 0, -831.469, 555.57, 0, 0, 0, 0, -842.217, 539.138, 0, 0, 0, 0, -852.64, 522.499, 0, 0, 0, 0, -862.734, 505.657, 0, 0, 0, 0, -872.496, 488.621, 0, 0, 0, 0, -881.921, 471.397, 0, 0, 0, 0, -891.006, 453.991, 0, 0, 0, 0, -899.748, 436.409, 0, 0, 0, 0, -908.143, 418.66, 0, 0, 0, 0, -916.188, 400.749, 0, 0, 0, 0, -923.88, 382.684, 0, 0, 0, 0, -931.215, 364.47, 0, 0, 0, 0, -938.191, 346.117, 0, 0, 0, 0, -944.806, 327.63, 0, 0, 0, 0, -951.056, 309.017, 0, 0, 0, 0, -956.94, 290.285, 0, 0, 0, 0, -962.455, 271.441, 0, 0, 0, 0, -967.599, 252.491, 0, 0, 0, 0, -972.37, 233.445, 0, 0, 0, 0, -976.766, 214.309, 0, 0, 0, 0, -980.785, 195.09, 0, 0, 0, 0, -984.427, 175.796, 0, 0, 0, 0, -987.688, 156.435, 0, 0, 0, 0, -990.569, 137.012, 0, 0, 0, 0, -993.068, 117.537, 0, 0, 0, 0, -995.185, 98.0169, 0, 0, 0, 0, -996.917, 78.4591, 0, 0, 0, 0, -998.266, 58.8706, 0, 0, 0, 0, -999.229, 39.2598, 0, 0, 0, 0, -999.807, 19.6339, 0, 0, 0, 0, -1000, -1.19249e-05, 0, 0, 0, 0, -999.807, -19.6335, 0, 0, 0, 0, -999.229, -39.2598, 0, 0, 0, 0, -998.266, -58.8706, 0, 0, 0, 0, -996.917, -78.4591, 0, 0, 0, 0, -995.185, -98.017, 0, 0, 0, 0, -993.068, -117.537, 0, 0, 0, 0, -990.569, -137.012, 0, 0, 0, 0, -987.688, -156.435, 0, 0, 0, 0, -984.427, -175.796, 0, 0, 0, 0, -980.785, -195.09, 0, 0, 0, 0, -976.766, -214.309, 0, 0, 0, 0, -972.37, -233.445, 0, 0, 0, 0, -967.599, -252.491, 0, 0, 0, 0, -962.455, -271.441, 0, 0, 0, 0, -956.94, -290.285, 0, 0, 0, 0, -951.056, -309.017, 0, 0, 0, 0, -944.806, -327.63, 0, 0, 0, 0, -938.191, -346.117, 0, 0, 0, 0, -931.215, -364.47, 0, 0, 0, 0, -923.879, -382.684, 0, 0, 0, 0, -916.188, -400.749, 0, 0, 0, 0, -908.143, -418.66, 0, 0, 0, 0, -899.748, -436.409, 0, 0, 0, 0, -891.006, -453.991, 0, 0, 0, 0, -881.921, -471.397, 0, 0, 0, 0, -872.496, -488.621, 0, 0, 0, 0, -862.734, -505.657, 0, 0, 0, 0, -852.64, -522.499, 0, 0, 0, 0, -842.217, -539.138, 0, 0, 0, 0, -831.47, -555.57, 0, 0, 0, 0, -820.401, -571.788, 0, 0, 0, 0, -809.017, -587.785, 0, 0, 0, 0, -797.321, -603.556, 0, 0, 0, 0, -785.317, -619.094, 0, 0, 0, 0, -773.01, -634.393, 0, 0, 0, 0, -760.406, -649.448, 0, 0, 0, 0, -747.508, -664.252, 0, 0, 0, 0, -734.323, -678.801, 0, 0, 0, 0, -720.854, -693.087, 0, 0, 0, 0, -707.107, -707.107, 0, 0, 0, 0, -693.087, -720.854, 0, 0, 0, 0, -678.801, -734.322, 0, 0, 0, 0, -664.252, -747.508, 0, 0, 0, 0, -649.448, -760.406, 0, 0, 0, 0, -634.393, -773.011, 0, 0, 0, 0, -619.094, -785.317, 0, 0, 0, 0, -603.556, -797.321, 0, 0, 0, 0, -587.785, -809.017, 0, 0, 0, 0, -571.788, -820.402, 0, 0, 0, 0, -555.57, -831.47, 0, 0, 0, 0, -539.138, -842.217, 0, 0, 0, 0, -522.499, -852.64, 0, 0, 0, 0, -505.657, -862.734, 0, 0, 0, 0, -488.621, -872.496, 0, 0, 0, 0, -471.397, -881.921, 0, 0, 0, 0, -453.991, -891.007, 0, 0, 0, 0, -436.409, -899.748, 0, 0, 0, 0, -418.66, -908.143, 0, 0, 0, 0, -400.749, -916.188, 0, 0, 0, 0, -382.683, -923.88, 0, 0, 0, 0, -364.471, -931.215, 0, 0, 0, 0, -346.117, -938.191, 0, 0, 0, 0, -327.63, -944.806, 0, 0, 0, 0, -309.017, -951.057, 0, 0, 0, 0, -290.285, -956.94, 0, 0, 0, 0, -271.44, -962.455, 0, 0, 0, 0, -252.492, -967.599, 0, 0, 0, 0, -233.445, -972.37, 0, 0, 0, 0, -214.309, -976.766, 0, 0, 0, 0, -195.09, -980.785, 0, 0, 0, 0, -175.796, -984.427, 0, 0, 0, 0, -156.434, -987.688, 0, 0, 0, 0, -137.012, -990.569, 0, 0, 0, 0, -117.537, -993.068, 0, 0, 0, 0, -98.0172, -995.185, 0, 0, 0, 0, -78.4589, -996.917, 0, 0, 0, 0, -58.8709, -998.266, 0, 0, 0, 0, -39.2597, -999.229, 0, 0, 0, 0, -19.6338, -999.807, 0, 0, 0, 0, 0, -1000)
}
point_count = 321
[node name="root" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
mouse_filter = 2
script = ExtResource("1_dmuqu")
[node name="BoxContainer" type="BoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
alignment = 1
script = ExtResource("2_3wftk")
[node name="VBoxContainer" type="VBoxContainer" parent="BoxContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
alignment = 1
[node name="circle" type="Path2D" parent="BoxContainer/VBoxContainer"]
rotation = -1.5708
scale = Vector2(0.495038, 0.495038)
curve = SubResource("Curve2D_mo8tl")
script = ExtResource("2_7h31i")
[node name="Wheel" type="Sprite2D" parent="BoxContainer/VBoxContainer"]
z_index = -2
texture = ExtResource("4_aaaqx")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_3t6jd")
bus = &"click"
[connection signal="HotKeyQuit" from="BoxContainer" to="." method="_on_box_container_hot_key_quit"]
[connection signal="HotKeySpin" from="BoxContainer" to="." method="_on_box_container_hot_key_spin"]
[connection signal="gui_input" from="BoxContainer" to="." method="_on_box_container_gui_input"]