gamo-gd/controller/joystick/joystick.tscn

59 lines
1.7 KiB
Plaintext

[gd_scene format=3 uid="uid://dmbbgdsoioadd"]
[ext_resource type="Script" uid="uid://d0uk2qtgrsvhg" path="res://controller/joystick/joystick.gd" id="1_vr4b3"]
[ext_resource type="StyleBox" uid="uid://bgb7rlf1chjnd" path="res://controller/joystick/joystick_theme.tres" id="2_crwtg"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2jarx"]
bg_color = Color(0.6, 0.6, 0.6, 0)
draw_center = false
border_width_left = 10
border_width_top = 10
border_width_right = 10
border_width_bottom = 10
border_color = Color(0.16470589, 0.16470589, 0.16470589, 1)
corner_radius_top_left = 100
corner_radius_top_right = 100
corner_radius_bottom_right = 100
corner_radius_bottom_left = 100
corner_detail = 16
[node name="JoystickArea" type="Panel" unique_id=1948391394]
offset_right = 256.0
offset_bottom = 256.0
pivot_offset = Vector2(128, 128)
theme_override_styles/panel = SubResource("StyleBoxFlat_2jarx")
script = ExtResource("1_vr4b3")
[node name="Pos" type="Panel" parent="." unique_id=1096340521]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -48.0
offset_top = -48.0
offset_right = 48.0
offset_bottom = 48.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(48, 48)
theme_override_styles/panel = ExtResource("2_crwtg")
[node name="Label" type="RichTextLabel" parent="." unique_id=1954656287]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -120.0
offset_top = -40.0
offset_right = 120.0
grow_horizontal = 2
grow_vertical = 0
theme_override_font_sizes/normal_font_size = 24
autowrap_mode = 0
horizontal_alignment = 1
vertical_alignment = 1