bcp de characters

This commit is contained in:
E250429F
2026-09-03 09:43:13 +02:00
parent a061aff066
commit 025a866eef
1175 changed files with 85837 additions and 286 deletions
@@ -0,0 +1,7 @@
[style]
type = "Layer"
name = "5 Portraits"
author = "Dialogic"
description = "A layer with 5 portrait position containers."
scene = "vn_portrait_layer.tscn"
icon = "portrait_layer_icon.svg"
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1"
id="svg13076" inkscape:export-filename="portrait_layre.svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg" inkscape:export-ydpi="96" inkscape:export-xdpi="96" inkscape:version="1.2.2 (732a01da63, 2022-12-09)"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100px" height="100px"
viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
<sodipodi:namedview id="namedview13078" inkscape:pagecheckerboard="0" inkscape:cy="64.755078" inkscape:zoom="4.185" inkscape:cx="70.728793" pagecolor="#505050" showgrid="true" borderopacity="1" bordercolor="#eeeeee" inkscape:document-units="mm" inkscape:deskcolor="#505050" inkscape:pageopacity="0" inkscape:showpageshadow="0" inkscape:current-layer="layer1" inkscape:window-y="-8" inkscape:window-x="-8" inkscape:window-height="1017" inkscape:window-width="1920" inkscape:window-maximized="1">
<inkscape:grid id="grid14286" type="xygrid"></inkscape:grid>
</sodipodi:namedview>
<g>
<ellipse id="path23638" fill="#FFFFFF" cx="18.793" cy="33.473" rx="13.682" ry="14.261"/>
<path id="path23636" sodipodi:nodetypes="ccccc" fill="#FFFFFF" d="M6.903,80.789c0-11.847,0-23.693,4.756-35.539h14.268
c4.756,11.846,4.756,23.692,4.756,35.539H6.903"/>
<ellipse id="ellipse23642" fill="#FFFFFF" cx="49.999" cy="33.473" rx="13.683" ry="14.261"/>
<path id="path23640" sodipodi:nodetypes="ccccc" fill="#FFFFFF" d="M38.108,80.789c0-11.847,0-23.693,4.756-35.539h14.268
c4.756,11.846,4.756,23.692,4.756,35.539H38.108"/>
<path id="path23644" sodipodi:nodetypes="ccccc" fill="#FFFFFF" d="M69.316,80.789c0-11.847,0-23.693,4.756-35.539H88.34
c4.757,11.846,4.757,23.692,4.757,35.539H69.316"/>
<ellipse id="ellipse23646" fill="#FFFFFF" cx="81.206" cy="33.473" rx="13.683" ry="14.261"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

