Skip to content

A bunch of stuff #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
May 23, 2025
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Chapter 10.dtl
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Elina (plot): I'm not so sure yet, what do you think?
<Empty Text Event>
- No way
- Maybe...
Alright let's do that then.
Alright let's do that then.
1 change: 1 addition & 0 deletions Chapter 10.dtl.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://cknod2imwk2bd
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions FakeUnitTests/Assets/Backgrounds/Beach/credits.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This pack was made by solarProtagonist on itch.io under the cc-by-4.0 license was released for free. https://solarprotagonist.itch.io/beach-vacay-pack
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends DialogicBackground
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://cco6lnrnldlut
91 changes: 91 additions & 0 deletions FakeUnitTests/Assets/Backgrounds/industrial-custom-background.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
[gd_scene load_steps=7 format=3 uid="uid://2mtksep7bcwv"]

[ext_resource type="Script" uid="uid://cco6lnrnldlut" path="res://FakeUnitTests/Assets/Backgrounds/industrial-custom-background.gd" id="1_oxdje"]
[ext_resource type="Texture2D" uid="uid://calx5fcg50ws2" path="res://FakeUnitTests/Assets/Backgrounds/layered-factory/skill-desc_0003_bg.png" id="2_vo7md"]
[ext_resource type="Texture2D" uid="uid://rq28vjj666xf" path="res://FakeUnitTests/Assets/Backgrounds/layered-factory/skill-desc_0002_far-buildings.png" id="3_48iuv"]
[ext_resource type="Script" uid="uid://jacockvscs2e" path="res://FakeUnitTests/Assets/Backgrounds/paralax-effect.gd" id="3_vo7md"]
[ext_resource type="Texture2D" uid="uid://co34raj42spy0" path="res://FakeUnitTests/Assets/Backgrounds/layered-factory/skill-desc_0001_buildings.png" id="4_sglik"]
[ext_resource type="Texture2D" uid="uid://b1aqomxr6l7th" path="res://FakeUnitTests/Assets/Backgrounds/layered-factory/skill-desc_0000_foreground.png" id="5_m28qo"]

