diff --git a/default_bus_layout.tres b/default_bus_layout.tres index f934a612..7a1e3c1a 100644 --- a/default_bus_layout.tres +++ b/default_bus_layout.tres @@ -24,3 +24,4 @@ bus/3/mute = false bus/3/bypass_fx = true bus/3/volume_db = 0.0 bus/3/send = "Master" + diff --git a/default_env.tres b/default_env.tres index d37b59de..4b7cb0ac 100644 --- a/default_env.tres +++ b/default_env.tres @@ -11,3 +11,4 @@ ground_curve = 0.01 [resource] background_mode = 2 background_sky = SubResource( 1 ) + diff --git a/examples/Test/PhoneTest.tscn b/examples/Test/PhoneTest.tscn deleted file mode 100644 index d3f0f553..00000000 --- a/examples/Test/PhoneTest.tscn +++ /dev/null @@ -1,32 +0,0 @@ -[gd_scene load_steps=5 format=2] - -[ext_resource path="res://examples/Test/test_phone.gd" type="Script" id=1] -[ext_resource path="res://addons/Rakugo/nodes/character.gd" type="Script" id=2] -[ext_resource path="res://examples/VisualNovelExample/AliceAvatar.tscn" type="PackedScene" id=3] -[ext_resource path="res://examples/Test/RakugoAvatar.tscn" type="PackedScene" id=4] - -[node name="PhoneTest" type="Node2D"] -script = ExtResource( 1 ) - -[node name="Character1" type="Node" parent="."] -script = ExtResource( 2 ) -character_id = "ch1" -character_name = "Alice" -color = Color( 0.521569, 0, 1, 1 ) -stats = { - -} -avatar = ExtResource( 3 ) -kind = "phone_left" - -[node name="Character2" type="Node" parent="."] -script = ExtResource( 2 ) -character_id = "ch2" -character_name = "Rakugo" -color = Color( 0.967169, 0.988281, 0.312698, 1 ) -stats = { - -} -avatar = ExtResource( 4 ) -kind = "phone_right" - diff --git a/examples/Test/RakugoAvatar.tscn b/examples/Test/RakugoAvatar.tscn deleted file mode 100644 index a8a7aed2..00000000 --- a/examples/Test/RakugoAvatar.tscn +++ /dev/null @@ -1,8 +0,0 @@ -[gd_scene load_steps=2 format=2] - -[ext_resource path="res://graphics/window_icon.png" type="Texture" id=1] - -[node name="RakugoAvatar" type="Sprite"] -position = Vector2( 52.7569, 58.7862 ) -texture = ExtResource( 1 ) - diff --git a/examples/Test/Test.tscn b/examples/Test/Test.tscn deleted file mode 100644 index 2e2f7967..00000000 --- a/examples/Test/Test.tscn +++ /dev/null @@ -1,123 +0,0 @@ -[gd_scene load_steps=14 format=2] - -[ext_resource path="res://examples/Test/test.gd" type="Script" id=1] -[ext_resource path="res://addons/Rakugo/nodes/character.gd" type="Script" id=2] -[ext_resource path="res://examples/Test/RakugoAvatar.tscn" type="PackedScene" id=3] -[ext_resource path="res://addons/Rakugo/nodes/rakugo_node2d.gd" type="Script" id=4] -[ext_resource path="res://graphics/logo.svg" type="Texture" id=5] -[ext_resource path="res://addons/Rakugo/nodes/rakugo_anim_player.gd" type="Script" id=6] -[ext_resource path="res://examples/Test/bell-counter-a.wav" type="AudioStream" id=7] -[ext_resource path="res://addons/Rakugo/nodes/rakugo_audio_player.gd" type="Script" id=8] -[ext_resource path="res://examples/Test/Welcome_in_the_intox.ogg" type="AudioStream" id=9] -[ext_resource path="res://graphics/window_icon.png" type="Texture" id=10] -[ext_resource path="res://examples/Test/TestNode.gd" type="Script" id=11] - -[sub_resource type="Animation" id=1] -resource_name = "test" -loop = true -tracks/0/type = "value" -tracks/0/path = NodePath("TestNode2D:visible") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/keys = { -"times": PoolRealArray( 0, 1 ), -"transitions": PoolRealArray( 1, 1 ), -"update": 1, -"values": [ true, false ] -} -tracks/1/type = "value" -tracks/1/path = NodePath("TestNode2D:modulate") -tracks/1/interp = 1 -tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true -tracks/1/keys = { -"times": PoolRealArray( 0, 1 ), -"transitions": PoolRealArray( 1, 1 ), -"update": 0, -"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] -} - -[sub_resource type="Animation" id=2] -resource_name = "test_loop" -length = 2.0 -loop = true -tracks/0/type = "value" -tracks/0/path = NodePath("TestNode2D:rotation_degrees") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/keys = { -"times": PoolRealArray( 0, 1 ), -"transitions": PoolRealArray( 1, 1 ), -"update": 0, -"values": [ 0.0, 360.0 ] -} - -[node name="Test" type="Node2D"] -script = ExtResource( 1 ) -root = true -begin_from = [ "Test", "example" ] -dialogs_names = [ "play_vn", "play_adv", "play_rpg", "read_docs", "end", "example" ] - -[node name="RakugoCharacter" type="Node" parent="."] -editor/display_folded = true -script = ExtResource( 2 ) -character_id = "ra" -character_name = "Rakugo" -color = Color( 0.968627, 0.988235, 0.313726, 1 ) -stats = { - -} -prefix = "" -suffix = "" -avatar = ExtResource( 3 ) -kind = "adv" - -[node name="TestNode2D" type="Node2D" parent="RakugoCharacter"] -editor/display_folded = true -position = Vector2( 524.705, 226.134 ) -rotation = 0.628319 -z_index = -1 -script = ExtResource( 4 ) -node_id = "TestNode2D" - -[node name="logo" type="Sprite" parent="RakugoCharacter/TestNode2D"] -texture = ExtResource( 5 ) - -[node name="TestAnimPlayer" type="AnimationPlayer" parent="RakugoCharacter"] -anims/test = SubResource( 1 ) -anims/test_loop = SubResource( 2 ) -script = ExtResource( 6 ) -node_id = "TestAnimPlayer" - -[node name="SFXPlayer" type="AudioStreamPlayer" parent="."] -stream = ExtResource( 7 ) -volume_db = 6.0 -bus = "SFX" -script = ExtResource( 8 ) -node_id = "SFXPlayer" - -[node name="BGMPlayer" type="AudioStreamPlayer" parent="."] -stream = ExtResource( 9 ) -volume_db = 3.0 -bus = "BGM" -script = ExtResource( 8 ) -node_id = "BGMPlayer" - -[node name="TestNode" type="Sprite" parent="."] -visible = false -modulate = Color( 0, 0, 0, 1 ) -position = Vector2( 206.506, 241.174 ) -scale = Vector2( 2, 2 ) -z_index = -1 -z_as_relative = false -texture = ExtResource( 10 ) -script = ExtResource( 11 ) - -[node name="RakugoAnimPlayer" type="AnimationPlayer" parent="."] -script = ExtResource( 6 ) -node_id = "RakugoAnimPlayer" diff --git a/examples/Test/TestNode.gd b/examples/Test/TestNode.gd deleted file mode 100644 index 921ab4ef..00000000 --- a/examples/Test/TestNode.gd +++ /dev/null @@ -1,6 +0,0 @@ -extends RakugoNode2D - -func test_func(some_text): - print(some_text) - show() - diff --git a/examples/Test/TestNodes.gd b/examples/Test/TestNodes.gd deleted file mode 100644 index 24e1d34f..00000000 --- a/examples/Test/TestNodes.gd +++ /dev/null @@ -1,6 +0,0 @@ -extends VBoxContainer - -func _ready(): - Rakugo.define("test_bool", false) - Rakugo.define("test_float", 10.0) - diff --git a/examples/Test/TestNodes.tscn b/examples/Test/TestNodes.tscn deleted file mode 100644 index dbfb6fbc..00000000 --- a/examples/Test/TestNodes.tscn +++ /dev/null @@ -1,214 +0,0 @@ -[gd_scene load_steps=12 format=2] - -[ext_resource path="res://examples/Test/TestNodes.gd" type="Script" id=1] -[ext_resource path="res://addons/Rakugo/nodes/rakugo_var_label.gd" type="Script" id=2] -[ext_resource path="res://addons/Rakugo/nodes/rakugo_var_edit.gd" type="Script" id=3] -[ext_resource path="res://addons/Rakugo/nodes/rakugo_var_slider.gd" type="Script" id=4] -[ext_resource path="res://addons/Rakugo/icons/rakugo_var_h_slider.svg" type="Texture" id=5] -[ext_resource path="res://addons/Rakugo/nodes/rakugo_var_range.gd" type="Script" id=6] -[ext_resource path="res://addons/Rakugo/icons/rakugo_progress_bar.svg" type="Texture" id=7] -[ext_resource path="res://addons/Rakugo/icons/rakugo_var_v_slider.svg" type="Texture" id=8] -[ext_resource path="res://addons/Rakugo/nodes/rakugo_var_check.gd" type="Script" id=9] -[ext_resource path="res://addons/Rakugo/icons/rakugo_check_box.svg" type="Texture" id=10] -[ext_resource path="res://addons/Rakugo/nodes/rakugo_label.gd" type="Script" id=11] - -[node name="TestNodes" type="VBoxContainer"] -margin_left = 282.0 -margin_top = 204.0 -margin_right = 826.0 -margin_bottom = 490.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 -script = ExtResource( 1 ) - -[node name="HBoxContainer" type="HBoxContainer" parent="."] -editor/display_folded = true -margin_right = 590.0 -margin_bottom = 141.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 - -[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"] -margin_right = 283.0 -margin_bottom = 141.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 - -[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer"] -margin_right = 283.0 -margin_bottom = 25.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 -text = "test rakugo nodes: float" - -[node name="RakugoVarLabel" type="Label" parent="HBoxContainer/VBoxContainer"] -margin_top = 29.0 -margin_right = 283.0 -margin_bottom = 54.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 -script = ExtResource( 2 ) -var_name = "test_float" -type = "float" - -[node name="RakugoVarEdit" type="LineEdit" parent="HBoxContainer/VBoxContainer"] -margin_top = 58.0 -margin_right = 283.0 -margin_bottom = 83.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 -caret_blink = true -script = ExtResource( 3 ) -var_name = "test_float" -default = "10" - -[node name="RakugoVarHSlider" type="HSlider" parent="HBoxContainer/VBoxContainer"] -margin_top = 87.0 -margin_right = 283.0 -margin_bottom = 112.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 -ticks_on_borders = true -script = ExtResource( 4 ) -__meta__ = { -"_editor_icon": ExtResource( 5 ) -} -var_name = "test_float" - -[node name="RakugoProgressBar" type="ProgressBar" parent="HBoxContainer/VBoxContainer"] -margin_top = 116.0 -margin_right = 283.0 -margin_bottom = 141.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 -script = ExtResource( 6 ) -__meta__ = { -"_editor_icon": ExtResource( 7 ) -} -var_name = "test_float" - -[node name="RakugoValVSlider" type="VSlider" parent="HBoxContainer"] -margin_left = 287.0 -margin_right = 303.0 -margin_bottom = 141.0 -size_flags_horizontal = 1 -size_flags_vertical = 3 -ticks_on_borders = true -script = ExtResource( 4 ) -__meta__ = { -"_editor_icon": ExtResource( 8 ) -} -var_name = "test_float" - -[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer"] -editor/display_folded = true -margin_left = 307.0 -margin_right = 590.0 -margin_bottom = 141.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 -custom_constants/separation = 0 - -[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer2"] -margin_right = 283.0 -margin_bottom = 60.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 -text = "test rakugo nodes: bool -" - -[node name="RakugoVarCheckButton" type="Button" parent="HBoxContainer/VBoxContainer2"] -editor/display_folded = true -margin_top = 60.0 -margin_right = 283.0 -margin_bottom = 80.0 -size_flags_horizontal = 3 -toggle_mode = true -script = ExtResource( 9 ) -var_name = "test_bool" - -[node name="RakugoVarLabel" type="Label" parent="HBoxContainer/VBoxContainer2/RakugoVarCheckButton"] -margin_left = 22.0 -margin_top = 6.0 -margin_right = 161.0 -margin_bottom = 41.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 -align = 1 -script = ExtResource( 2 ) -var_name = "test_bool" -default = "False" -type = "bool" - -[node name="RakugoVarCheckBox" type="CheckBox" parent="HBoxContainer/VBoxContainer2"] -margin_top = 80.0 -margin_right = 283.0 -margin_bottom = 141.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 -script = ExtResource( 9 ) -__meta__ = { -"_editor_icon": ExtResource( 10 ) -} -var_name = "test_bool" - -[node name="HBoxContainer2" type="HBoxContainer" parent="."] -editor/display_folded = true -margin_top = 145.0 -margin_right = 590.0 -margin_bottom = 286.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 - -[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer2"] -margin_right = 289.0 -margin_bottom = 141.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 - -[node name="Label2" type="Label" parent="HBoxContainer2/VBoxContainer"] -margin_right = 289.0 -margin_bottom = 14.0 -size_flags_horizontal = 3 -size_flags_vertical = 1 -text = "Test of RakugoTextLabel using Ren'Py markup" - -[node name="RakugoTextLabel" type="RichTextLabel" parent="HBoxContainer2/VBoxContainer"] -margin_top = 18.0 -margin_right = 289.0 -margin_bottom = 141.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 -script = ExtResource( 11 ) -rakugo_text = "Example text with rakugo markup. -{i}test_float = {color=#4286f4}[test_float]{/color}{/i} -{b}test_bool = {color=#318c6c}[test_bool]{/color}{/b}" -vars_names = [ "test_float", "test_bool" ] - -[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer2"] -margin_left = 293.0 -margin_right = 590.0 -margin_bottom = 141.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 - -[node name="Label3" type="Label" parent="HBoxContainer2/VBoxContainer2"] -margin_right = 297.0 -margin_bottom = 14.0 -size_flags_horizontal = 3 -size_flags_vertical = 1 -text = "Test of RakugoTextLabel using BBCode markup" - -[node name="RakugoTextLabel2" type="RichTextLabel" parent="HBoxContainer2/VBoxContainer2"] -margin_top = 18.0 -margin_right = 297.0 -margin_bottom = 141.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 -script = ExtResource( 11 ) -mode = "bbcode" -rakugo_text = "Example text with bbcode markup. -[i]test_float = [color=#4286f4]{test_float}[/color][/i] -[b]test_bool = [color=#318c6c]{test_bool}[/color][/b]" -vars_names = [ "test_bool", "test_float" ] - diff --git a/examples/Test/Welcome_in_the_intox.ogg b/examples/Test/Welcome_in_the_intox.ogg deleted file mode 100644 index 1fa7e0d0..00000000 Binary files a/examples/Test/Welcome_in_the_intox.ogg and /dev/null differ diff --git a/examples/Test/Welcome_in_the_intox.ogg.import b/examples/Test/Welcome_in_the_intox.ogg.import deleted file mode 100644 index f3fec19b..00000000 --- a/examples/Test/Welcome_in_the_intox.ogg.import +++ /dev/null @@ -1,15 +0,0 @@ -[remap] - -importer="ogg_vorbis" -type="AudioStreamOGGVorbis" -path="res://.import/Welcome_in_the_intox.ogg-288e88af091a81fb5d652f5e76ff7977.oggstr" - -[deps] - -source_file="res://examples/Test/Welcome_in_the_intox.ogg" -dest_files=[ "res://.import/Welcome_in_the_intox.ogg-288e88af091a81fb5d652f5e76ff7977.oggstr" ] - -[params] - -loop=true -loop_offset=0 diff --git a/examples/Test/audio_credits.md b/examples/Test/audio_credits.md deleted file mode 100644 index 02173d49..00000000 --- a/examples/Test/audio_credits.md +++ /dev/null @@ -1,6 +0,0 @@ -Test audio: -[Bell, Counter, A](https://freesound.org/people/InspectorJ/sounds/415510/) by [InspectorJ](https://freesound.org/people/InspectorJ/) on [CC by License](http://creativecommons.org/licenses/by/3.0/). - -Test music: -[Welcome in the intox](http://dig.ccmixter.org/files/Bluemillenium/57202) by [Bluemillenium](http://dig.ccmixter.org/people/Bluemillenium) on [CC by License](http://creativecommons.org/licenses/by/3.0/). - diff --git a/examples/Test/bell-counter-a.wav b/examples/Test/bell-counter-a.wav deleted file mode 100644 index 1ee85fd5..00000000 Binary files a/examples/Test/bell-counter-a.wav and /dev/null differ diff --git a/examples/Test/bell-counter-a.wav.import b/examples/Test/bell-counter-a.wav.import deleted file mode 100644 index 2826be38..00000000 --- a/examples/Test/bell-counter-a.wav.import +++ /dev/null @@ -1,21 +0,0 @@ -[remap] - -importer="wav" -type="AudioStreamSample" -path="res://.import/bell-counter-a.wav-59051563e36f1485232b4f0afb177ebc.sample" - -[deps] - -source_file="res://examples/Test/bell-counter-a.wav" -dest_files=[ "res://.import/bell-counter-a.wav-59051563e36f1485232b4f0afb177ebc.sample" ] - -[params] - -force/8_bit=false -force/mono=false -force/max_rate=false -force/max_rate_hz=44100 -edit/trim=true -edit/normalize=true -edit/loop=false -compress/mode=0 diff --git a/examples/Test/test.gd b/examples/Test/test.gd deleted file mode 100644 index f6a94777..00000000 --- a/examples/Test/test.gd +++ /dev/null @@ -1,227 +0,0 @@ -## This is example of script using Rakugo Framework ## - -extends GDScriptDialog - -var test_var -var test_quest -var test_subquest - -func _ready(): - test_var = define("test_var", 1) - test_quest = quest("test_quest") - test_quest.title = "Test Quest" - test_quest.description = "Your first epic quest." - - test_subquest = subquest("test_subquest") - test_subquest.title = "Test Subquest" - test_subquest.description = "Your first epic subquest." - test_subquest.optional = true - test_quest.add_subquest(test_subquest) - -func example(node_name, dialog_name): - var cd = check_dialog(node_name, dialog_name, "example") - - if not cd: - return - - match get_story_state(): - 0: - call_node("TestNode", "test_func", ["test of call node"]) - say({ - "what": "Test of call in func form node using call_node." - }) - - 1: - test_quest.start() - say({ - "what": "For test quest system now will you start test quest." - }) - - 2: - test_quest.finish() - say({ - "what": "And now test quest is done." - }) - - 3: - play_anim("TestAnimPlayer", "test") - say({"who":"test", "what":"test of playing simple anim" - }) - - 4: - stop_anim("TestAnimPlayer", true) - play_anim("TestAnimPlayer", "test_loop") - say({ - "who":"test", - "what": - "Test of stoping loop anim." + - "{/nl}Click to go next step and stop anim" - }) - - 5: - stop_anim("TestAnimPlayer", true) - say({ - "who":"test", - "what":"test anim stopped" - }) - - 6: - play_audio("SFXPlayer") - say({ - "who":"test", "what":"now you hear sfx." - }) - - 7: - play_audio("BGMPlayer") - say({ - "who":"test", "what": - "Now you hear music." + - "{/nl}Click to next step and stop music." - }) - - 8: - stop_audio("BGMPlayer") - say({ - "who":"test", "what": - "Music was stop." + - "{/nl}Click to next step." - }) - - 9: - define( - "test_dict", {"a": 1, "b": 2}) - say({ - "who":"test", - "what":"test dict b element is [test_dict.b]" - }) - - 10: - define("test_list", [1,3,7]) - say({ - "who":"test", - "what":"test list 2 list element is [test_list[2]]" - }) - - 11: - say({"what":"now test_var = [test_var]"}) - - 12: - say({"what":"add 1 to test_var"}) - test_var.value += 1 - - 13: - say({"what":"and now test_var = [test_var]"}) - - 14: - ask({ - "who": - "ra", - "what": - "Hi! I'm [ra.name]. What is your name?", - "variable": - "player_name", ## Rakugo variable to be changed - ## it don't have to be define before input - "value": - "Developer" ## default value - }) - - 15: - say({ - "who": - "ra", - "what": - "Welcome [player_name] in Rakugo Framework Version [version]", - "typing": - false - }) - - 16: - say({ - "who": - "ra", - "what": - "extra stamement to check skipping/auto" - }) - - 17: - hide("ra") - menu({ - "who": - "ra", - "what": - "What want to do?", - "mkind": - "horizontal", - "choices": - { - "Play Visual Novel example" : "play_vn", - "Play Click'n'Point Adventure example" : "play_adv", - "Play RPG example" : "play_rpg", - "Read Docs" : "read_docs" - } - }) - -func play_vn(node_name, dialog_name): - if not check_dialog(node_name, dialog_name, "play_vn"): - return - - jump("Garden", "Garden", "garden") - -func play_adv(node_name, dialog_name): - if not check_dialog(node_name, dialog_name, "play_adv"): - return - - match get_story_state(): - 0: - say({ - "who": - "ra", - "what": - "Click'n'Point Adventure example is not ready yet" - }) - 1: - jump("Test", name, "end", false) - -func play_rpg(node_name, dialog_name): - if not check_dialog(node_name, dialog_name, "play_vn"): - return - - match get_story_state(): - 0: - say({ - "who": - "ra", - "what": - "RPG example is not ready yet" - }) - 1: - jump("Test", name, "end", false) - -func read_docs(node_name, dialog_name): - if not check_dialog(node_name, dialog_name, "read_docs"): - return - - match get_story_state(): - 0: - say({ - "who": - "ra", - "what": - "Docs are not ready yet" - }) - 1: - jump("Test", name, "end", false) - -func end(node_name, dialog_name): - if not check_dialog(node_name, dialog_name, "end"): - return - - match get_story_state(): - 0: - notify("You make your first choice!", 3) - say({ - "who": - "ra", - "what": - "End of Example" - }) diff --git a/examples/Test/test_phone.gd b/examples/Test/test_phone.gd deleted file mode 100644 index 29df8b92..00000000 --- a/examples/Test/test_phone.gd +++ /dev/null @@ -1,53 +0,0 @@ -## This is example of script using Rakugo Framework ## - -extends Node - -func _ready(): - if Rakugo.current_root_node != self: - Rakugo.current_root_node = self - - Rakugo.emoji_size = 36 # possible sizes are: 16, 36, 72 - - Rakugo.begin("Test/PhoneTest", name, "example") - Rakugo.add_dialog(self, "example") - -func example(node_name, dialog_name): - if node_name != name: - return - - if dialog_name != "example": - return - - match Rakugo.story_state: - 0: - Rakugo.say({ - "who": "ch1", -# "kind": "phone_left", - "time" : 0, # time bettwen letters - "what": "Test 1 {:grinning:}" - }) - - 1: - Rakugo.say({ - "who": "ch2", -# "kind": "phone_right", - "time" : 0, # time bettwen letters - "what": "Test 2 {:thumbsup:}" - }) - - 2: - Rakugo.say({ - "who": "ch1", -# "kind": "phone_left", - "time" : 0, # time bettwen letters - "what": "Test 3" - }) - - 3: - Rakugo.say({ - "who": "ch2", -# "kind": "phone_right", - "time" : 0, # time bettwen letters - "what": "Test 4" - }) - diff --git a/examples/VisualNovelExample/Alice.gd b/examples/VisualNovelExample/Alice.gd deleted file mode 100644 index 7c6463ec..00000000 --- a/examples/VisualNovelExample/Alice.gd +++ /dev/null @@ -1,26 +0,0 @@ -extends RakugoNode2D - -var scale_x = 1 - -func _ready(): - scale_x = scale.x - -func on_state(state): - if "doubt" in state: - $AnimatedSprite.frame = 1 - - elif "emabras" in state: - $AnimatedSprite.frame = 2 - - elif "happy" in state: - $AnimatedSprite.frame = 3 - - else: - $AnimatedSprite.frame = 0 - - if "right" in state: - scale.x = scale_x - - elif "left" in state: - scale.x = -scale_x - diff --git a/examples/VisualNovelExample/AliceAvatar.gd b/examples/VisualNovelExample/AliceAvatar.gd deleted file mode 100644 index 40c39d69..00000000 --- a/examples/VisualNovelExample/AliceAvatar.gd +++ /dev/null @@ -1,32 +0,0 @@ -extends RakugoAvatar - -var happy = false - -func _ready(): - for c in get_children(): - c.hide() - -func _on_substate(substate): - match substate: - "doubt": - $PAliceDoubt.show() - - "emabrassed": - $PAliceEmabrassed.show() - - "happy": - happy = true - $PAliceHappy.show() - - "blush": - if "happy": - $PAliceHappyBlush.show() - - "teasing": - $PAliceTeasing.show() - - "worried": - $PAliceWorried.show() - - "default": - $PAliceDefault.show() diff --git a/examples/VisualNovelExample/AliceAvatar.tscn b/examples/VisualNovelExample/AliceAvatar.tscn deleted file mode 100644 index f8f71642..00000000 --- a/examples/VisualNovelExample/AliceAvatar.tscn +++ /dev/null @@ -1,59 +0,0 @@ -[gd_scene load_steps=9 format=2] - -[ext_resource path="res://examples/VisualNovelExample/AliceAvatar.gd" type="Script" id=1] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceDefault.png" type="Texture" id=2] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceDoubt.png" type="Texture" id=3] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceEmabrassed.png" type="Texture" id=4] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceHappy.png" type="Texture" id=5] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceHappyBlush.png" type="Texture" id=6] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceTeasing.png" type="Texture" id=7] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceWorried.png" type="Texture" id=8] - -[node name="AliceAvatar" type="Node2D"] -position = Vector2( 50, 50 ) -scale = Vector2( 0.05, 0.05 ) -script = ExtResource( 1 ) - -[node name="PAliceDefault" type="Sprite" parent="."] -position = Vector2( 423.544, 602.737 ) -scale = Vector2( 0.617181, 0.576455 ) -texture = ExtResource( 2 ) -region_enabled = true -region_rect = Rect2( 0, 0, 2000, 2000 ) - -[node name="PAliceDoubt" type="Sprite" parent="."] -visible = false -texture = ExtResource( 3 ) -region_enabled = true -region_rect = Rect2( 0, 0, 2000, 2000 ) - -[node name="PAliceEmabrassed" type="Sprite" parent="."] -visible = false -texture = ExtResource( 4 ) -region_enabled = true -region_rect = Rect2( 0, 0, 2000, 2000 ) - -[node name="PAliceHappy" type="Sprite" parent="."] -visible = false -texture = ExtResource( 5 ) -region_enabled = true -region_rect = Rect2( 0, 0, 2000, 2000 ) - -[node name="PAliceHappyBlush" type="Sprite" parent="."] -visible = false -texture = ExtResource( 6 ) -region_enabled = true -region_rect = Rect2( 0, 0, 2000, 2000 ) - -[node name="PAliceTeasing" type="Sprite" parent="."] -visible = false -texture = ExtResource( 7 ) -region_enabled = true -region_rect = Rect2( 0, 0, 2000, 2000 ) - -[node name="PAliceWorried" type="Sprite" parent="."] -visible = false -texture = ExtResource( 8 ) -region_enabled = true -region_rect = Rect2( 0, 0, 2000, 2000 ) - diff --git a/examples/VisualNovelExample/Characters.tscn b/examples/VisualNovelExample/Characters.tscn deleted file mode 100644 index 14550159..00000000 --- a/examples/VisualNovelExample/Characters.tscn +++ /dev/null @@ -1,48 +0,0 @@ -[gd_scene load_steps=12 format=2] - -[ext_resource path="res://addons/Rakugo/nodes/character.gd" type="Script" id=1] -[ext_resource path="res://examples/VisualNovelExample/AliceAvatar.tscn" type="PackedScene" id=2] -[ext_resource path="res://examples/VisualNovelExample/Alice.gd" type="Script" id=3] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceDefault.png" type="Texture" id=4] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceDoubt.png" type="Texture" id=5] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceEmabrassed.png" type="Texture" id=6] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceHappy.png" type="Texture" id=7] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceHappyBlush.png" type="Texture" id=8] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceTeasing.png" type="Texture" id=9] -[ext_resource path="res://examples/VisualNovelExample/PAliceSprite/PAliceWorried.png" type="Texture" id=10] - -[sub_resource type="SpriteFrames" id=1] -animations = [ { -"frames": [ ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ) ], -"loop": false, -"name": "default", -"speed": 5.0 -} ] - -[node name="Characters" type="Node2D"] -z_index = -1 - -[node name="Alice" type="Node" parent="." groups=[ -"save", -]] -script = ExtResource( 1 ) -character_id = "alice" -character_name = "Alice" -color = Color( 0.52549, 0.231373, 0.501961, 1 ) -stats = { - -} -avatar = ExtResource( 2 ) -kind = "adv" - -[node name="AliceRN2D" type="Node2D" parent="."] -editor/display_folded = true -scale = Vector2( 0.1, 0.1 ) -script = ExtResource( 3 ) -node_id = "alice" - -[node name="AnimatedSprite" type="AnimatedSprite" parent="AliceRN2D"] -position = Vector2( 0, -2400 ) -frames = SubResource( 1 ) -frame = 4 - diff --git a/examples/VisualNovelExample/Garden.gd b/examples/VisualNovelExample/Garden.gd deleted file mode 100644 index a54d4544..00000000 --- a/examples/VisualNovelExample/Garden.gd +++ /dev/null @@ -1,16 +0,0 @@ -extends GDScriptDialog - - -func garden(node_name, dialog_name): - if not check_dialog(node_name, dialog_name, "garden"): - return - - match get_story_state(): - 0: - show("alice", {"state":["happy"]}) - say({ - "who":"alice", - "what":"Welcome in my Garden [player_name].", - "kind":"left", - "avatar_state":["happy"] - }) diff --git a/examples/VisualNovelExample/Garden.tscn b/examples/VisualNovelExample/Garden.tscn deleted file mode 100644 index 0737cb3f..00000000 --- a/examples/VisualNovelExample/Garden.tscn +++ /dev/null @@ -1,17 +0,0 @@ -[gd_scene load_steps=3 format=2] - -[ext_resource path="res://examples/VisualNovelExample/Garden.gd" type="Script" id=1] -[ext_resource path="res://examples/VisualNovelExample/cdc/garden.png" type="Texture" id=2] - -[node name="Garden" type="Node2D"] -z_index = -2 -script = ExtResource( 1 ) -root = true -begin_from = [ "Graden", "garden" ] -dialogs_names = [ "garden" ] - -[node name="garden" type="Sprite" parent="."] -position = Vector2( 515, 300 ) -scale = Vector2( 0.804688, 0.75 ) -texture = ExtResource( 2 ) - diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceAvatar.png b/examples/VisualNovelExample/PAliceSprite/PAliceAvatar.png deleted file mode 100644 index 89574a22..00000000 Binary files a/examples/VisualNovelExample/PAliceSprite/PAliceAvatar.png and /dev/null differ diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceAvatar.png.import b/examples/VisualNovelExample/PAliceSprite/PAliceAvatar.png.import deleted file mode 100644 index d2720a6a..00000000 --- a/examples/VisualNovelExample/PAliceSprite/PAliceAvatar.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/PAliceAvatar.png-d1fb73b81d38f205cb4adc63120aec19.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/PAliceSprite/PAliceAvatar.png" -dest_files=[ "res://.import/PAliceAvatar.png-d1fb73b81d38f205cb4adc63120aec19.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceDefault.png b/examples/VisualNovelExample/PAliceSprite/PAliceDefault.png deleted file mode 100644 index 9500448a..00000000 Binary files a/examples/VisualNovelExample/PAliceSprite/PAliceDefault.png and /dev/null differ diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceDefault.png.import b/examples/VisualNovelExample/PAliceSprite/PAliceDefault.png.import deleted file mode 100644 index d38e490e..00000000 --- a/examples/VisualNovelExample/PAliceSprite/PAliceDefault.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/PAliceDefault.png-16c9c4aaa6bbb541155fad2144f01b81.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/PAliceSprite/PAliceDefault.png" -dest_files=[ "res://.import/PAliceDefault.png-16c9c4aaa6bbb541155fad2144f01b81.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceDoubt.png b/examples/VisualNovelExample/PAliceSprite/PAliceDoubt.png deleted file mode 100644 index e75c77d7..00000000 Binary files a/examples/VisualNovelExample/PAliceSprite/PAliceDoubt.png and /dev/null differ diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceDoubt.png.import b/examples/VisualNovelExample/PAliceSprite/PAliceDoubt.png.import deleted file mode 100644 index b61895ef..00000000 --- a/examples/VisualNovelExample/PAliceSprite/PAliceDoubt.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/PAliceDoubt.png-7b427dedda44a8649371b8369f02487f.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/PAliceSprite/PAliceDoubt.png" -dest_files=[ "res://.import/PAliceDoubt.png-7b427dedda44a8649371b8369f02487f.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceEmabrassed.png b/examples/VisualNovelExample/PAliceSprite/PAliceEmabrassed.png deleted file mode 100644 index 48ca6472..00000000 Binary files a/examples/VisualNovelExample/PAliceSprite/PAliceEmabrassed.png and /dev/null differ diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceEmabrassed.png.import b/examples/VisualNovelExample/PAliceSprite/PAliceEmabrassed.png.import deleted file mode 100644 index 5b0c2f8e..00000000 --- a/examples/VisualNovelExample/PAliceSprite/PAliceEmabrassed.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/PAliceEmabrassed.png-0c918111d7936f21db353fbe64f559d4.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/PAliceSprite/PAliceEmabrassed.png" -dest_files=[ "res://.import/PAliceEmabrassed.png-0c918111d7936f21db353fbe64f559d4.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceHappy.png b/examples/VisualNovelExample/PAliceSprite/PAliceHappy.png deleted file mode 100644 index 4a36058f..00000000 Binary files a/examples/VisualNovelExample/PAliceSprite/PAliceHappy.png and /dev/null differ diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceHappy.png.import b/examples/VisualNovelExample/PAliceSprite/PAliceHappy.png.import deleted file mode 100644 index 2189ca4c..00000000 --- a/examples/VisualNovelExample/PAliceSprite/PAliceHappy.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/PAliceHappy.png-2d788281140c7a4bea62887eb67bdfb4.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/PAliceSprite/PAliceHappy.png" -dest_files=[ "res://.import/PAliceHappy.png-2d788281140c7a4bea62887eb67bdfb4.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceHappyBlush.png b/examples/VisualNovelExample/PAliceSprite/PAliceHappyBlush.png deleted file mode 100644 index fb4fc6cb..00000000 Binary files a/examples/VisualNovelExample/PAliceSprite/PAliceHappyBlush.png and /dev/null differ diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceHappyBlush.png.import b/examples/VisualNovelExample/PAliceSprite/PAliceHappyBlush.png.import deleted file mode 100644 index 7326d2a7..00000000 --- a/examples/VisualNovelExample/PAliceSprite/PAliceHappyBlush.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/PAliceHappyBlush.png-a066d71dc286246407b7f2d8b5ad21b4.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/PAliceSprite/PAliceHappyBlush.png" -dest_files=[ "res://.import/PAliceHappyBlush.png-a066d71dc286246407b7f2d8b5ad21b4.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceTeasing.png b/examples/VisualNovelExample/PAliceSprite/PAliceTeasing.png deleted file mode 100644 index ada684c6..00000000 Binary files a/examples/VisualNovelExample/PAliceSprite/PAliceTeasing.png and /dev/null differ diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceTeasing.png.import b/examples/VisualNovelExample/PAliceSprite/PAliceTeasing.png.import deleted file mode 100644 index b4ed5229..00000000 --- a/examples/VisualNovelExample/PAliceSprite/PAliceTeasing.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/PAliceTeasing.png-9b4dc34fddf8de3af69b4e1aad9a3ab6.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/PAliceSprite/PAliceTeasing.png" -dest_files=[ "res://.import/PAliceTeasing.png-9b4dc34fddf8de3af69b4e1aad9a3ab6.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceWorried.png b/examples/VisualNovelExample/PAliceSprite/PAliceWorried.png deleted file mode 100644 index 3294e1b1..00000000 Binary files a/examples/VisualNovelExample/PAliceSprite/PAliceWorried.png and /dev/null differ diff --git a/examples/VisualNovelExample/PAliceSprite/PAliceWorried.png.import b/examples/VisualNovelExample/PAliceSprite/PAliceWorried.png.import deleted file mode 100644 index 6bbef1f3..00000000 --- a/examples/VisualNovelExample/PAliceSprite/PAliceWorried.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/PAliceWorried.png-670d5a7fc7756c55aebd6cbd58cae220.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/PAliceSprite/PAliceWorried.png" -dest_files=[ "res://.import/PAliceWorried.png-670d5a7fc7756c55aebd6cbd58cae220.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/PAliceSprite/READ ME.txt b/examples/VisualNovelExample/PAliceSprite/READ ME.txt deleted file mode 100644 index 853526d4..00000000 --- a/examples/VisualNovelExample/PAliceSprite/READ ME.txt +++ /dev/null @@ -1,9 +0,0 @@ -NOTE: This Sprite set can only be used for personal uses. This CANNOT be used for any commercial purposes. You are allowed to crop the sprites but you are NOT allowed to recolor any part of the sprites~ - -=========================================== -Please support me on Patreon [https://www.patreon.com/AuCrowne] -=========================================== - -My DeviantArt [http://aucrowne.deviantart.com/] -My Twitter [https://twitter.com/AuCrowne] -My Pixiv [http://pixiv.me/aucrowne] \ No newline at end of file diff --git a/examples/VisualNovelExample/cdc/bedroom candles.png b/examples/VisualNovelExample/cdc/bedroom candles.png deleted file mode 100644 index f47fe55a..00000000 Binary files a/examples/VisualNovelExample/cdc/bedroom candles.png and /dev/null differ diff --git a/examples/VisualNovelExample/cdc/bedroom candles.png.import b/examples/VisualNovelExample/cdc/bedroom candles.png.import deleted file mode 100644 index 890e243f..00000000 --- a/examples/VisualNovelExample/cdc/bedroom candles.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/bedroom candles.png-a95bcfc7d77f9a6fefc6e6406308c615.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/cdc/bedroom candles.png" -dest_files=[ "res://.import/bedroom candles.png-a95bcfc7d77f9a6fefc6e6406308c615.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/cdc/bedroom day.png b/examples/VisualNovelExample/cdc/bedroom day.png deleted file mode 100644 index d21a0f68..00000000 Binary files a/examples/VisualNovelExample/cdc/bedroom day.png and /dev/null differ diff --git a/examples/VisualNovelExample/cdc/bedroom day.png.import b/examples/VisualNovelExample/cdc/bedroom day.png.import deleted file mode 100644 index d84f9dfe..00000000 --- a/examples/VisualNovelExample/cdc/bedroom day.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/bedroom day.png-da52adec05ac77cacbc73c9f991e2a6b.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/cdc/bedroom day.png" -dest_files=[ "res://.import/bedroom day.png-da52adec05ac77cacbc73c9f991e2a6b.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/cdc/bedroom night.png b/examples/VisualNovelExample/cdc/bedroom night.png deleted file mode 100644 index a5a293ec..00000000 Binary files a/examples/VisualNovelExample/cdc/bedroom night.png and /dev/null differ diff --git a/examples/VisualNovelExample/cdc/bedroom night.png.import b/examples/VisualNovelExample/cdc/bedroom night.png.import deleted file mode 100644 index 85c0d26e..00000000 --- a/examples/VisualNovelExample/cdc/bedroom night.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/bedroom night.png-19945dbfe340f376d1e74efd38ac3b7e.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/cdc/bedroom night.png" -dest_files=[ "res://.import/bedroom night.png-19945dbfe340f376d1e74efd38ac3b7e.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/cdc/garden.png b/examples/VisualNovelExample/cdc/garden.png deleted file mode 100644 index b34fcf82..00000000 Binary files a/examples/VisualNovelExample/cdc/garden.png and /dev/null differ diff --git a/examples/VisualNovelExample/cdc/garden.png.import b/examples/VisualNovelExample/cdc/garden.png.import deleted file mode 100644 index 8ac91b0f..00000000 --- a/examples/VisualNovelExample/cdc/garden.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/garden.png-cf6feef2470988b10bcdfc144d807359.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/cdc/garden.png" -dest_files=[ "res://.import/garden.png-cf6feef2470988b10bcdfc144d807359.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/cdc/hallway day.png b/examples/VisualNovelExample/cdc/hallway day.png deleted file mode 100644 index 96a1b986..00000000 Binary files a/examples/VisualNovelExample/cdc/hallway day.png and /dev/null differ diff --git a/examples/VisualNovelExample/cdc/hallway day.png.import b/examples/VisualNovelExample/cdc/hallway day.png.import deleted file mode 100644 index 819a2449..00000000 --- a/examples/VisualNovelExample/cdc/hallway day.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/hallway day.png-1845063cb3c1f58e759b96b090df0440.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/cdc/hallway day.png" -dest_files=[ "res://.import/hallway day.png-1845063cb3c1f58e759b96b090df0440.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/cdc/hallway night.png b/examples/VisualNovelExample/cdc/hallway night.png deleted file mode 100644 index d07a6b22..00000000 Binary files a/examples/VisualNovelExample/cdc/hallway night.png and /dev/null differ diff --git a/examples/VisualNovelExample/cdc/hallway night.png.import b/examples/VisualNovelExample/cdc/hallway night.png.import deleted file mode 100644 index 50fdabde..00000000 --- a/examples/VisualNovelExample/cdc/hallway night.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/hallway night.png-a91bcc08f3bac0ea2e4508046dc77fab.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/cdc/hallway night.png" -dest_files=[ "res://.import/hallway night.png-a91bcc08f3bac0ea2e4508046dc77fab.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/cdc/kitchen.png b/examples/VisualNovelExample/cdc/kitchen.png deleted file mode 100644 index a0dfaa18..00000000 Binary files a/examples/VisualNovelExample/cdc/kitchen.png and /dev/null differ diff --git a/examples/VisualNovelExample/cdc/kitchen.png.import b/examples/VisualNovelExample/cdc/kitchen.png.import deleted file mode 100644 index df285599..00000000 --- a/examples/VisualNovelExample/cdc/kitchen.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/kitchen.png-21d646cf0512a48e35377f08607f5ffe.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/cdc/kitchen.png" -dest_files=[ "res://.import/kitchen.png-21d646cf0512a48e35377f08607f5ffe.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/cdc/living.png b/examples/VisualNovelExample/cdc/living.png deleted file mode 100644 index 9f559a48..00000000 Binary files a/examples/VisualNovelExample/cdc/living.png and /dev/null differ diff --git a/examples/VisualNovelExample/cdc/living.png.import b/examples/VisualNovelExample/cdc/living.png.import deleted file mode 100644 index d600807c..00000000 --- a/examples/VisualNovelExample/cdc/living.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/living.png-4cbdc6d3fe1367b36b7edba6e5bda2af.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/cdc/living.png" -dest_files=[ "res://.import/living.png-4cbdc6d3fe1367b36b7edba6e5bda2af.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/cdc/street.png b/examples/VisualNovelExample/cdc/street.png deleted file mode 100644 index 50945d3f..00000000 Binary files a/examples/VisualNovelExample/cdc/street.png and /dev/null differ diff --git a/examples/VisualNovelExample/cdc/street.png.import b/examples/VisualNovelExample/cdc/street.png.import deleted file mode 100644 index 247cef98..00000000 --- a/examples/VisualNovelExample/cdc/street.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/street.png-1cedc8ffce24996730592a992b5f3112.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://examples/VisualNovelExample/cdc/street.png" -dest_files=[ "res://.import/street.png-1cedc8ffce24996730592a992b5f3112.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/examples/VisualNovelExample/cdc/terms of use.txt b/examples/VisualNovelExample/cdc/terms of use.txt deleted file mode 100644 index 6427fabb..00000000 --- a/examples/VisualNovelExample/cdc/terms of use.txt +++ /dev/null @@ -1,9 +0,0 @@ -Hello! All these images are licensed under Creative Commons, Attribution-NonCommercial. (CC BY-NC 3.0) - -You can find more information about this license here: http://creativecommons.org/licenses/by-nc/3.0/ - -You are free to use and edit these images however you like, as long as you: --Give credit. Please credit as 'Chocolate Berry'. --Do not sell any work containing these images or are marketed with these images. - -Otherwise, go ahead! \ No newline at end of file diff --git a/game/empty.tscn b/game/empty.tscn new file mode 100644 index 00000000..62175541 --- /dev/null +++ b/game/empty.tscn @@ -0,0 +1,4 @@ +[gd_scene format=2] + +[node name="empty" type="Node2D"] + diff --git a/gui/InGame/InGameGUI.tscn b/gui/InGame/InGameGUI.tscn index 112a65eb..9911d09d 100644 --- a/gui/InGame/InGameGUI.tscn +++ b/gui/InGame/InGameGUI.tscn @@ -86,7 +86,7 @@ tracks/4/keys = { "values": [ Color( 1, 1, 1, 0.756863 ) ] } -[sub_resource type="Animation" id=12] +[sub_resource type="Animation" id=3] resource_name = "Checkpoint" tracks/0/type = "value" tracks/0/path = NodePath("InfoAnim/Panel:modulate") @@ -149,7 +149,7 @@ tracks/4/keys = { "values": [ Vector2( 301, 40 ), Vector2( 301, 40 ) ] } -[sub_resource type="Animation" id=3] +[sub_resource type="Animation" id=4] tracks/0/type = "value" tracks/0/path = NodePath("InfoAnim/Panel:modulate") tracks/0/interp = 1 @@ -199,7 +199,7 @@ tracks/3/keys = { "values": [ true, false ] } -[sub_resource type="Animation" id=4] +[sub_resource type="Animation" id=5] tracks/0/type = "value" tracks/0/path = NodePath("InfoAnim/Panel:modulate") tracks/0/interp = 1 @@ -261,7 +261,7 @@ tracks/4/keys = { "values": [ true, false ] } -[sub_resource type="Animation" id=5] +[sub_resource type="Animation" id=6] tracks/0/type = "value" tracks/0/path = NodePath("InfoAnim/Panel:modulate") tracks/0/interp = 1 @@ -323,7 +323,7 @@ tracks/4/keys = { "values": [ true, false ] } -[sub_resource type="Animation" id=6] +[sub_resource type="Animation" id=7] loop = true tracks/0/type = "value" tracks/0/path = NodePath("InfoAnim/Panel/Label:text") @@ -386,27 +386,27 @@ tracks/4/keys = { "values": [ Color( 1, 1, 1, 0.756863 ) ] } -[sub_resource type="DynamicFont" id=7] +[sub_resource type="DynamicFont" id=8] size = 30 use_filter = true font_data = ExtResource( 13 ) -[sub_resource type="DynamicFont" id=8] +[sub_resource type="DynamicFont" id=9] size = 30 use_filter = true font_data = ExtResource( 11 ) -[sub_resource type="DynamicFont" id=9] +[sub_resource type="DynamicFont" id=10] size = 30 use_filter = true font_data = ExtResource( 14 ) -[sub_resource type="DynamicFont" id=10] +[sub_resource type="DynamicFont" id=11] size = 30 use_filter = true font_data = ExtResource( 11 ) -[sub_resource type="DynamicFont" id=11] +[sub_resource type="DynamicFont" id=12] size = 30 use_filter = true font_data = ExtResource( 15 ) @@ -628,11 +628,11 @@ text = "Quit" [node name="InfoAnim" type="AnimationPlayer" parent="Quick"] anims/Auto = SubResource( 2 ) -anims/Checkpoint = SubResource( 12 ) -anims/GeneralNotif = SubResource( 3 ) -anims/Loaded = SubResource( 4 ) -anims/Saved = SubResource( 5 ) -anims/Skip = SubResource( 6 ) +anims/Checkpoint = SubResource( 3 ) +anims/GeneralNotif = SubResource( 4 ) +anims/Loaded = SubResource( 5 ) +anims/Saved = SubResource( 6 ) +anims/Skip = SubResource( 7 ) [node name="Panel" type="Panel" parent="Quick/InfoAnim"] visible = false @@ -652,13 +652,14 @@ margin_right = 301.0 rect_pivot_offset = Vector2( 190, 470 ) size_flags_horizontal = 3 size_flags_vertical = 3 -custom_fonts/mono_font = SubResource( 7 ) -custom_fonts/bold_italics_font = SubResource( 8 ) -custom_fonts/italics_font = SubResource( 9 ) -custom_fonts/bold_font = SubResource( 10 ) -custom_fonts/normal_font = SubResource( 11 ) +custom_fonts/mono_font = SubResource( 8 ) +custom_fonts/bold_italics_font = SubResource( 9 ) +custom_fonts/italics_font = SubResource( 10 ) +custom_fonts/bold_font = SubResource( 11 ) +custom_fonts/normal_font = SubResource( 12 ) custom_colors/default_color = Color( 1, 1, 1, 1 ) custom_colors/selection_color = Color( 0, 0, 0, 1 ) bbcode_enabled = false bbcode_text = "Game was saved" -text = "You can go back here" +text = "Game was saved" + diff --git a/gui/Screens/Screens.gd b/gui/Screens/Screens.gd index 15f9c59a..54e87ab4 100644 --- a/gui/Screens/Screens.gd +++ b/gui/Screens/Screens.gd @@ -24,7 +24,6 @@ onready var options_button : Button = get_node(str(nav_path) + "/" + "Options") onready var about_button : Button = get_node(str(nav_path) + "/" + "About") onready var help_button : Button = get_node(str(nav_path) + "/" + "Help") onready var quit_button : Button = get_node(str(nav_path) + "/" + "Quit") -onready var test_button : Button = get_node(str(nav_path) + "/" + "TestNodes") func _ready(): if(Engine.editor_hint): @@ -52,9 +51,6 @@ func _ready(): help_button.connect("pressed", self, "_on_Help_pressed") quit_button.connect("pressed", self, "_on_Quit_pressed") - ## this is just for testing things - test_button.connect("pressed", self, "_on_TestNodes_pressed") - var auto_save_path = str("user://" + Rakugo.save_folder + "/auto.save") if not Rakugo.file.file_exists(auto_save_path): @@ -176,10 +172,6 @@ func _on_Save_pressed(): hide() save_menu(get_screenshot()) -func _on_TestNodes_pressed(): - show_page($TestNodes) - show() - func _on_Options_pressed(): options_button.pressed = true show_page($OptionsBox) diff --git a/gui/Screens/Screens.tscn b/gui/Screens/Screens.tscn index 7ef580f6..f45e8824 100644 --- a/gui/Screens/Screens.tscn +++ b/gui/Screens/Screens.tscn @@ -4898,3 +4898,4 @@ anims/small_right = SubResource( 9 ) [node name="UnpauseTimer" type="Timer" parent="."] one_shot = true +