Files
kicking-high/proto3/godot/ui/options.tscn
2020-04-13 12:45:25 +03:00

449 lines
14 KiB
Plaintext

[gd_scene load_steps=9 format=2]
[ext_resource path="res://ui/options.gd" type="Script" id=1]
[ext_resource path="res://fonts/DroidSansFallback.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://ui/press_a_key.gd" type="Script" id=3]
[ext_resource path="res://ui/options-label-font.tres" type="DynamicFont" id=4]
[ext_resource path="res://ui/textures/barGreen_horizontalMid.png" type="Texture" id=5]
[ext_resource path="res://ui/textures/barBlue_horizontalBlue.png" type="Texture" id=6]
[sub_resource type="CanvasItemMaterial" id=2]
[sub_resource type="DynamicFont" id=1]
size = 32
font_data = ExtResource( 2 )
[node name="options" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_lock_": true
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="top" type="Control" parent="VBoxContainer"]
margin_right = 1024.0
margin_bottom = 100.0
grow_horizontal = 2
grow_vertical = 2
rect_min_size = Vector2( 300, 100 )
[node name="ColorRect" type="ColorRect" parent="VBoxContainer/top"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 4.0
margin_right = -724.0
margin_bottom = 4.0
rect_min_size = Vector2( 600, 100 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="c" type="Polygon2D" parent="VBoxContainer/top/ColorRect"]
color = Color( 0, 0, 0, 1 )
antialiased = true
polygon = PoolVector2Array( 48, 26, 48, 46, 81, 46, 80, 58, 31, 55, 31, 12, 93, 11, 93, 24 )
__meta__ = {
"_edit_lock_": true
}
[node name="o" type="Polygon2D" parent="VBoxContainer/top/ColorRect"]
position = Vector2( 79, 1 )
color = Color( 0, 0, 0, 1 )
antialiased = true
polygon = PoolVector2Array( 48, 26, 48, 46, 69, 48, 86, 36, 89, 52, 31, 55, 31, 12, 74, 12, 89, 24, 96, 50, 70, 27 )
__meta__ = {
"_edit_lock_": true
}
[node name="n" type="Polygon2D" parent="VBoxContainer/top/ColorRect"]
position = Vector2( 155, 4 )
color = Color( 0, 0, 0, 1 )
antialiased = true
polygon = PoolVector2Array( 48, 26, 49.7711, 45.89, 47.3644, 57.1211, 29.3144, 59.9289, 31, 55, 31, 12, 55.7878, 12.9989, 77.4478, 46.2911, 77.0466, 12.5978, 88.2777, 14.2022, 86, 56, 74, 57 )
__meta__ = {
"_edit_lock_": true
}
[node name="t" type="Polygon2D" parent="VBoxContainer/top/ColorRect"]
position = Vector2( 227.831, 7.62111 )
color = Color( 0, 0, 0, 1 )
antialiased = true
polygon = PoolVector2Array( 48, 26, 48, 46, 81, 46, 80, 58, 31, 55, 32.2933, -5.46334, 45.53, -3.45779, 42.7062, 12.3382, 65.1844, 12.9878, 64.7833, 27.4278 )
__meta__ = {
"_edit_lock_": true
}
[node name="r" type="Polygon2D" parent="VBoxContainer/top/ColorRect"]
position = Vector2( 290.404, 9.62666 )
color = Color( 0, 0, 0, 1 )
antialiased = true
polygon = PoolVector2Array( 48, 26, 61.9756, 36.6533, 72.8056, 49.89, 74.0089, 58.7144, 66.7392, 58.0866, 41.1178, 35.0489, 37.9699, 55.6019, 31, 55, 30.2878, -1.85334, 66.3878, -3.05666, 65.1845, 12.9878, 59.1678, 15.3944, 57.5634, 4.56445, 40.3156, 5.36666, 41.1178, 11.3833, 55.9589, 11.7844, 64.7834, 13.3889, 65.5856, 23.0156 )
__meta__ = {
"_edit_lock_": true
}
[node name="o2" type="Polygon2D" parent="VBoxContainer/top/ColorRect"]
position = Vector2( 349.769, 10.4289 )
color = Color( 0, 0, 0, 1 )
antialiased = true
polygon = PoolVector2Array( 48, 26, 48, 46, 81, 46, 80, 58, 31, 55, 31, 12, 93, 11, 93, 24, 93.6633, 58.3133, 71.2011, 57.9122, 69.9977, 28.23 )
__meta__ = {
"_edit_lock_": true
}
[node name="l" type="Polygon2D" parent="VBoxContainer/top/ColorRect"]
position = Vector2( 438.815, 10.4289 )
color = Color( 0, 0, 0, 1 )
antialiased = true
polygon = PoolVector2Array( 48, 26, 48, 46, 81, 46, 80.8932, 57.1222, 80.8278, 63.9289, 31, 55, 30.6889, 41.8678, 30.6889, 10.9822, 31.09, 2.95998, 31.4911, -4.66113, 48.7389, 0.553322 )
__meta__ = {
"_edit_lock_": true
}
[node name="l2" type="Polygon2D" parent="VBoxContainer/top/ColorRect"]
position = Vector2( 504.598, 10.0278 )
color = Color( 0, 0, 0, 1 )
antialiased = true
polygon = PoolVector2Array( 56.7611, 9.77888, 50.3433, 16.1966, 50.7444, 23.0155, 84.4377, 24.62, 81, 46, 80.8932, 57.1222, 80.8278, 63.9289, 65.5856, 60.3189, 31, 55, 30.6889, 49.89, 66.7889, 51.0933, 64.7833, 42.2689, 35.5022, 36.6533, 31.7321, 28.1568, 33.4966, 4.96554, 52.3489, -5.86446, 78.8222, -5.86446, 86.4433, 4.56443 )
__meta__ = {
"_edit_lock_": true
}
[node name="TextureButton" type="TextureButton" parent="VBoxContainer/top"]
margin_left = 644.269
margin_top = 5.05969
margin_right = 644.269
margin_bottom = 5.05969
rect_min_size = Vector2( 80, 80 )
mouse_filter = 1
[node name="ColorRect" type="ColorRect" parent="VBoxContainer/top/TextureButton"]
anchor_right = 1.0
anchor_bottom = 1.0
rect_min_size = Vector2( 80, 80 )
mouse_filter = 2
[node name="Polygon2D" type="Polygon2D" parent="VBoxContainer/top/TextureButton/ColorRect"]
color = Color( 0, 0, 0, 1 )
polygon = PoolVector2Array( 36.7859, 13.0859, 10.5504, 38.5718, 38.2851, 58.8107, 43.5322, 45.3181, 70.5173, 46.8173, 69.0181, 30.3264, 42.7826, 30.3264 )
[node name="walk_left" type="TextureButton" parent="VBoxContainer"]
margin_top = 104.0
margin_right = 1024.0
margin_bottom = 144.0
rect_min_size = Vector2( 100, 40 )
size_flags_horizontal = 3
texture_normal = ExtResource( 6 )
texture_pressed = ExtResource( 5 )
expand = true
[node name="HBoxContainer4" type="HBoxContainer" parent="VBoxContainer/walk_left"]
material = SubResource( 2 )
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = -20.0
margin_right = 294.0
margin_bottom = 28.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="VBoxContainer/walk_left/HBoxContainer4"]
margin_right = 250.0
margin_bottom = 48.0
rect_min_size = Vector2( 250, 0 )
custom_fonts/font = ExtResource( 4 )
text = "Left"
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="walk_left" type="Label" parent="VBoxContainer/walk_left/HBoxContainer4" groups=[
"controls",
]]
margin_left = 254.0
margin_right = 394.0
margin_bottom = 48.0
rect_min_size = Vector2( 100, 0 )
size_flags_vertical = 5
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Click here"
valign = 1
[node name="walk_right" type="TextureButton" parent="VBoxContainer"]
margin_top = 148.0
margin_right = 1024.0
margin_bottom = 188.0
rect_min_size = Vector2( 100, 40 )
size_flags_horizontal = 3
texture_normal = ExtResource( 6 )
texture_pressed = ExtResource( 5 )
expand = true
[node name="HBoxContainer3" type="HBoxContainer" parent="VBoxContainer/walk_right"]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = -20.0
margin_right = -884.0
margin_bottom = 23.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="VBoxContainer/walk_right/HBoxContainer3"]
margin_right = 250.0
margin_bottom = 48.0
rect_min_size = Vector2( 250, 0 )
custom_fonts/font = ExtResource( 4 )
text = "Right"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="walk_right" type="Label" parent="VBoxContainer/walk_right/HBoxContainer3" groups=[
"controls",
]]
margin_left = 254.0
margin_top = 2.0
margin_right = 394.0
margin_bottom = 45.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Click here"
[node name="walk_forward" type="TextureButton" parent="VBoxContainer"]
margin_top = 192.0
margin_right = 1024.0
margin_bottom = 232.0
rect_min_size = Vector2( 100, 40 )
size_flags_horizontal = 3
texture_normal = ExtResource( 6 )
texture_pressed = ExtResource( 5 )
expand = true
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/walk_forward"]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = -20.0
margin_right = -630.0
margin_bottom = 28.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="VBoxContainer/walk_forward/HBoxContainer2"]
margin_right = 250.0
margin_bottom = 48.0
rect_min_size = Vector2( 250, 0 )
custom_fonts/font = ExtResource( 4 )
text = "Forward"
[node name="walk_forward" type="Label" parent="VBoxContainer/walk_forward/HBoxContainer2" groups=[
"controls",
]]
margin_left = 254.0
margin_top = 2.0
margin_right = 394.0
margin_bottom = 45.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Click here"
[node name="walk_back" type="TextureButton" parent="VBoxContainer"]
margin_top = 236.0
margin_right = 1024.0
margin_bottom = 276.0
rect_min_size = Vector2( 100, 40 )
texture_normal = ExtResource( 6 )
texture_pressed = ExtResource( 5 )
expand = true
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/walk_back"]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = -20.0
margin_right = -630.0
margin_bottom = 28.0
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="VBoxContainer/walk_back/HBoxContainer"]
margin_right = 250.0
margin_bottom = 48.0
rect_min_size = Vector2( 250, 0 )
custom_fonts/font = ExtResource( 4 )
text = "Back"
[node name="walk_back" type="Label" parent="VBoxContainer/walk_back/HBoxContainer" groups=[
"controls",
]]
margin_left = 254.0
margin_top = 2.0
margin_right = 394.0
margin_bottom = 45.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Click here"
[node name="jump" type="TextureButton" parent="VBoxContainer"]
margin_top = 280.0
margin_right = 1024.0
margin_bottom = 320.0
rect_min_size = Vector2( 100, 40 )
texture_normal = ExtResource( 6 )
texture_pressed = ExtResource( 5 )
expand = true
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/jump"]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = -20.0
margin_bottom = 28.0
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="VBoxContainer/jump/HBoxContainer"]
margin_right = 250.0
margin_bottom = 48.0
rect_min_size = Vector2( 250, 0 )
custom_fonts/font = ExtResource( 4 )
text = "Jump"
[node name="jump" type="Label" parent="VBoxContainer/jump/HBoxContainer" groups=[
"controls",
]]
margin_left = 254.0
margin_top = 2.0
margin_right = 394.0
margin_bottom = 45.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Click here"
[node name="sneak" type="TextureButton" parent="VBoxContainer"]
margin_top = 324.0
margin_right = 1024.0
margin_bottom = 364.0
rect_min_size = Vector2( 100, 40 )
texture_normal = ExtResource( 6 )
texture_pressed = ExtResource( 5 )
expand = true
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/sneak"]
margin_right = 394.0
margin_bottom = 48.0
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="VBoxContainer/sneak/HBoxContainer"]
margin_right = 250.0
margin_bottom = 48.0
rect_min_size = Vector2( 250, 0 )
custom_fonts/font = ExtResource( 4 )
text = "Sneak"
[node name="sneak" type="Label" parent="VBoxContainer/sneak/HBoxContainer" groups=[
"controls",
]]
margin_left = 254.0
margin_top = 2.0
margin_right = 394.0
margin_bottom = 45.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Click here"
[node name="grab" type="TextureButton" parent="VBoxContainer"]
margin_top = 368.0
margin_right = 1024.0
margin_bottom = 408.0
rect_min_size = Vector2( 100, 40 )
texture_normal = ExtResource( 6 )
texture_pressed = ExtResource( 5 )
expand = true
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/grab"]
margin_right = 394.0
margin_bottom = 48.0
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="VBoxContainer/grab/HBoxContainer"]
margin_right = 250.0
margin_bottom = 48.0
rect_min_size = Vector2( 250, 0 )
custom_fonts/font = ExtResource( 4 )
text = "Action"
[node name="grab" type="Label" parent="VBoxContainer/grab/HBoxContainer" groups=[
"controls",
]]
margin_left = 254.0
margin_top = 2.0
margin_right = 394.0
margin_bottom = 45.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Click here"
[node name="press_a_key" type="Panel" parent="."]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 3 )
[node name="indicator" type="Node2D" parent="press_a_key"]
[node name="finger" type="Node2D" parent="press_a_key/indicator"]
position = Vector2( -8.43286, -28.6716 )
[node name="Polygon2D4" type="Polygon2D" parent="press_a_key/indicator/finger"]
color = Color( 0.945098, 0.631373, 0.631373, 1 )
polygon = PoolVector2Array( 867.03, 37.8509, 775.956, 98.5673, 755.717, 137.358, 779.329, 174.463, 824.866, 189.642, 917.627, 130.612, 983.403, 98.5673, 1015.45, 78.3285, 1093.03, 22.6718, 990.15, -73.4626, 914.254, 9.17923 )
[node name="Polygon2D5" type="Polygon2D" parent="press_a_key/indicator/finger"]
color = Color( 0.74902, 0.564706, 0.564706, 1 )
polygon = PoolVector2Array( 818.12, 88.4479, 789.448, 108.687, 789.448, 150.851, 828.239, 166.03, 877.15, 137.358 )
[node name="Polygon2D6" type="Polygon2D" parent="press_a_key/indicator/finger"]
color = Color( 1, 0.776471, 0.776471, 1 )
polygon = PoolVector2Array( 814.747, 95.1942, 797.881, 123.866, 794.508, 140.732, 824.866, 155.911, 863.657, 133.985 )
[node name="button" type="Node2D" parent="press_a_key/indicator"]
position = Vector2( 6.74622, 37.1045 )
[node name="Polygon2D" type="Polygon2D" parent="press_a_key/indicator/button"]
polygon = PoolVector2Array( 708.493, 166.03, 801.254, 105.314, 900.762, 169.403, 895.702, 226.746, 804.627, 280.717, 710.179, 225.06 )
[node name="Polygon2D2" type="Polygon2D" parent="press_a_key/indicator/button"]
position = Vector2( -3.37317, -6.74631 )
color = Color( 0.85098, 0.67451, 0.67451, 1 )
polygon = PoolVector2Array( 708.493, 166.03, 801.254, 105.314, 900.762, 169.403, 811.374, 225.06 )
[node name="Polygon2D3" type="Polygon2D" parent="press_a_key/indicator/button"]
color = Color( 0.192157, 0.160784, 0.160784, 1 )
polygon = PoolVector2Array( 767.523, 66.5226, 808, 154.224, 855.224, 61.4628 )