40 lines
1.3 KiB
Text
40 lines
1.3 KiB
Text
[gd_scene format=3 uid="uid://pfl6jxwdjafp"]
|
|
|
|
[ext_resource type="Script" uid="uid://t1oraavj6jpk" path="res://Scenes/Battle/battle_scene.gd" id="1_yw7yn"]
|
|
[ext_resource type="Resource" uid="uid://c8l1o5q7jvlc7" path="res://Resources/Dies/default_die.tres" id="2_owr4d"]
|
|
[ext_resource type="PackedScene" uid="uid://bikd5ukvohh5y" path="res://Scenes/Battle/attack_card.tscn" id="3_c3aki"]
|
|
|
|
[node name="BattleScene" type="Control" unique_id=1237978529]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_yw7yn")
|
|
test_die = ExtResource("2_owr4d")
|
|
|
|
[node name="RollDice" type="Button" parent="." unique_id=993526403]
|
|
custom_minimum_size = Vector2(400, 200)
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -200.0
|
|
offset_top = -200.0
|
|
offset_right = 200.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_font_sizes/font_size = 90
|
|
text = "Roll Dice"
|
|
|
|
[node name="AttackCard" parent="." unique_id=2051834154 instance=ExtResource("3_c3aki")]
|
|
layout_mode = 1
|
|
offset_left = 186.0
|
|
offset_top = 818.0
|
|
offset_right = -1334.0
|
|
offset_bottom = -62.0
|
|
|
|
[connection signal="pressed" from="RollDice" to="." method="_on_roll_dice_pressed"]
|