First work on dialogic, resized guild, and started implementing portraits.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bex2rdi5oh5cc"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://bex2rdi5oh5cc"]
|
||||
|
||||
[ext_resource type="StyleBox" uid="uid://cra63if6tmpgy" path="res://styles/profile_panel.tres" id="1_cdssf"]
|
||||
[ext_resource type="Script" uid="uid://b0obax7efrsy1" path="res://scripts/profile_popup.gd" id="1_pmp85"]
|
||||
[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://graphics/adventurer-profile-pic.png" id="2_pmp85"]
|
||||
[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://graphics/icon.svg" id="3_mx633"]
|
||||
[ext_resource type="Texture2D" uid="uid://bblr27slj6ap0" path="res://graphics/portraits/farmer_f.png" id="4_ileh1"]
|
||||
|
||||
[node name="Profile Popup" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_top = -99.0
|
||||
offset_bottom = -99.0
|
||||
mouse_filter = 2
|
||||
@@ -19,13 +19,26 @@ offset_top = -113.0
|
||||
offset_right = 144.0
|
||||
theme_override_styles/panel = ExtResource("1_cdssf")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="PanelContainer"]
|
||||
[node name="PortraitFrame" type="TextureRect" parent="PanelContainer"]
|
||||
self_modulate = Color(1, 1, 1, 0)
|
||||
clip_contents = true
|
||||
layout_mode = 0
|
||||
offset_left = 14.0
|
||||
offset_top = 13.0
|
||||
offset_right = 78.0
|
||||
offset_bottom = 77.0
|
||||
texture = ExtResource("2_pmp85")
|
||||
texture = ExtResource("3_mx633")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Portrait" type="TextureRect" parent="PanelContainer/PortraitFrame"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_left = -34.0
|
||||
offset_top = -8.0
|
||||
offset_right = 94.0
|
||||
offset_bottom = 120.0
|
||||
texture = ExtResource("4_ileh1")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
|
||||
Reference in New Issue
Block a user