Fähigkeitenbuch mit Dark Fantasy Skillbook Hintergrundbild

- skillbook.png als Hintergrund-TextureRect im Skill Panel
- Panel vergrößert (440x620), zentriert
- Panel-Background transparent, Inhalt mit Padding zum Rahmen

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Andre 2026-03-19 23:06:09 +01:00
parent 2096a18cd1
commit 4b1d1eeba6
2 changed files with 33 additions and 13 deletions

BIN
assets/Icons/skillbook.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

View file

@ -1,33 +1,53 @@
[gd_scene load_steps=2 format=3 uid="uid://skill_panel"]
[gd_scene format=3 uid="uid://skill_panel"]
[ext_resource type="Script" path="res://skill_panel.gd" id="1"]
[ext_resource type="Texture2D" path="res://assets/Icons/skillbook.png" id="2_bg"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1"]
[node name="SkillPanel" type="CanvasLayer"]
script = ExtResource("1")
[node name="Panel" type="Panel" parent="."]
anchors_preset = 0
offset_left = 250
offset_top = 100
offset_right = 530
offset_bottom = 400
custom_minimum_size = Vector2(280, 300)
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -220.0
offset_top = -310.0
offset_right = 220.0
offset_bottom = 310.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_1")
[node name="BookBackground" type="TextureRect" parent="Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource("2_bg")
expand_mode = 1
stretch_mode = 6
mouse_filter = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 10
offset_top = 10
offset_right = -10
offset_bottom = -10
offset_left = 55.0
offset_top = 60.0
offset_right = -55.0
offset_bottom = -70.0
theme_override_constants/separation = 10
[node name="TitleLabel" type="Label" parent="Panel/VBoxContainer"]
layout_mode = 2
text = "Fähigkeiten"
horizontal_alignment = 1
theme_override_font_sizes/font_size = 18
theme_override_font_sizes/font_size = 20
[node name="HSeparator" type="HSeparator" parent="Panel/VBoxContainer"]
layout_mode = 2
@ -37,7 +57,7 @@ layout_mode = 2
text = "Linksklick + Ziehen auf Aktionsleiste"
horizontal_alignment = 1
theme_override_font_sizes/font_size = 10
modulate = Color(0.7, 0.7, 0.7, 1)
modulate = Color(0.7, 0.6, 0.4, 1)
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/VBoxContainer"]
layout_mode = 2