[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_oxdje")

[node name="TextureRect" type="TextureRect" parent="."]
texture_filter = 1
texture_repeat = 1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -44.0
offset_top = -44.0
offset_right = 44.0
offset_bottom = 44.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_vo7md")
expand_mode = 1
script = ExtResource("3_vo7md")
paralax_strength = 5

[node name="TextureRect2" type="TextureRect" parent="."]
texture_filter = 1
texture_repeat = 1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -28.0
offset_top = 113.0
offset_right = 28.0
offset_bottom = 18.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_48iuv")
expand_mode = 1
script = ExtResource("3_vo7md")
paralax_strength = 15

[node name="TextureRect3" type="TextureRect" parent="."]
texture_filter = 1
texture_repeat = 1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -243.0
offset_top = 250.0
offset_right = -513.0
offset_bottom = -248.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(1.80192, 2.54167)
texture = ExtResource("4_sglik")
expand_mode = 1
stretch_mode = 1
script = ExtResource("3_vo7md")
paralax_strength = 30

[node name="TextureRect4" type="TextureRect" parent="."]
texture_filter = 1
texture_repeat = 1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -401.0
offset_top = 391.0
offset_right = -457.0
offset_bottom = -153.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(2.99154, 2.99154)
texture = ExtResource("5_m28qo")
stretch_mode = 1
script = ExtResource("3_vo7md")
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CC0 by ansimuz at https://opengameart.org/content/industrial-parallax-background
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions FakeUnitTests/Assets/Backgrounds/paralax-effect.gd
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
extends TextureRect

## Script that adds a paralax effect, depending on the mouse position

## The strength of the effect
@export var paralax_strength := 50
## If true, the movement is inverted
@export var invert := false

## Makes it so original position is respected
var original_position := Vector2()


func _ready() -> void:
original_position = position


func _process(delta:float) -> void:
## Calculate the mouse_offset from the center
## ranging from (-1 | -1) to (1 | 1)
var relative_mouse_offset: Vector2 = get_global_mouse_position() / Vector2(get_viewport().size) - Vector2.ONE
if invert:
relative_mouse_offset *= -1

## Lerp the position to avoid instant changes
position = lerp(position, original_position + relative_mouse_offset * paralax_strength, delta*10)
1 change: 1 addition & 0 deletions FakeUnitTests/Assets/Backgrounds/paralax-effect.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://jacockvscs2e
Binary file not shown.
Binary file added FakeUnitTests/Assets/Music/Play Now.mp3
Binary file not shown.
Binary file added FakeUnitTests/Assets/Music/Play Now.ogg
Binary file not shown.
Binary file added FakeUnitTests/Assets/Music/Play Now.wav
Binary file not shown.
Binary file added FakeUnitTests/Assets/SFX/bell_03.ogg
Binary file not shown.
Binary file added FakeUnitTests/Assets/SFX/slam_02.ogg
Binary file not shown.
Binary file added FakeUnitTests/Assets/SFX/splash_01.ogg
Binary file not shown.
Binary file added FakeUnitTests/Assets/SFX/wind_ambiance.wav
Binary file not shown.
26 changes: 14 additions & 12 deletions FakeUnitTests/TC1_Simple.dch
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"@path": "res://addons/dialogic/Resources/character.gd",
"@subpath": NodePath(""),
"_translation_id": "",
"color": Color(1, 1, 1, 1),
"custom_info": {
&"_translation_id": "",
&"color": Color(1, 1, 1, 1),
&"custom_info": {
"prefix": "",
"sound_mood_default": "",
"sound_moods": {
"Mood1": {
Expand All @@ -27,15 +28,16 @@
"volume_variance": 0.4
}
},
"style": ""
"style": "",
"suffix": ""
},
"default_portrait": "Default",
"description": "",
"display_name": "SimpleCharacter",
"mirror": false,
"nicknames": [""],
"offset": Vector2(0, 0),
"portraits": {
&"default_portrait": "Default",
&"description": "",
&"display_name": "SimpleCharacter",
&"mirror": false,
&"nicknames": [""],
&"offset": Vector2(0, 0),
&"portraits": {
"Default": {
"export_overrides": {
"image": "\"\""
Expand All @@ -57,5 +59,5 @@
"sound_mood": "Mood1"
}
},
"scale": 1.0
&"scale": 1.0
}
1 change: 1 addition & 0 deletions FakeUnitTests/TC1_Simple.dch.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://w2pl56lde2vw
22 changes: 11 additions & 11 deletions FakeUnitTests/TC2 Simple2.dch
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"@path": "res://addons/dialogic/Resources/character.gd",
"@subpath": NodePath(""),
"_translation_id": "",
"color": Color(1, 1, 1, 1),
"custom_info": {
&"_translation_id": "",
&"color": Color(1, 1, 1, 1),
&"custom_info": {
"sound_mood_default": "",
"sound_moods": {},
"style": ""
},
"default_portrait": "",
"description": "",
"display_name": "TC2 Simple2",
"mirror": false,
"nicknames": [""],
"offset": Vector2(0, 0),
"portraits": {},
"scale": 1.0
&"default_portrait": "",
&"description": "",
&"display_name": "TC2 Simple2",
&"mirror": false,
&"nicknames": [""],
&"offset": Vector2(0, 0),
&"portraits": {},
&"scale": 1.0
}
1 change: 1 addition & 0 deletions FakeUnitTests/TC2 Simple2.dch.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://djnkeelli3m46
25 changes: 14 additions & 11 deletions FakeUnitTests/TC3_BasicPortraits.dch
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
{
"@path": "res://addons/dialogic/Resources/character.gd",
"@subpath": NodePath(""),
"color": Color(1, 1, 1, 1),
"custom_info": {
&"_translation_id": "",
&"color": Color(1, 1, 1, 1),
&"custom_info": {
"prefix": "",
"sound_mood_default": "",
"sound_moods": {},
"style": ""
"style": "",
"suffix": ""
},
"default_portrait": "default",
"description": "",
"display_name": "BasicPortraitCharacter",
"mirror": false,
"nicknames": [""],
"offset": Vector2(0, 0),
"portraits": {
&"default_portrait": "default",
&"description": "",
&"display_name": "BasicPortraitCharacter",
&"mirror": false,
&"nicknames": [""],
&"offset": Vector2(0, 0),
&"portraits": {
"angry": {
"image": "res://VisualNovel/Assets/Characters/Audrey/pl2 angry.png",
"mirror": false,
Expand Down Expand Up @@ -85,5 +88,5 @@
"scene": ""
}
},
"scale": 1.0
&"scale": 1.0
}
1 change: 1 addition & 0 deletions FakeUnitTests/TC3_BasicPortraits.dch.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://conwyi075t1lx
21 changes: 11 additions & 10 deletions FakeUnitTests/TC4_BasicPortraits2.dch
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{
"@path": "res://addons/dialogic/Resources/character.gd",
"@subpath": NodePath(""),
"color": Color(1, 1, 1, 1),
"custom_info": {
&"_translation_id": "",
&"color": Color(1, 1, 1, 1),
&"custom_info": {
"sound_mood_default": "",
"sound_moods": {},
"style": ""
},
"default_portrait": "angry",
"description": "",
"display_name": "BasicPortraits2",
"mirror": false,
"nicknames": [""],
"offset": Vector2(0, 0),
"portraits": {
&"default_portrait": "angry",
&"description": "",
&"display_name": "BasicPortraits2",
&"mirror": false,
&"nicknames": [""],
&"offset": Vector2(0, 0),
&"portraits": {
"angry": {
"image": "res://VisualNovel/Assets/Characters/Chyou/pl4 angry.png",
"mirror": false,
Expand Down Expand Up @@ -92,5 +93,5 @@
"scene": ""
}
},
"scale": 1.0
&"scale": 1.0
}
1 change: 1 addition & 0 deletions FakeUnitTests/TC4_BasicPortraits2.dch.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dnago0e44hruk
21 changes: 11 additions & 10 deletions FakeUnitTests/TC5_BasicPortraits3.dch
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{
"@path": "res://addons/dialogic/Resources/character.gd",
"@subpath": NodePath(""),
"color": Color(1, 1, 1, 1),
"custom_info": {
&"_translation_id": "",
&"color": Color(1, 1, 1, 1),
&"custom_info": {
"sound_mood_default": "",
"sound_moods": {},
"style": ""
},
"default_portrait": "angry",
"description": "",
"display_name": "BasicPortraits3",
"mirror": false,
"nicknames": [""],
"offset": Vector2(0, 0),
"portraits": {
&"default_portrait": "angry",
&"description": "",
&"display_name": "BasicPortraits3",
&"mirror": false,
&"nicknames": [""],
&"offset": Vector2(0, 0),
&"portraits": {
"Wild/angry": {
"image": "res://VisualNovel/Assets/Characters/Eliana/pl1 wangry.png",
"mirror": false,
Expand Down Expand Up @@ -155,5 +156,5 @@
"scene": ""
}
},
"scale": 1.0
&"scale": 1.0
}
1 change: 1 addition & 0 deletions FakeUnitTests/TC5_BasicPortraits3.dch.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://bbxrtwpmo02xk
26 changes: 14 additions & 12 deletions FakeUnitTests/TC6_Style.dch
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{
"@path": "res://addons/dialogic/Resources/character.gd",
"@subpath": NodePath(""),
"_translation_id": "",
"color": Color(1, 1, 1, 1),
"custom_info": {
&"_translation_id": "",
&"color": Color(1, 1, 1, 1),
&"custom_info": {
"prefix": "",
"sound_mood_default": "",
"sound_moods": {},
"style": "UnitTestStyle_B"
"style": "UnitTestStyle_B",
"suffix": ""
},
"default_portrait": "",
"description": "",
"display_name": "TC6_Style",
"mirror": false,
"nicknames": [""],
"offset": Vector2(0, 0),
"portraits": {},
"scale": 1.0
&"default_portrait": "",
&"description": "",
&"display_name": "TC6_Style",
&"mirror": false,
&"nicknames": [""],
&"offset": Vector2(0, 0),
&"portraits": {},
&"scale": 1.0
}
1 change: 1 addition & 0 deletions FakeUnitTests/TC6_Style.dch.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dw4x008gfhy41
2 changes: 0 additions & 2 deletions FakeUnitTests/fake_unit_test_scene.gd
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ extends Control
func _ready() -> void:
Dialogic.Styles.load_style("VisualNovel_Style")
Dialogic.start("t0_overview")


1 change: 1 addition & 0 deletions FakeUnitTests/fake_unit_test_scene.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://csfa777haus6u
2 changes: 1 addition & 1 deletion FakeUnitTests/fake_unit_test_scene.tscn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://cc32myk6ijsip"]

[ext_resource type="Script" path="res://FakeUnitTests/fake_unit_test_scene.gd" id="1_d3m5s"]
[ext_resource type="Script" uid="uid://csfa777haus6u" path="res://FakeUnitTests/fake_unit_test_scene.gd" id="1_d3m5s"]

[node name="FakeUnitTestScene" type="Control"]
layout_mode = 3
Expand Down
Loading