Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ end_of_line = lf
insert_final_newline = true

[*.gd]
indent_style = tab
indent_style = space
indent_size = 2
Empty file modified .gitattributes
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion .github/workflows/Format.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
sudo pip3 install -r requirements.txt

- name: Format checks via gdformat
run: gdformat -d **/*.gd
run: gdformat --use-space=2 --line-length=120 -d **/*.gd
Empty file modified .github/workflows/Lint.yml
100644 → 100755
Empty file.
8 changes: 8 additions & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
# Build
bin/
.sconsign.dblite
.scons-cache/
*.os

# SConstruct
.sconf_temp
.sconsign.dblite
*.pyc

# Godot-specific ignores
.godot/
.import/
export.cfg
export_presets.cfg
Expand Down
Binary file added Assets/Animations/EyesAnimation.res
Binary file not shown.
26 changes: 26 additions & 0 deletions Assets/Animations/EyesBaseAnimationRoot.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[gd_resource type="AnimationNodeStateMachine" load_steps=6 format=3 uid="uid://ly7ccqfk3mok"]

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_1j00c"]
animation = &"Blink"

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_pul01"]
animation = &"Idle"

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_3qovn"]
advance_mode = 2

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_xxh8x"]

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_618iv"]
switch_mode = 2
advance_mode = 2

[resource]
states/Blink/node = SubResource("AnimationNodeAnimation_1j00c")
states/Blink/position = Vector2(477.667, 142.667)
states/End/position = Vector2(690.667, 82.4444)
states/Idle/node = SubResource("AnimationNodeAnimation_pul01")
states/Idle/position = Vector2(477, 17.5473)
states/Start/position = Vector2(334, 17.6543)
transitions = ["Start", "Idle", SubResource("AnimationNodeStateMachineTransition_3qovn"), "Idle", "Blink", SubResource("AnimationNodeStateMachineTransition_xxh8x"), "Blink", "Idle", SubResource("AnimationNodeStateMachineTransition_618iv")]
graph_offset = Vector2(-225, -52)
Binary file added Assets/Animations/FaceAnimation.res
Binary file not shown.
3 changes: 3 additions & 0 deletions Assets/Animations/PortraitBaseAnimationRoot.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[gd_resource type="AnimationNodeStateMachine" format=3 uid="uid://dhrcry6fbo6f0"]

