feat: red and green card templates
This commit is contained in:
parent
e3c17f7397
commit
65dc02585e
32 changed files with 792 additions and 19 deletions
28
test_card.tscn
Normal file
28
test_card.tscn
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://dhm4v4r7he0op"]
|
||||
|
||||
[ext_resource type="Script" path="res://test_card.gd" id="1_tqmas"]
|
||||
[ext_resource type="PackedScene" uid="uid://dg5amjm1gqi06" path="res://ui/card/GreenCard.tscn" id="2_22pto"]
|
||||
[ext_resource type="Resource" uid="uid://4eod3m0vc5a8" path="res://data/cards/support/potion.tres" id="2_tbbjy"]
|
||||
[ext_resource type="PackedScene" uid="uid://cds50kwwhlgam" path="res://ui/card/RedCard.tscn" id="3_7wd2e"]
|
||||
|
||||
[node name="TestCard" 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_tqmas")
|
||||
card = ExtResource("2_tbbjy")
|
||||
|
||||
[node name="Green" parent="." instance=ExtResource("2_22pto")]
|
||||
offset_left = 225.0
|
||||
offset_top = 165.0
|
||||
offset_right = 445.0
|
||||
offset_bottom = 485.0
|
||||
|
||||
[node name="Red" parent="." instance=ExtResource("3_7wd2e")]
|
||||
offset_left = 699.0
|
||||
offset_top = 168.0
|
||||
offset_right = 919.0
|
||||
offset_bottom = 488.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue