oh fuck im gonna have to learn to clean up previous commits
This commit is contained in:
78
UI/CardSelectionBox/card_selection_box.tscn
Normal file
78
UI/CardSelectionBox/card_selection_box.tscn
Normal file
@@ -0,0 +1,78 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://gdd1xupf4oxx"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://b165eh481oodf" path="res://Assets/Textures/damage_icon.png" id="1_k8442"]
|
||||
[ext_resource type="Script" uid="uid://87h0a76hdx4b" path="res://UI/CardSelectionBox/card_selection_box.gd" id="1_m0g3h"]
|
||||
[ext_resource type="StyleBox" uid="uid://c4ye5r2xdsocm" path="res://UI/CardSelectionBox/unselected_style_box.tres" id="2_0817q"]
|
||||
[ext_resource type="StyleBox" uid="uid://csbgndc6vfayf" path="res://UI/CardSelectionBox/selected_style_box.tres" id="2_ek0dh"]
|
||||
[ext_resource type="Texture2D" uid="uid://bpcyxdpog3w85" path="res://Assets/Textures/assault_icon.png" id="2_m0g3h"]
|
||||
|
||||
[node name="Control" type="Control" node_paths=PackedStringArray("icon", "tags", "cost_label", "lifetime_label")]
|
||||
custom_minimum_size = Vector2(170, 0)
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
script = ExtResource("1_m0g3h")
|
||||
icon = NodePath("PanelContainer/HBoxContainer/Icon")
|
||||
tags = NodePath("PanelContainer/HBoxContainer/MarginContainer/Tags")
|
||||
cost_label = NodePath("PanelContainer/HBoxContainer/Stats/Cost")
|
||||
lifetime_label = NodePath("PanelContainer/HBoxContainer/Stats/Lifetime")
|
||||
unselected_style_box = ExtResource("2_0817q")
|
||||
selected_style_box = ExtResource("2_ek0dh")
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="."]
|
||||
layout_mode = 2
|
||||
offset_right = 152.0
|
||||
offset_bottom = 124.0
|
||||
theme_override_styles/panel = ExtResource("2_ek0dh")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="Tags" type="VBoxContainer" parent="PanelContainer/HBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Icon2" type="TextureRect" parent="PanelContainer/HBoxContainer/MarginContainer/Tags"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
texture = ExtResource("1_k8442")
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Icon" type="TextureRect" parent="PanelContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
texture = ExtResource("2_m0g3h")
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Stats" type="VBoxContainer" parent="PanelContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Cost" type="Label" parent="PanelContainer/HBoxContainer/Stats"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 7
|
||||
text = "3"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Lifetime" type="Label" parent="PanelContainer/HBoxContainer/Stats"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 7
|
||||
text = "6"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Label" type="RichTextLabel" parent="."]
|
||||
layout_mode = 1
|
||||
offset_left = -25.0
|
||||
offset_top = 100.0
|
||||
offset_right = 25.0
|
||||
offset_bottom = 150.0
|
||||
bbcode_enabled = true
|
||||
text = "[img=top,50]/home/lexi/godot/multiplayer_tower_defense/UI/Keybinding/XeluController&KeyPrompts/Keyboard & Mouse/Light/1_Key_Light.png[/img]"
|
||||
fit_content = true
|
||||
vertical_alignment = 2
|
||||
Reference in New Issue
Block a user