forked from interstellar_development/freettrpg
5e4f79ee19
Scrolling implemented in view and creator, so you can add infinite variables to the content.
39 lines
965 B
Text
39 lines
965 B
Text
[gd_scene load_steps=2 format=3 uid="uid://btl7r0wvecyd3"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/getStats.gd" id="1_dcehj"]
|
|
|
|
[node name="characterViewer" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_dcehj")
|
|
|
|
[node name="button" type="Button" parent="."]
|
|
layout_mode = 2
|
|
offset_left = 512.0
|
|
offset_top = 400.0
|
|
offset_right = 638.0
|
|
offset_bottom = 435.0
|
|
scale = Vector2(2, 2)
|
|
text = "Get"
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 13
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -400.0
|
|
offset_right = 104.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[connection signal="pressed" from="button" to="." method="_on_button_pressed"]
|