forked from interstellar_development/freeftf
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
|
[gd_scene load_steps=2 format=3 uid="uid://chat8qnah7px5"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://scripts/ability_select.gd" id="1_27s6x"]
|
||
|
|
||
|
[node name="ability" type="Control"]
|
||
|
layout_mode = 3
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
|
||
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 8
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
offset_left = -20.0
|
||
|
offset_top = -20.0
|
||
|
offset_right = 20.0
|
||
|
offset_bottom = 20.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
script = ExtResource("1_27s6x")
|
||
|
|
||
|
[node name="opt0" type="Button" parent="VBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
theme_override_font_sizes/font_size = 32
|
||
|
text = "Runner"
|
||
|
|
||
|
[node name="opt1" type="Button" parent="VBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
theme_override_font_sizes/font_size = 32
|
||
|
text = "Jumper
|
||
|
"
|
||
|
|
||
|
[connection signal="pressed" from="VBoxContainer/opt0" to="VBoxContainer" method="_on_opt_0_pressed"]
|
||
|
[connection signal="pressed" from="VBoxContainer/opt1" to="VBoxContainer" method="_on_opt_1_pressed"]
|