@@ -0,0 +1,44 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://fwi64s4gbob2"
path="res://.godot/imported/portrait_layer_icon.svg-4bc8b0ebd4dd0977a12c09f30758d7e1.ctex"
metadata={
"has_editor_variant": true,
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_VN_Portraits/portrait_layer_icon.svg"
dest_files=["res://.godot/imported/portrait_layer_icon.svg-4bc8b0ebd4dd0977a12c09f30758d7e1.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=0.3
editor/scale_with_editor_scale=true
editor/convert_colors_with_editor_theme=true
Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ypmfci4n2abt"
path="res://.godot/imported/preview.png-8a6dae1a8e205382d354326ea6961ed2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_VN_Portraits/preview.png"
dest_files=["res://.godot/imported/preview.png-8a6dae1a8e205382d354326ea6961ed2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
@@ -0,0 +1,13 @@
@tool
extends DialogicLayoutLayer
## A layer that allows showing 5 portraits, like in a visual novel.
## The canvas layer that the portraits are on.
@export var portrait_size_mode: DialogicNode_PortraitContainer.SizeModes = DialogicNode_PortraitContainer.SizeModes.FIT_SCALE_HEIGHT
func _apply_export_overrides() -> void:
# apply portrait size
for child: DialogicNode_PortraitContainer in %Portraits.get_children():
child.size_mode = portrait_size_mode
@@ -0,0 +1 @@
uid://cx1i44s2olq2d
@@ -0,0 +1,178 @@
[gd_scene format=3 uid="uid://cy1y14inwkplb"]
[ext_resource type="Script" uid="uid://cx1i44s2olq2d" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_VN_Portraits/vn_portrait_layer.gd" id="1_1i7em"]
[ext_resource type="Script" uid="uid://d0ptqnbudhkyj" path="res://addons/dialogic/Modules/Character/node_portrait_container.gd" id="1_rxdcc"]
[ext_resource type="Script" uid="uid://diexbgvrksk2k" path="res://addons/dialogic/Resources/flex_vector.gd" id="3_j0v32"]
[sub_resource type="Resource" id="Resource_nf3k4"]
script = ExtResource("3_j0v32")
x_value = 0.2
y_value = 1.0
[sub_resource type="Resource" id="Resource_j0v32"]
script = ExtResource("3_j0v32")
x_value = 0.1
y_value = 1.0
[sub_resource type="Resource" id="Resource_kwhsf"]
script = ExtResource("3_j0v32")
x_value = 0.5
y_value = 1.0
[sub_resource type="Resource" id="Resource_np73d"]
script = ExtResource("3_j0v32")
x_value = 0.19999999
y_value = 1.0
[sub_resource type="Resource" id="Resource_pw8le"]
script = ExtResource("3_j0v32")
x_value = 0.3
y_value = 1.0
[sub_resource type="Resource" id="Resource_u26y7"]
script = ExtResource("3_j0v32")
x_value = 0.5
y_value = 1.0
[sub_resource type="Resource" id="Resource_46qkt"]
script = ExtResource("3_j0v32")
x_value = 0.19999999
y_value = 1.0
[sub_resource type="Resource" id="Resource_vcdlt"]
script = ExtResource("3_j0v32")
x_value = 0.5
y_value = 1.0
[sub_resource type="Resource" id="Resource_vnd0q"]
script = ExtResource("3_j0v32")
x_value = 0.5
y_value = 1.0
[sub_resource type="Resource" id="Resource_w5lxs"]
script = ExtResource("3_j0v32")
x_value = 0.19999999
y_value = 1.0
[sub_resource type="Resource" id="Resource_2ixhv"]
script = ExtResource("3_j0v32")
x_value = 0.7
y_value = 1.0
[sub_resource type="Resource" id="Resource_ssa17"]
script = ExtResource("3_j0v32")
x_value = 0.5
y_value = 1.0
[sub_resource type="Resource" id="Resource_y7160"]
script = ExtResource("3_j0v32")
x_value = 0.19999999
y_value = 1.0
[sub_resource type="Resource" id="Resource_owffp"]
script = ExtResource("3_j0v32")
x_value = 0.9
y_value = 1.0
[sub_resource type="Resource" id="Resource_wacbv"]
script = ExtResource("3_j0v32")
x_value = 0.5
y_value = 1.0
[node name="VN_PortraitLayer" type="Control" unique_id=770308938]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
script = ExtResource("1_1i7em")
[node name="Portraits" type="Control" parent="." unique_id=1118283014]
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
mouse_filter = 2
[node name="leftmost" type="Control" parent="Portraits" unique_id=1680326072]
layout_mode = 1
anchors_preset = 0
offset_right = 230.4
offset_bottom = 648.0
size = Vector2(230.4, 648)
pivot_offset = Vector2(115.2, 648)
mouse_filter = 2
script = ExtResource("1_rxdcc")
container_ids = PackedStringArray("leftmost", "0")
container_size = SubResource("Resource_nf3k4")
container_position = SubResource("Resource_j0v32")
container_origin = SubResource("Resource_kwhsf")
[node name="left" type="Control" parent="Portraits" unique_id=2147382048]
layout_mode = 1
anchors_preset = 0
offset_left = 230.40001
offset_right = 460.8
offset_bottom = 648.0
size = Vector2(230.39998, 648)
position = Vector2(230.40001, 0)
mouse_filter = 2
script = ExtResource("1_rxdcc")
container_ids = PackedStringArray("left", "1")
container_size = SubResource("Resource_np73d")
container_position = SubResource("Resource_pw8le")
container_origin = SubResource("Resource_u26y7")
metadata/_edit_use_anchors_ = true
[node name="center" type="Control" parent="Portraits" unique_id=452412182]
layout_mode = 1
anchors_preset = 0
offset_left = 460.8
offset_right = 691.19995
offset_bottom = 648.0
size = Vector2(230.39996, 648)
position = Vector2(460.8, 0)
mouse_filter = 2
script = ExtResource("1_rxdcc")
container_ids = PackedStringArray("center", "middle", "2")
container_size = SubResource("Resource_46qkt")
container_position = SubResource("Resource_vcdlt")
container_origin = SubResource("Resource_vnd0q")
metadata/_edit_use_anchors_ = true
[node name="right" type="Control" parent="Portraits" unique_id=1797107823]
layout_mode = 1
anchors_preset = 0
offset_left = 691.2
offset_right = 921.6
offset_bottom = 648.0
size = Vector2(230.39996, 648)
position = Vector2(691.2, 0)
mouse_filter = 2
script = ExtResource("1_rxdcc")
container_ids = PackedStringArray("right", "3")
container_size = SubResource("Resource_w5lxs")
container_position = SubResource("Resource_2ixhv")
container_origin = SubResource("Resource_ssa17")
metadata/_edit_use_anchors_ = true
[node name="rightmost" type="Control" parent="Portraits" unique_id=1200320127]
layout_mode = 1
anchors_preset = 0
offset_left = 921.60004
offset_right = 1152.0
offset_bottom = 648.0
size = Vector2(230.39996, 648)
position = Vector2(921.60004, 0)
mouse_filter = 2
script = ExtResource("1_rxdcc")
container_ids = PackedStringArray("rightmost", "4")
container_size = SubResource("Resource_y7160")
container_position = SubResource("Resource_owffp")
container_origin = SubResource("Resource_wacbv")
metadata/_edit_use_anchors_ = true