First work on dialogic, resized guild, and started implementing portraits.

This commit is contained in:
2025-08-14 10:26:24 -04:00
parent 95a7db036b
commit 3aeb3d44e6
959 changed files with 47688 additions and 46 deletions

View File

@@ -0,0 +1,48 @@
@tool
class_name DialogicWaitInputEvent
extends DialogicEvent
## Event that waits for input before continuing.
var hide_textbox := true
################################################################################
## EXECUTE
################################################################################
func _execute() -> void:
if hide_textbox:
dialogic.Text.hide_textbox()
dialogic.current_state = DialogicGameHandler.States.IDLE
dialogic.Inputs.auto_skip.enabled = false
await dialogic.Inputs.dialogic_action
finish()
################################################################################
## INITIALIZE
################################################################################
func _init() -> void:
event_name = "Wait for Input"
set_default_color('Color5')
event_category = "Flow"
event_sorting_index = 12
################################################################################
## SAVING/LOADING
################################################################################
func get_shortcode() -> String:
return "wait_input"
func get_shortcode_parameters() -> Dictionary:
return {
#param_name : property_info
"hide_text" : {"property": "hide_textbox", "default": true},
}
func build_event_editor() -> void:
add_header_label('Wait for input')
add_body_edit('hide_textbox', ValueType.BOOL, {'left_text':'Hide text box:'})

View File

@@ -0,0 +1 @@
uid://0fwvbu4tw4oe

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg width="63.999996" height="63.999996" viewBox="0 0 16.933332 16.933332" version="1.1" id="svg5" inkscape:export-filename="settings-icon.svg" inkscape:export-xdpi="96" inkscape:export-ydpi="96" sodipodi:docname="icon.svg" inkscape:version="1.2.2 (732a01da63, 2022-12-09)" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview id="namedview7" pagecolor="#464646" bordercolor="#000000" borderopacity="0.25" inkscape:showpageshadow="2" inkscape:pageopacity="0" inkscape:pagecheckerboard="0" inkscape:deskcolor="#d1d1d1" inkscape:document-units="mm" showgrid="false" showguides="true" inkscape:zoom="1.5898438" inkscape:cx="-154.41769" inkscape:cy="-35.223587" inkscape:window-width="1920" inkscape:window-height="1017" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="svg5" />
<defs id="defs2" />
<path id="rect32348" style="stroke-width:1.69703;stroke-dasharray:none;fill:#ffffff;fill-opacity:0.75;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" d="M -74.036184,-5.4987402 V 7.6914445 c 0,9.0790395 7.310309,16.3876505 16.389347,16.3876505 9.079038,0 16.387651,-7.308611 16.387651,-16.3876505 V -5.4987402 Z" transform="matrix(0.23338964,0,0,0.23338964,22.487038,9.9966238)" />
<path id="path35376" style="stroke-width:1.69703;stroke-dasharray:none;fill:#ffffff;fill-opacity:0.75;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" d="m -56.294911,-25.026183 v 6.476353 c 0.897286,0.480984 1.504591,1.425799 1.504591,2.518959 v 2.858213 c 0,1.093174 -0.607286,2.037981 -1.504591,2.518959 v 2.4477148 h 15.035725 v -0.491918 c 0,-8.6228998 -6.595011,-15.6440248 -15.035725,-16.3282808 z" transform="matrix(0.23338964,0,0,0.23338964,22.487038,9.9966238)" />
<path id="path35374" style="stroke-width:1.69703;stroke-dasharray:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" d="m -58.998763,-25.026183 c -8.441517,0.683458 -15.037421,7.704808 -15.037421,16.3282808 v 0.491918 h 15.037421 v -2.4460188 c -0.898402,-0.480644 -1.506287,-1.426671 -1.506287,-2.520655 v -2.858213 c 0,-1.09397 0.607904,-2.040005 1.506287,-2.520655 z" transform="matrix(0.23338964,0,0,0.23338964,22.487038,9.9966238)" />
<rect style="stroke-width:0.910726;stroke-dasharray:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" id="rect38528" width="5.0777411" height="13.134425" x="-43.094013" y="-74.754066" ry="4.3330054" transform="matrix(0.18747781,-0.13900645,0.13900645,0.18747781,22.487038,9.9966238)" />
<rect style="stroke-width:0.910726;stroke-dasharray:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" id="rect38530" width="5.0777411" height="13.134425" x="-63.386398" y="-47.359566" ry="4.3330054" transform="matrix(0.23186377,-0.02664421,0.02664421,0.23186377,22.487038,9.9966238)" />
<rect style="stroke-width:0.910726;stroke-dasharray:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" id="rect38532" width="5.0777411" height="13.134425" x="-11.588428" y="-88.045616" ry="4.3330054" transform="matrix(0.09285733,-0.21412202,0.21412202,0.09285733,22.487038,9.9966238)" />
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@@ -0,0 +1,44 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bfn7ctg6nrkwp"
path="res://.godot/imported/icon.svg-cb8e50b081a310c64183b12c6d12fcf2.ctex"
metadata={
"has_editor_variant": true,
"vram_texture": false
}
[deps]
source_file="res://addons/dialogic/Modules/WaitInput/icon.svg"
dest_files=["res://.godot/imported/icon.svg-cb8e50b081a310c64183b12c6d12fcf2.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=1.0
editor/scale_with_editor_scale=true
editor/convert_colors_with_editor_theme=true

View File

@@ -0,0 +1,6 @@
@tool
extends DialogicIndexer
func _get_events() -> Array:
return [this_folder.path_join('event_wait_input.gd')]

View File

@@ -0,0 +1 @@
uid://cc4jx3ykyqhsf