diff --git a/UI/Card.tscn b/UI/Card.tscn index 3f71ec9..f25ab9b 100644 --- a/UI/Card.tscn +++ b/UI/Card.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=12 format=2] [ext_resource path="res://UI/Card.gd" type="Script" id=1] -[ext_resource path="res://Assets/CardDB/Damage.tres" type="Resource" id=2] +[ext_resource path="res://Assets/CardDB/Broadsword.tres" type="Resource" id=2] [ext_resource path="res://Assets/Metropolis-font/Metropolis-Bold.ttf" type="DynamicFontData" id=3] [ext_resource path="res://Assets/DiceInput.png" type="Texture" id=4] [ext_resource path="res://AutoGridContainer - Full Version/AutoGridContainer.tscn" type="PackedScene" id=5] @@ -18,7 +18,7 @@ corner_radius_bottom_left = 20 font_path = "res://Assets/Metropolis-font/Metropolis-Bold.ttf" [sub_resource type="DynamicFont" id=2] -size = 20 +size = 30 use_filter = true font_data = SubResource( 4 ) @@ -35,6 +35,8 @@ font_data = ExtResource( 3 ) [node name="Card" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 +margin_right = -741.0 +margin_bottom = -227.0 size_flags_horizontal = 3 size_flags_vertical = 3 script = ExtResource( 1 ) @@ -54,19 +56,19 @@ margin_right = -10.0 margin_bottom = -10.0 [node name="Name" type="Label" parent="VBox"] -margin_right = 1004.0 -margin_bottom = 21.0 +margin_right = 263.0 +margin_bottom = 31.0 custom_fonts/font = SubResource( 2 ) text = "The Card Name" align = 1 autowrap = true -[node name="AutoGridContainer" parent="VBox" instance=ExtResource( 5 )] -margin_top = 25.0 -margin_right = 1004.0 -margin_bottom = 486.0 +[node name="AutoGrid" parent="VBox" instance=ExtResource( 5 )] +margin_top = 35.0 +margin_right = 263.0 +margin_bottom = 259.0 -[node name="InputDice0" type="TextureRect" parent="VBox/AutoGridContainer"] +[node name="InputDice0" type="TextureRect" parent="VBox/AutoGrid"] margin_left = 9.0 margin_right = 209.0 margin_bottom = 200.0 @@ -77,21 +79,20 @@ texture = ExtResource( 4 ) expand = true stretch_mode = 6 -[node name="Number" type="Label" parent="VBox/AutoGridContainer/InputDice0"] +[node name="Number" type="Label" parent="VBox/AutoGrid/InputDice0"] anchor_right = 1.0 anchor_bottom = 1.0 size_flags_horizontal = 3 size_flags_vertical = 3 custom_colors/font_color = Color( 0, 0, 0, 1 ) custom_fonts/font = SubResource( 7 ) -text = "20" align = 1 valign = 1 [node name="Description" type="Label" parent="VBox"] -margin_top = 490.0 -margin_right = 1004.0 -margin_bottom = 580.0 +margin_top = 263.0 +margin_right = 263.0 +margin_bottom = 353.0 rect_min_size = Vector2( 0, 90 ) custom_fonts/font = SubResource( 5 ) text = "Description"