[resource]
Empty file modified Assets/Animations/Portrait_base.tres
100644 → 100755
Empty file.
Empty file modified Assets/Animations/Portrait_base_anim.tres
100644 → 100755
Empty file.
Empty file modified Assets/Fonts/FSEX302.ttf
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions Assets/Fonts/FSEX302.ttf.import
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
keep_rounding_remainders=true
oversampling=0.0
Fallbacks=null
fallbacks=[]
Expand Down
Empty file modified Assets/Fonts/FixedsysExcelsior.tres
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions Assets/Icons/Folder.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions Assets/Icons/Folder.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://b0p30x4icgtuy"
path="res://.godot/imported/Folder.svg-6fe71eea16322e5e4071b3eb167cc4a7.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://addons/Suada/Assets/Icons/Folder.svg"
dest_files=["res://.godot/imported/Folder.svg-6fe71eea16322e5e4071b3eb167cc4a7.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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=false
editor/convert_colors_with_editor_theme=false
Empty file modified Assets/Sounds/vocal_sound_1.ogg
100644 → 100755
Empty file.
Empty file modified Assets/Sounds/vocal_sound_1.ogg.import
100644 → 100755
Empty file.
Empty file modified Assets/Sounds/vocal_sound_short_1.ogg
100644 → 100755
Empty file.
Empty file modified Assets/Sounds/vocal_sound_short_1.ogg.import
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions Assets/Sprites/Eyes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions Assets/Sprites/Eyes.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://brgog63rm2a5c"
path="res://.godot/imported/Eyes.png-1b69cc53dbbb59e9e7a9b9ea55d6d24f.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://addons/Suada/Assets/Sprites/Eyes.png"
dest_files=["res://.godot/imported/Eyes.png-1b69cc53dbbb59e9e7a9b9ea55d6d24f.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
3 changes: 3 additions & 0 deletions Assets/Sprites/Rela.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions Assets/Sprites/Rela.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://4mqv4h4t4yw8"
path="res://.godot/imported/Rela.png-9c2303cd088c7a5374ba9d1f9df64055.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://addons/Suada/Assets/Sprites/Rela.png"
dest_files=["res://.godot/imported/Rela.png-9c2303cd088c7a5374ba9d1f9df64055.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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
Empty file modified Assets/Sprites/default_portrait.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Assets/Sprites/default_portrait.png.import
100644 → 100755
Empty file.
Empty file modified Assets/Sprites/dialogue_box.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Assets/Sprites/dialogue_box.png.import
100644 → 100755
Empty file.
Empty file modified Assets/Sprites/dialogue_box_9_tile.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Assets/Sprites/dialogue_box_9_tile.png.import
100644 → 100755
Empty file.
Empty file modified Assets/Sprites/indicator.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Assets/Sprites/indicator.png.import
100644 → 100755
Empty file.
Empty file modified Assets/Sprites/name_box.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Assets/Sprites/name_box.png.import
100644 → 100755
Empty file.
Empty file modified Assets/Sprites/name_box_9_tile.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Assets/Sprites/name_box_9_tile.png.import
100644 → 100755
Empty file.
Empty file modified Assets/Sprites/portrait_background.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Assets/Sprites/portrait_background.png.import
100644 → 100755
Empty file.
Empty file modified Assets/Sprites/portrait_base_idle1.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Assets/Sprites/portrait_base_idle1.png.import
100644 → 100755
Empty file.
Empty file modified Assets/Sprites/portrait_base_idle2.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Assets/Sprites/portrait_base_idle2.png.import
100644 → 100755
Empty file.
Empty file modified Assets/Sprites/portrait_base_idle3.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Assets/Sprites/portrait_base_idle3.png.import
100644 → 100755
Empty file.
Empty file modified Assets/Sprites/portrait_frame.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Assets/Sprites/portrait_frame.png.import
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion Assets/Themes/main_theme.tres
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[gd_resource type="Theme" load_steps=4 format=3 uid="uid://bruovco3l4r7k"]

[ext_resource type="FontFile" uid="uid://do40he6kkb8dk" path="res://addons/Suada/Assets/Fonts/FixedsysExcelsior.tres" id="1"]
[ext_resource type="Texture2D" uid="uid://b03mcowynm1j4" path="res://addons/Suada_bk/Assets/Sprites/dialogue_box_9_tile.png" id="2"]
[ext_resource type="Texture2D" uid="uid://b03mcowynm1j4" path="res://addons/Suada/Assets/Sprites/dialogue_box_9_tile.png" id="2"]

[sub_resource type="StyleBoxTexture" id="1"]
texture = ExtResource("2")
Expand Down
2 changes: 1 addition & 1 deletion Assets/Themes/name_theme.tres
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[gd_resource type="Theme" load_steps=4 format=3 uid="uid://ddetutsupn7m0"]

[ext_resource type="FontFile" uid="uid://do40he6kkb8dk" path="res://addons/Suada/Assets/Fonts/FixedsysExcelsior.tres" id="1"]
[ext_resource type="Texture2D" uid="uid://csr38a60osub6" path="res://addons/Suada_bk/Assets/Sprites/name_box_9_tile.png" id="2"]
[ext_resource type="Texture2D" uid="uid://csr38a60osub6" path="res://addons/Suada/Assets/Sprites/name_box_9_tile.png" id="2"]

[sub_resource type="StyleBoxTexture" id="2"]
texture = ExtResource("2")
Expand Down
Empty file modified Assets/example_portrait.png.import
100644 → 100755
Empty file.
Empty file modified Assets/portrait_aunt.png.import
100644 → 100755
Empty file.
Empty file modified Assets/portrait_base_idle5.png.import
100644 → 100755
Empty file.
Empty file modified Assets/portrait_char.png.import
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified Nodes/Dialogue.tscn
100644 → 100755
Empty file.
22 changes: 8 additions & 14 deletions Nodes/DialogueAudioPlayer.gd
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,13 @@ class_name DialogueAudioPlayer
extends AudioStreamPlayer2D


## Sets the audio of the voice.
##
## @param audio The voice.
func set_voice_sound(audio: AudioStream):
stream = audio
func set_voice(voice: AudioStream) -> void:
stream = voice


## Play the voice sound.
##
## @param wait_to_play If true, waits until the last sound was played.
func play_voice_sound(wait_to_play: bool = true):
if wait_to_play:
if !playing:
play()
else:
play()
func play_voice(wait: bool) -> void:
if wait:
if playing:
play()
else:
play()
Empty file modified Nodes/DialogueAudioPlayer.gd.uid
100644 → 100755
Empty file.
Loading