1
0
Fork 0
spacetac/tests/hand_play_card.tscn

44 lines
1.1 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://screens/battle/hand.gd" type="Script" id=1]
[ext_resource path="res://arenas/anchor.tscn" type="PackedScene" id=2]
[ext_resource path="res://cards/spawns/spawn_breeze.tscn" type="PackedScene" id=3]
[ext_resource path="res://theme/ui.tres" type="Theme" id=4]
[sub_resource type="GDScript" id=1]
script/source = "extends Node2D
func _ready():
$hand.add_card($card)
$hand.rearrange()
"
[node name="Node2D" type="Node2D"]
script = SubResource( 1 )
[node name="anchor" parent="." instance=ExtResource( 2 )]
position = Vector2( 570, 900 )
[node name="hand" type="Control" parent="."]
margin_left = 160.0
margin_top = 1050.0
margin_right = 990.0
margin_bottom = 1380.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="card" parent="." instance=ExtResource( 3 )]
[node name="help" type="Label" parent="."]
margin_left = 170.0
margin_top = 470.0
margin_right = 953.0
margin_bottom = 519.0
theme = ExtResource( 4 )
text = "Drag the card to the anchor, to deploy it"
__meta__ = {
"_edit_use_anchors_": false
}