[gd_scene load_steps=14 format=3 uid="uid://bhrelvt51cbp2"] [ext_resource type="Script" path="res://ui/card_template/monster_card.gd" id="1_xddej"] [ext_resource type="Texture2D" uid="uid://l2nxxhh0pvh8" path="res://assets/card_base/Frame.png" id="2_lhxdu"] [ext_resource type="Texture2D" uid="uid://crgrple0uik7x" path="res://assets/card_base/Stroke.png" id="4_kkcc6"] [ext_resource type="Texture2D" uid="uid://c2qyx2k50v2vv" path="res://assets/card_base/Monster-InnerFill.png" id="5_a3gpd"] [ext_resource type="Texture2D" uid="uid://b8accn4e2ojau" path="res://assets/monster/froggo 1.png" id="7_j2i0p"] [ext_resource type="Texture2D" uid="uid://dft4fbgoecbp4" path="res://assets/card_base/Illustrated BG.png" id="7_qe8a1"] [ext_resource type="Texture2D" uid="uid://cqttp0i3vph37" path="res://assets/card_base/Star.png" id="8_ophhb"] [ext_resource type="Theme" uid="uid://is34t82g4jg" path="res://cards.tres" id="9_6x2vq"] [ext_resource type="Texture2D" uid="uid://cjmxetjq82rl2" path="res://assets/card_base/Pip.png" id="10_14hhn"] [ext_resource type="FontFile" uid="uid://08q3kkwmd4u6" path="res://assets/Inter-Regular.otf" id="11_oy107"] [ext_resource type="Texture2D" uid="uid://bywa8qlwvcksd" path="res://assets/card_base/batu.png" id="12_a4kkh"] [ext_resource type="Texture2D" uid="uid://ch04c20lkis6j" path="res://assets/card_base/gunting.png" id="13_ifoc6"] [ext_resource type="Texture2D" uid="uid://b0pclmv0j0r12" path="res://assets/card_base/kertas.png" id="14_gm7k7"] [node name="MonsterCard" type="Control" node_paths=PackedStringArray("name_label", "health_label", "energy_pip_container", "icon_texture_rect", "paper_damage", "scissors_damage", "rock_damage")] custom_minimum_size = Vector2(220, 320) layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_right = -1700.0 offset_bottom = -760.0 grow_horizontal = 2 grow_vertical = 2 scale = Vector2(0.7, 0.7) pivot_offset = Vector2(110, 160) size_flags_vertical = 8 script = ExtResource("1_xddej") name_label = NodePath("MarginContainer/MonsterNameLabel") health_label = NodePath("MarginContainer/HealthLabel") energy_pip_container = NodePath("MarginContainer/EnergyStarsContainer") icon_texture_rect = NodePath("MarginContainer/TextureRect2/IconTextureRect") paper_damage = NodePath("MarginContainer/HBoxContainer/Rock2/PaperLabel") scissors_damage = NodePath("MarginContainer/HBoxContainer/Rock3/ScissorsLabel") rock_damage = NodePath("MarginContainer/HBoxContainer/Rock/RockLabel") [node name="Frame" type="TextureRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("2_lhxdu") expand_mode = 1 [node name="MarginContainer" type="Control" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 4.0 offset_top = 3.0 offset_right = -5.0 offset_bottom = -4.0 grow_horizontal = 2 grow_vertical = 2 [node name="OuterStroke" type="NinePatchRect" parent="MarginContainer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("4_kkcc6") [node name="InnerFill" type="TextureRect" parent="MarginContainer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = 43.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("5_a3gpd") expand_mode = 1 [node name="InnerStroke" type="NinePatchRect" parent="MarginContainer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = 42.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("4_kkcc6") [node name="TextureRect2" type="TextureRect" parent="MarginContainer"] layout_mode = 0 offset_left = 9.0 offset_top = 77.0 offset_right = 199.0 offset_bottom = 207.0 pivot_offset = Vector2(95, 65) texture = ExtResource("7_qe8a1") expand_mode = 1 stretch_mode = 5 [node name="IconTextureRect" type="TextureRect" parent="MarginContainer/TextureRect2"] unique_name_in_owner = true layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("7_j2i0p") expand_mode = 1 stretch_mode = 5 [node name="EnergyStarsContainer" type="HBoxContainer" parent="MarginContainer"] unique_name_in_owner = true layout_mode = 0 offset_left = 100.0 offset_top = 54.0 offset_right = 197.0 offset_bottom = 69.0 alignment = 2 [node name="TextureRect" type="TextureRect" parent="MarginContainer/EnergyStarsContainer"] layout_mode = 2 texture = ExtResource("8_ophhb") expand_mode = 3 stretch_mode = 5 [node name="TextureRect2" type="TextureRect" parent="MarginContainer/EnergyStarsContainer"] layout_mode = 2 texture = ExtResource("8_ophhb") expand_mode = 3 stretch_mode = 5 [node name="TextureRect3" type="TextureRect" parent="MarginContainer/EnergyStarsContainer"] layout_mode = 2 texture = ExtResource("8_ophhb") expand_mode = 3 stretch_mode = 5 [node name="TextureRect4" type="TextureRect" parent="MarginContainer/EnergyStarsContainer"] layout_mode = 2 texture = ExtResource("8_ophhb") expand_mode = 3 stretch_mode = 5 [node name="TextureRect5" type="TextureRect" parent="MarginContainer/EnergyStarsContainer"] layout_mode = 2 texture = ExtResource("8_ophhb") expand_mode = 3 stretch_mode = 5 [node name="HealthLabel" type="Label" parent="MarginContainer"] unique_name_in_owner = true layout_mode = 1 anchors_preset = 10 anchor_right = 1.0 offset_left = 14.0 offset_top = 44.0 offset_right = -99.0 offset_bottom = 80.0 grow_horizontal = 2 theme = ExtResource("9_6x2vq") theme_override_font_sizes/font_size = 16 text = "HP 80/100" vertical_alignment = 1 [node name="MonsterNameLabel" type="Label" parent="MarginContainer"] unique_name_in_owner = true layout_mode = 1 anchors_preset = 10 anchor_right = 1.0 offset_left = 31.0 offset_top = 11.0 offset_right = 26.0 offset_bottom = 47.0 grow_horizontal = 2 theme = ExtResource("9_6x2vq") theme_override_font_sizes/font_size = 26 text = "Cattogato" vertical_alignment = 1 [node name="CardNumber" type="TextureRect" parent="MarginContainer"] layout_mode = 0 offset_left = 7.0 offset_top = 17.0 offset_right = 26.0 offset_bottom = 36.0 texture = ExtResource("10_14hhn") expand_mode = 1 stretch_mode = 5 [node name="Label" type="Label" parent="MarginContainer/CardNumber"] visible = false layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -9.5 offset_top = -7.0 offset_right = 9.5 offset_bottom = 7.0 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("9_6x2vq") theme_override_colors/font_color = Color(0, 0, 0, 1) theme_override_fonts/font = ExtResource("11_oy107") theme_override_font_sizes/font_size = 6 text = "#01" horizontal_alignment = 1 vertical_alignment = 1 [node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"] layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -100.0 offset_top = -102.143 offset_right = 100.0 offset_bottom = -7.1427 grow_horizontal = 2 grow_vertical = 0 alignment = 1 [node name="Rock" type="Control" parent="MarginContainer/HBoxContainer"] custom_minimum_size = Vector2(64, 0) layout_mode = 2 size_flags_horizontal = 3 [node name="RockLabel" type="Label" parent="MarginContainer/HBoxContainer/Rock"] layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -32.0 offset_right = 32.0 offset_bottom = 26.0 grow_horizontal = 2 theme = ExtResource("9_6x2vq") theme_override_font_sizes/font_size = 24 text = "100" horizontal_alignment = 1 vertical_alignment = 2 [node name="Rock" type="TextureRect" parent="MarginContainer/HBoxContainer/Rock"] layout_mode = 2 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = 30.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("12_a4kkh") expand_mode = 1 stretch_mode = 5 [node name="Rock2" type="Control" parent="MarginContainer/HBoxContainer"] custom_minimum_size = Vector2(64, 0) layout_mode = 2 size_flags_horizontal = 3 [node name="PaperLabel" type="Label" parent="MarginContainer/HBoxContainer/Rock2"] layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -32.0 offset_right = 32.0 offset_bottom = 26.0 grow_horizontal = 2 theme = ExtResource("9_6x2vq") theme_override_font_sizes/font_size = 24 text = "10" horizontal_alignment = 1 vertical_alignment = 2 [node name="Paper" type="TextureRect" parent="MarginContainer/HBoxContainer/Rock2"] layout_mode = 2 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = 30.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("14_gm7k7") expand_mode = 1 stretch_mode = 5 [node name="Rock3" type="Control" parent="MarginContainer/HBoxContainer"] custom_minimum_size = Vector2(64, 0) layout_mode = 2 size_flags_horizontal = 3 [node name="ScissorsLabel" type="Label" parent="MarginContainer/HBoxContainer/Rock3"] layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -32.0 offset_right = 32.0 offset_bottom = 26.0 grow_horizontal = 2 theme = ExtResource("9_6x2vq") theme_override_font_sizes/font_size = 24 text = "10" horizontal_alignment = 1 vertical_alignment = 2 [node name="Scissors" type="TextureRect" parent="MarginContainer/HBoxContainer/Rock3"] layout_mode = 2 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = 30.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("13_ifoc6") expand_mode = 1 stretch_mode = 5