godot-browser-tests/controller_test.tscn

68 lines
2 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://c63y7xw8m20dt"]
[ext_resource type="Script" uid="uid://6jaio7r4ptwa" path="res://Scripts/axis_display.gd" id="1_cxxsp"]
[ext_resource type="FontFile" uid="uid://c6rkayxx57pw3" path="res://Fonts/TX-02-Black.ttf" id="1_d14nv"]
[ext_resource type="FontFile" uid="uid://bi6h0efxwuf8w" path="res://Fonts/TX-02-Regular.ttf" id="2_tlyjq"]
[sub_resource type="LabelSettings" id="LabelSettings_tlyjq"]
font = ExtResource("1_d14nv")
font_size = 50
shadow_size = 10
shadow_color = Color(0, 0, 0, 0.196078)
shadow_offset = Vector2(2, 2)
[node name="ControllerTest" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Backround" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.24025, 0.155, 0.31, 1)
[node name="CenterContainer" type="CenterContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Axis-Display" type="VBoxContainer" parent="CenterContainer"]
layout_mode = 2
alignment = 1
script = ExtResource("1_cxxsp")
[node name="X-Axis" type="Label" parent="CenterContainer/Axis-Display"]
layout_mode = 2
text = "X-Axis:"
label_settings = SubResource("LabelSettings_tlyjq")
[node name="X-ProgressBar" type="ProgressBar" parent="CenterContainer/Axis-Display"]
custom_minimum_size = Vector2(600, 0)
layout_mode = 2
theme_override_fonts/font = ExtResource("2_tlyjq")
theme_override_font_sizes/font_size = 48
min_value = -1.0
max_value = 1.0
[node name="Y-Axis" type="Label" parent="CenterContainer/Axis-Display"]
layout_mode = 2
text = "Y-Axis:"
label_settings = SubResource("LabelSettings_tlyjq")
[node name="Y-ProgressBar" type="ProgressBar" parent="CenterContainer/Axis-Display"]
custom_minimum_size = Vector2(600, 0)
layout_mode = 2
theme_override_fonts/font = ExtResource("2_tlyjq")
theme_override_font_sizes/font_size = 48
min_value = -1.0
max_value = 1.0