diff --git a/model/Whisper.wav b/Whisper.wav similarity index 100% rename from model/Whisper.wav rename to Whisper.wav diff --git a/Whisper.wav.import b/Whisper.wav.import new file mode 100644 index 0000000..4cd721d --- /dev/null +++ b/Whisper.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://cpc4p4a7cly1j" +path="res://.godot/imported/Whisper.wav-c952703969373aaaba25c6fae971183a.sample" + +[deps] + +source_file="res://Whisper.wav" +dest_files=["res://.godot/imported/Whisper.wav-c952703969373aaaba25c6fae971183a.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/export_presets.cfg b/export_presets.cfg new file mode 100644 index 0000000..552a487 --- /dev/null +++ b/export_presets.cfg @@ -0,0 +1,110 @@ +[preset.0] + +name="v0.1" +platform="Windows Desktop" +runnable=true +advanced_options=false +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../../../Documents/export/Mal-Adresse.exe" +encryption_include_filters="" +encryption_exclude_filters="" +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.0.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=true +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +binary_format/architecture="x86_64" +codesign/enable=false +codesign/timestamp=true +codesign/timestamp_server_url="" +codesign/digest_algorithm=1 +codesign/description="" +codesign/custom_options=PackedStringArray() +application/modify_resources=true +application/icon="" +application/console_wrapper_icon="" +application/icon_interpolation=4 +application/file_version="" +application/product_version="" +application/company_name="" +application/product_name="" +application/file_description="" +application/copyright="" +application/trademarks="" +application/export_angle=0 +application/export_d3d12=0 +application/d3d12_agility_sdk_multiarch=true +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}' +$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}' +$trigger = New-ScheduledTaskTrigger -Once -At 00:00 +$settings = New-ScheduledTaskSettingsSet +$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings +Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true +Start-ScheduledTask -TaskName godot_remote_debug +while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 } +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue" +ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue +Remove-Item -Recurse -Force '{temp_dir}'" +dotnet/include_scripts_content=false +dotnet/include_debug_symbols=true +dotnet/embed_build_outputs=false + +[preset.1] + +name="Linux" +platform="Linux" +runnable=true +advanced_options=false +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../../../Documents/export2/Mal-Adresse.x86_64" +encryption_include_filters="" +encryption_exclude_filters="" +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.1.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=true +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +binary_format/architecture="x86_64" +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="#!/usr/bin/env bash +export DISPLAY=:0 +unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\" +\"{temp_dir}/{exe_name}\" {cmd_args}" +ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash +kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\") +rm -rf \"{temp_dir}\"" +dotnet/include_scripts_content=false +dotnet/include_debug_symbols=true +dotnet/embed_build_outputs=false diff --git a/model/Guy26.png.import b/model/Guy26.png.import new file mode 100644 index 0000000..fbdadaf --- /dev/null +++ b/model/Guy26.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d0ns440ubxaau" +path="res://.godot/imported/Guy26.png-4208277e87fbbf765655441497b5ac1a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://model/Guy26.png" +dest_files=["res://.godot/imported/Guy26.png-4208277e87fbbf765655441497b5ac1a.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 diff --git a/model/Guy27.png.import b/model/Guy27.png.import new file mode 100644 index 0000000..e3c0d04 --- /dev/null +++ b/model/Guy27.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cwgl176xe7711" +path="res://.godot/imported/Guy27.png-1e053f31339052425ae49126f5179961.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://model/Guy27.png" +dest_files=["res://.godot/imported/Guy27.png-1e053f31339052425ae49126f5179961.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 diff --git a/model/Guy28.png.import b/model/Guy28.png.import new file mode 100644 index 0000000..47129c9 --- /dev/null +++ b/model/Guy28.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d7qmjo075s87" +path="res://.godot/imported/Guy28.png-34c5655cd689aa00b3b96eafc6fe2cac.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://model/Guy28.png" +dest_files=["res://.godot/imported/Guy28.png-34c5655cd689aa00b3b96eafc6fe2cac.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 diff --git a/model/Guy29.png.import b/model/Guy29.png.import new file mode 100644 index 0000000..0907e74 --- /dev/null +++ b/model/Guy29.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://5bwpkk6snj4l" +path="res://.godot/imported/Guy29.png-4be3f057bfb276c40c5df8c68971ae36.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://model/Guy29.png" +dest_files=["res://.godot/imported/Guy29.png-4be3f057bfb276c40c5df8c68971ae36.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 diff --git a/model/Guy30.png.import b/model/Guy30.png.import new file mode 100644 index 0000000..e8d557b --- /dev/null +++ b/model/Guy30.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c2u8n5cwgjoqd" +path="res://.godot/imported/Guy30.png-e3f3a0daa11d2e33bb421c97f3d59c03.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://model/Guy30.png" +dest_files=["res://.godot/imported/Guy30.png-e3f3a0daa11d2e33bb421c97f3d59c03.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 diff --git a/model/Guy31.png.import b/model/Guy31.png.import new file mode 100644 index 0000000..34cd64e --- /dev/null +++ b/model/Guy31.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dkfkqexdhse68" +path="res://.godot/imported/Guy31.png-b9ac19975f469edde1e27b11a1ce600c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://model/Guy31.png" +dest_files=["res://.godot/imported/Guy31.png-b9ac19975f469edde1e27b11a1ce600c.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 diff --git a/model/Guy32.png.import b/model/Guy32.png.import new file mode 100644 index 0000000..6c894bf --- /dev/null +++ b/model/Guy32.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cplhvoffwuknr" +path="res://.godot/imported/Guy32.png-31061cbe78cb1aed5805d41bb0289047.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://model/Guy32.png" +dest_files=["res://.godot/imported/Guy32.png-31061cbe78cb1aed5805d41bb0289047.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 diff --git a/model/Guy33.png.import b/model/Guy33.png.import new file mode 100644 index 0000000..1f66210 --- /dev/null +++ b/model/Guy33.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b4wu2owtxi6jy" +path="res://.godot/imported/Guy33.png-34944fee7d42787fb749d4622762373f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://model/Guy33.png" +dest_files=["res://.godot/imported/Guy33.png-34944fee7d42787fb749d4622762373f.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 diff --git a/model/Guy34.png.import b/model/Guy34.png.import new file mode 100644 index 0000000..56cc4ff --- /dev/null +++ b/model/Guy34.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dguqf0qqma117" +path="res://.godot/imported/Guy34.png-2dcc279649b2b6bf7d300f518bbb4473.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://model/Guy34.png" +dest_files=["res://.godot/imported/Guy34.png-2dcc279649b2b6bf7d300f518bbb4473.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 diff --git a/model/Guy35.png.import b/model/Guy35.png.import new file mode 100644 index 0000000..0d93b26 --- /dev/null +++ b/model/Guy35.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d0jmbofnnc1px" +path="res://.godot/imported/Guy35.png-aefc2cb691e3d171aed8cd99eb77be04.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://model/Guy35.png" +dest_files=["res://.godot/imported/Guy35.png-aefc2cb691e3d171aed8cd99eb77be04.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 diff --git a/model/Guy36.png.import b/model/Guy36.png.import new file mode 100644 index 0000000..56467e0 --- /dev/null +++ b/model/Guy36.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cuch0y6e1ltdw" +path="res://.godot/imported/Guy36.png-85abbb52a1e38bd59e2b1e0cf4464d38.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://model/Guy36.png" +dest_files=["res://.godot/imported/Guy36.png-85abbb52a1e38bd59e2b1e0cf4464d38.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 diff --git a/model/Guy37.png.import b/model/Guy37.png.import new file mode 100644 index 0000000..c2d5378 --- /dev/null +++ b/model/Guy37.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b4tq36gy4hbjm" +path="res://.godot/imported/Guy37.png-3ffd712b37798812246b77be5dc032bf.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://model/Guy37.png" +dest_files=["res://.godot/imported/Guy37.png-3ffd712b37798812246b77be5dc032bf.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 diff --git a/model/Guy38.png.import b/model/Guy38.png.import new file mode 100644 index 0000000..a4ac2f3 --- /dev/null +++ b/model/Guy38.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://53ko8morh2d7" +path="res://.godot/imported/Guy38.png-da53fe174f4f44acca057e9edca380ca.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://model/Guy38.png" +dest_files=["res://.godot/imported/Guy38.png-da53fe174f4f44acca057e9edca380ca.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 diff --git a/scene/city.tscn b/scene/city.tscn index 3c4be89..ed23154 100644 --- a/scene/city.tscn +++ b/scene/city.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=52 format=4 uid="uid://1tfopbwug3ht"] +[gd_scene load_steps=65 format=4 uid="uid://1tfopbwug3ht"] [ext_resource type="Texture2D" uid="uid://dkg613gwabtd2" path="res://model/TileMap.png" id="1_w44h3"] [ext_resource type="Texture2D" uid="uid://bna4larududon" path="res://model/HouseTileMap.png" id="2_dofxf"] @@ -37,9 +37,22 @@ [ext_resource type="Texture2D" uid="uid://b4bdxc3qs4nsl" path="res://model/Kid4.png" id="17_wlt8u"] [ext_resource type="Texture2D" uid="uid://brrixh1w0h0f" path="res://model/Kid5.png" id="18_1x0vj"] [ext_resource type="Texture2D" uid="uid://ba5hrp6jas2ox" path="res://model/Guy20.png" id="19_pg3fv"] +[ext_resource type="Texture2D" uid="uid://cwgl176xe7711" path="res://model/Guy27.png" id="19_u02fp"] [ext_resource type="Texture2D" uid="uid://ntxxviijgqhv" path="res://model/Guy21.png" id="20_lwal1"] +[ext_resource type="Texture2D" uid="uid://d0ns440ubxaau" path="res://model/Guy26.png" id="23_d8rhb"] [ext_resource type="Texture2D" uid="uid://dit7khtm4k88d" path="res://model/Guy23.png" id="24_afrsf"] +[ext_resource type="Texture2D" uid="uid://5bwpkk6snj4l" path="res://model/Guy29.png" id="25_eqn3u"] +[ext_resource type="Texture2D" uid="uid://d7qmjo075s87" path="res://model/Guy28.png" id="25_tfhpw"] [ext_resource type="Texture2D" uid="uid://b88uh5xqcomi6" path="res://model/Guy22.png" id="25_tk0m7"] +[ext_resource type="Texture2D" uid="uid://cuch0y6e1ltdw" path="res://model/Guy36.png" id="27_iiwsq"] +[ext_resource type="Texture2D" uid="uid://dkfkqexdhse68" path="res://model/Guy31.png" id="27_yu0os"] +[ext_resource type="Texture2D" uid="uid://cplhvoffwuknr" path="res://model/Guy32.png" id="28_3urqy"] +[ext_resource type="Texture2D" uid="uid://dguqf0qqma117" path="res://model/Guy34.png" id="28_p06xn"] +[ext_resource type="Texture2D" uid="uid://d0jmbofnnc1px" path="res://model/Guy35.png" id="29_aorp0"] +[ext_resource type="Texture2D" uid="uid://b4wu2owtxi6jy" path="res://model/Guy33.png" id="30_bymmb"] +[ext_resource type="Texture2D" uid="uid://c2u8n5cwgjoqd" path="res://model/Guy30.png" id="31_g1v1v"] +[ext_resource type="Texture2D" uid="uid://53ko8morh2d7" path="res://model/Guy38.png" id="36_lf3fl"] +[ext_resource type="Texture2D" uid="uid://b4tq36gy4hbjm" path="res://model/Guy37.png" id="39_s3gls"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_huo5x"] texture = ExtResource("1_w44h3") @@ -926,33 +939,34 @@ image_mob = ExtResource("16_2ff6m") [node name="door23" parent="doors" instance=ExtResource("5_rvft3")] position = Vector2(1343, 866) -text_char = "qwertyuiop" -answerA = "A" -answerB = "B" +text_char = "I like going to the cemetery a lot. We can go there together !" +answerA = "Sure I love being surrendered by graves ! What a vibe !" +answerB = "I don’t follow strangers, especially weird guys like you." answerA_good = true +image_mob = ExtResource("19_u02fp") -[node name="door24" parent="doors" instance=ExtResource("5_rvft3")] -position = Vector2(801, 865) -text_char = "qwertyuiop" -answerA = "A" -answerB = "B" -answerA_good = true +[node name="door43" parent="doors" instance=ExtResource("5_rvft3")] +position = Vector2(798, 862) +text_char = "Do you believe in ghosts ?" +answerA = "I Aaaaam a ghooOOooost ! OoooOOooooh !" +answerB = "They’re just kids with a white blanket on them." +image_mob = ExtResource("23_d8rhb") -[node name="door" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1692, -833) text_char = "With the lights out, is it less dangerous ?" answerA = "It’s more dangerous, I’m freaking out" answerB = "Here I am now, entertain me !" image_mob = ExtResource("14_etmy8") -[node name="door2" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door2" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1138, -836) text_char = "What do you taste like ?" answerA = "Blood and flesh" answerB = "Caramel" image_mob = ExtResource("14_dyse0") -[node name="door15" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door15" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1154, -415) text_char = "Is it Christmas ?" answerA = "Oh oh oh ! Where is my sleigh ?" @@ -960,105 +974,109 @@ answerB = "No it’s Halloween. Boo !" answerA_good = true image_mob = ExtResource("19_pg3fv") -[node name="door16" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door16" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1693, -415) text_char = "Where is my grandma ?" answerA = "In the jar behind you." answerB = "At a retirement house." image_mob = ExtResource("20_lwal1") -[node name="door17" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door17" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1696, 2) -text_char = "qwertyuiop" -answerA = "A" -answerB = "B" +text_char = "That guy Bob, I saw him running near the park last night." +answerA = "Bob, that name reminds me of something." +answerB = "He was running from me ! I’m terrifying !" answerA_good = true +image_mob = ExtResource("25_eqn3u") -[node name="door18" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door18" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1154, 1) -text_char = "qwertyuiop" -answerA = "A" -answerB = "B" -answerA_good = true +text_char = "Do you know Bob ? I saw him last night going somewhere with a knife." +answerA = "I gave him the knife !" +answerB = "I don’t know him." +image_mob = ExtResource("25_tfhpw") -[node name="door3" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door3" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1690, 734) -text_char = "qwertyuiop" -answerA = "A" -answerB = "B" -answerA_good = true +text_char = "This book is not good ! I should have known when I saw the creepy face on the cover. Do you want it ?" +answerA = "Something tells me that I’m going to lose a hand by taking this book." +answerB = "Yes, sure I love books !" +image_mob = ExtResource("27_iiwsq") -[node name="door4" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door4" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1136, 731) -text_char = "qwertyuiop" -answerA = "A" -answerB = "B" +text_char = "You know, sometimes i feel like i shouldn’t be here" +answerA = "Oh well then just die !" +answerB = "Heh? Why is that" answerA_good = true +image_mob = ExtResource("28_p06xn") -[node name="door19" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door19" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1152, 1152) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door20" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door20" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1691, 1152) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door21" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door21" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1694, 1569) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door22" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door22" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1152, 1568) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door5" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door5" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(542, 732) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true +caniche = true +image_mob = ExtResource("29_aorp0") -[node name="door6" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door6" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-12, 729) -text_char = "qwertyuiop" -answerA = "A" -answerB = "B" -answerA_good = true +text_char = "I heard that the little Georgie is dead. It’s sad to die at this age. No one is safe nowadays." +answerA = "Who is Georgie ?" +answerB = "I don’t trust clowns anyway so I will be fine" +image_mob = ExtResource("30_bymmb") -[node name="door23" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door23" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(4, 1150) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door24" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door24" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(543, 1150) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door25" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door25" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(546, 1567) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door26" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door26" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(4, 1566) text_char = "qwertyuiop" answerA = "A" @@ -1066,161 +1084,161 @@ answerB = "B" answerA_good = true shot = true -[node name="door8" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door8" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-1172, 729) -text_char = "qwertyuiop" -answerA = "A" -answerB = "B" -answerA_good = true +text_char = "I saw a new flower bed in the park this morning. But it was very ugly and there was a flower that looked like a hand." +answerA = "Maybe Bob is just a gardener after all." +answerB = "A flower that looked like a hand ? What a weird thing to add !" +image_mob = ExtResource("27_yu0os") -[node name="door27" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door27" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-1156, 1150) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door28" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door28" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-617, 1150) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door29" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door29" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-614, 1567) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door30" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door30" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-1156, 1566) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door9" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door9" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-616, 2302) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door10" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door10" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-1170, 2299) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door31" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door31" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-1154, 2720) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door32" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door32" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-615, 2720) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door33" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door33" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-612, 3137) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door34" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door34" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-1154, 3136) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door11" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door11" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(537, 2304) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door12" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door12" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-17, 2301) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door35" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door35" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-1, 2722) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door36" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door36" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(538, 2722) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door37" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door37" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(541, 3139) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door38" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door38" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(-1, 3138) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door13" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door13" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1692, 2300) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door14" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door14" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1138, 2297) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door39" parent="doors/door24" instance=ExtResource("5_rvft3")] -position = Vector2(1154, 2718) -text_char = "qwertyuiop" -answerA = "A" -answerB = "B" -answerA_good = true +[node name="door39" parent="doors/door43" instance=ExtResource("5_rvft3")] +position = Vector2(-609, 734) +text_char = "I discovered this morning that someone stole my car ! There was just a shovel left on the floor !" +answerA = "Do you know that guy called Bob ? I think it’s him who stole your car !" +answerB = "Maybe a miner stole your car !" +image_mob = ExtResource("28_3urqy") -[node name="door40" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door40" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1693, 2718) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door41" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door41" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1696, 3135) text_char = "qwertyuiop" answerA = "A" answerB = "B" answerA_good = true -[node name="door42" parent="doors/door24" instance=ExtResource("5_rvft3")] +[node name="door42" parent="doors/door43" instance=ExtResource("5_rvft3")] position = Vector2(1154, 3134) text_char = "qwertyuiop" answerA = "A" @@ -1243,17 +1261,18 @@ image_mob = ExtResource("17_lgwy3") [node name="door28" parent="doors" instance=ExtResource("5_rvft3")] position = Vector2(-969, 1604) -text_char = "qwertyuiop" -answerA = "A" -answerB = "B" +text_char = "My friend Bob asked me two days ago if he could borrow my shovel, but he didn't give it back to me !" +answerA = "Digging at the park ?" +answerB = "He’s not a good friend then !" answerA_good = true +image_mob = ExtResource("31_g1v1v") [node name="door29" parent="doors" instance=ExtResource("5_rvft3")] position = Vector2(-953, 2025) -text_char = "qwertyuiop" -answerA = "A" -answerB = "B" -answerA_good = true +text_char = "Do you think the sun is black ?" +answerA = "Why are you asking me this ?" +answerB = "The sun is black when we become blind by looking at it." +image_mob = ExtResource("36_lf3fl") [node name="door30" parent="doors" instance=ExtResource("5_rvft3")] position = Vector2(-953, 2441) @@ -1308,10 +1327,10 @@ image_mob = ExtResource("25_tk0m7") [node name="door36" parent="doors" instance=ExtResource("5_rvft3")] position = Vector2(3086, 1600) -text_char = "qwertyuiop" -answerA = "A" -answerB = "B" -answerA_good = true +text_char = "A weird guy with a mask stalks me everyday ! Can you help me ?" +answerA = "Lock yourself in !" +answerB = "Throw a pallet on him when you can… Wait, why did I say that ?" +image_mob = ExtResource("39_s3gls") [node name="door37" parent="doors" instance=ExtResource("5_rvft3")] position = Vector2(3102, 2021) @@ -1350,10 +1369,10 @@ answerA_good = true [node name="door42" parent="doors" instance=ExtResource("5_rvft3")] position = Vector2(3102, 867) -text_char = "qwertyuiop" -answerA = "A" -answerB = "B" -answerA_good = true +text_char = "I was at the park last night and I heard someone screaming !" +answerA = "Bob ?" +answerB = "I was at home last night so I didn’t hear anything." +image_mob = ExtResource("31_g1v1v") [node name="gardes" type="Node2D" parent="."] position = Vector2(1583, -514) @@ -1614,17 +1633,14 @@ speed = -0.05 [node name="Sprite2D" parent="Flash/Path2D5/PathFollow2D3/Car" index="0"] texture = ExtResource("13_2thr2") -[node name="CharacterBody2D" parent="." instance=ExtResource("2_nmm2d")] -position = Vector2(217, 1598) +[node name="les gamins" type="Node2D" parent="."] -[node name="Node2D" type="Node2D" parent="."] - -[node name="Path2D" type="Path2D" parent="Node2D"] +[node name="Path2D" type="Path2D" parent="les gamins"] position = Vector2(3.67627, -20.3523) scale = Vector2(0.99422, 1.01871) curve = SubResource("Curve2D_dh00e") -[node name="PathFollow2D" type="PathFollow2D" parent="Node2D/Path2D"] +[node name="PathFollow2D" type="PathFollow2D" parent="les gamins/Path2D"] position = Vector2(614.649, 283.236) rotation = 1.60571 progress = 394.92 @@ -1632,11 +1648,11 @@ rotates = false script = ExtResource("6_yjxib") speed = 0.01 -[node name="gamin" parent="Node2D/Path2D/PathFollow2D" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D/PathFollow2D" instance=ExtResource("6_dr3ih")] rotation = -1.60571 scale = Vector2(1.00581, 0.981634) -[node name="PathFollow2D2" type="PathFollow2D" parent="Node2D/Path2D"] +[node name="PathFollow2D2" type="PathFollow2D" parent="les gamins/Path2D"] position = Vector2(968.854, 1085.3) rotation = 1.60571 progress = 1503.63 @@ -1644,19 +1660,19 @@ rotates = false script = ExtResource("6_yjxib") speed = 0.01 -[node name="gamin" parent="Node2D/Path2D/PathFollow2D2" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D/PathFollow2D2" instance=ExtResource("6_dr3ih")] rotation = -1.60571 scale = Vector2(1.00581, 0.981634) -[node name="Kid1" parent="Node2D/Path2D/PathFollow2D2/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D/PathFollow2D2/gamin" index="1"] texture = ExtResource("15_bp5p1") -[node name="Path2D9" type="Path2D" parent="Node2D"] +[node name="Path2D9" type="Path2D" parent="les gamins"] position = Vector2(1157, 3142) scale = Vector2(0.99422, 1.01871) curve = SubResource("Curve2D_dh00e") -[node name="PathFollow2D" type="PathFollow2D" parent="Node2D/Path2D9"] +[node name="PathFollow2D" type="PathFollow2D" parent="les gamins/Path2D9"] position = Vector2(614.649, 283.236) rotation = 1.60571 progress = 394.92 @@ -1664,11 +1680,11 @@ rotates = false script = ExtResource("6_yjxib") speed = 0.01 -[node name="gamin" parent="Node2D/Path2D9/PathFollow2D" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D9/PathFollow2D" instance=ExtResource("6_dr3ih")] rotation = -1.60571 scale = Vector2(1.00581, 0.981634) -[node name="PathFollow2D2" type="PathFollow2D" parent="Node2D/Path2D9"] +[node name="PathFollow2D2" type="PathFollow2D" parent="les gamins/Path2D9"] position = Vector2(968.854, 1085.3) rotation = 1.60571 progress = 1503.63 @@ -1676,19 +1692,19 @@ rotates = false script = ExtResource("6_yjxib") speed = 0.01 -[node name="gamin" parent="Node2D/Path2D9/PathFollow2D2" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D9/PathFollow2D2" instance=ExtResource("6_dr3ih")] rotation = -1.60571 scale = Vector2(1.00581, 0.981634) -[node name="Kid1" parent="Node2D/Path2D9/PathFollow2D2/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D9/PathFollow2D2/gamin" index="1"] texture = ExtResource("15_bp5p1") -[node name="Path2D8" type="Path2D" parent="Node2D"] +[node name="Path2D8" type="Path2D" parent="les gamins"] position = Vector2(-8, 3125) scale = Vector2(0.99422, 1.01871) curve = SubResource("Curve2D_dh00e") -[node name="PathFollow2D" type="PathFollow2D" parent="Node2D/Path2D8"] +[node name="PathFollow2D" type="PathFollow2D" parent="les gamins/Path2D8"] position = Vector2(614.649, 283.236) rotation = 1.60571 progress = 394.92 @@ -1696,11 +1712,11 @@ rotates = false script = ExtResource("6_yjxib") speed = 0.01 -[node name="gamin" parent="Node2D/Path2D8/PathFollow2D" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D8/PathFollow2D" instance=ExtResource("6_dr3ih")] rotation = -1.60571 scale = Vector2(1.00581, 0.981634) -[node name="PathFollow2D2" type="PathFollow2D" parent="Node2D/Path2D8"] +[node name="PathFollow2D2" type="PathFollow2D" parent="les gamins/Path2D8"] position = Vector2(968.854, 1085.3) rotation = 1.60571 progress = 1503.63 @@ -1708,19 +1724,19 @@ rotates = false script = ExtResource("6_yjxib") speed = 0.01 -[node name="gamin" parent="Node2D/Path2D8/PathFollow2D2" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D8/PathFollow2D2" instance=ExtResource("6_dr3ih")] rotation = -1.60571 scale = Vector2(1.00581, 0.981634) -[node name="Kid1" parent="Node2D/Path2D8/PathFollow2D2/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D8/PathFollow2D2/gamin" index="1"] texture = ExtResource("15_bp5p1") -[node name="Path2D5" type="Path2D" parent="Node2D"] +[node name="Path2D5" type="Path2D" parent="les gamins"] position = Vector2(-3, 1544) scale = Vector2(0.99422, 1.01871) curve = SubResource("Curve2D_dh00e") -[node name="PathFollow2D" type="PathFollow2D" parent="Node2D/Path2D5"] +[node name="PathFollow2D" type="PathFollow2D" parent="les gamins/Path2D5"] position = Vector2(614.649, 283.236) rotation = 1.60571 progress = 394.92 @@ -1728,11 +1744,11 @@ rotates = false script = ExtResource("6_yjxib") speed = 0.01 -[node name="gamin" parent="Node2D/Path2D5/PathFollow2D" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D5/PathFollow2D" instance=ExtResource("6_dr3ih")] rotation = -1.60571 scale = Vector2(1.00581, 0.981634) -[node name="PathFollow2D2" type="PathFollow2D" parent="Node2D/Path2D5"] +[node name="PathFollow2D2" type="PathFollow2D" parent="les gamins/Path2D5"] position = Vector2(968.854, 1085.3) rotation = 1.60571 progress = 1503.63 @@ -1740,20 +1756,20 @@ rotates = false script = ExtResource("6_yjxib") speed = 0.01 -[node name="gamin" parent="Node2D/Path2D5/PathFollow2D2" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D5/PathFollow2D2" instance=ExtResource("6_dr3ih")] rotation = -1.60571 scale = Vector2(1.00581, 0.981634) -[node name="Kid1" parent="Node2D/Path2D5/PathFollow2D2/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D5/PathFollow2D2/gamin" index="1"] texture = ExtResource("15_bp5p1") -[node name="Path2D2" type="Path2D" parent="Node2D"] +[node name="Path2D2" type="Path2D" parent="les gamins"] position = Vector2(984, 919) rotation = 3.14159 scale = Vector2(0.99422, 1.01871) curve = SubResource("Curve2D_dh00e") -[node name="PathFollow2D" type="PathFollow2D" parent="Node2D/Path2D2"] +[node name="PathFollow2D" type="PathFollow2D" parent="les gamins/Path2D2"] position = Vector2(614.649, 283.236) rotation = 1.60571 progress = 394.92 @@ -1761,14 +1777,14 @@ rotates = false script = ExtResource("6_yjxib") speed = -0.01 -[node name="gamin" parent="Node2D/Path2D2/PathFollow2D" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D2/PathFollow2D" instance=ExtResource("6_dr3ih")] rotation = -1.5708 scale = Vector2(-1, -0.976) -[node name="Kid1" parent="Node2D/Path2D2/PathFollow2D/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D2/PathFollow2D/gamin" index="1"] texture = ExtResource("16_ssypi") -[node name="PathFollow2D2" type="PathFollow2D" parent="Node2D/Path2D2"] +[node name="PathFollow2D2" type="PathFollow2D" parent="les gamins/Path2D2"] position = Vector2(968.854, 1085.3) rotation = 1.60571 progress = 1503.63 @@ -1776,20 +1792,20 @@ rotates = false script = ExtResource("6_yjxib") speed = -0.01 -[node name="gamin" parent="Node2D/Path2D2/PathFollow2D2" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D2/PathFollow2D2" instance=ExtResource("6_dr3ih")] rotation = 1.5708 scale = Vector2(-1, 1) -[node name="Kid1" parent="Node2D/Path2D2/PathFollow2D2/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D2/PathFollow2D2/gamin" index="1"] texture = ExtResource("17_wlt8u") -[node name="Path2D6" type="Path2D" parent="Node2D"] +[node name="Path2D6" type="Path2D" parent="les gamins"] position = Vector2(3292, 2484) rotation = 3.14159 scale = Vector2(0.99422, 1.01871) curve = SubResource("Curve2D_dh00e") -[node name="PathFollow2D" type="PathFollow2D" parent="Node2D/Path2D6"] +[node name="PathFollow2D" type="PathFollow2D" parent="les gamins/Path2D6"] position = Vector2(614.649, 283.236) rotation = 1.60571 progress = 394.92 @@ -1797,14 +1813,14 @@ rotates = false script = ExtResource("6_yjxib") speed = -0.01 -[node name="gamin" parent="Node2D/Path2D6/PathFollow2D" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D6/PathFollow2D" instance=ExtResource("6_dr3ih")] rotation = -1.5708 scale = Vector2(-1, -0.976) -[node name="Kid1" parent="Node2D/Path2D6/PathFollow2D/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D6/PathFollow2D/gamin" index="1"] texture = ExtResource("16_ssypi") -[node name="PathFollow2D2" type="PathFollow2D" parent="Node2D/Path2D6"] +[node name="PathFollow2D2" type="PathFollow2D" parent="les gamins/Path2D6"] position = Vector2(968.854, 1085.3) rotation = 1.60571 progress = 1503.63 @@ -1812,20 +1828,20 @@ rotates = false script = ExtResource("6_yjxib") speed = -0.01 -[node name="gamin" parent="Node2D/Path2D6/PathFollow2D2" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D6/PathFollow2D2" instance=ExtResource("6_dr3ih")] rotation = 1.5708 scale = Vector2(-1, 1) -[node name="Kid1" parent="Node2D/Path2D6/PathFollow2D2/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D6/PathFollow2D2/gamin" index="1"] texture = ExtResource("17_wlt8u") -[node name="Path2D7" type="Path2D" parent="Node2D"] +[node name="Path2D7" type="Path2D" parent="les gamins"] position = Vector2(993, 4055) rotation = 3.14159 scale = Vector2(0.99422, 1.01871) curve = SubResource("Curve2D_dh00e") -[node name="PathFollow2D" type="PathFollow2D" parent="Node2D/Path2D7"] +[node name="PathFollow2D" type="PathFollow2D" parent="les gamins/Path2D7"] position = Vector2(614.649, 283.236) rotation = 1.60571 progress = 394.92 @@ -1833,14 +1849,14 @@ rotates = false script = ExtResource("6_yjxib") speed = -0.01 -[node name="gamin" parent="Node2D/Path2D7/PathFollow2D" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D7/PathFollow2D" instance=ExtResource("6_dr3ih")] rotation = -1.5708 scale = Vector2(-1, -0.976) -[node name="Kid1" parent="Node2D/Path2D7/PathFollow2D/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D7/PathFollow2D/gamin" index="1"] texture = ExtResource("16_ssypi") -[node name="PathFollow2D2" type="PathFollow2D" parent="Node2D/Path2D7"] +[node name="PathFollow2D2" type="PathFollow2D" parent="les gamins/Path2D7"] position = Vector2(968.854, 1085.3) rotation = 1.60571 progress = 1503.63 @@ -1848,20 +1864,20 @@ rotates = false script = ExtResource("6_yjxib") speed = -0.01 -[node name="gamin" parent="Node2D/Path2D7/PathFollow2D2" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D7/PathFollow2D2" instance=ExtResource("6_dr3ih")] rotation = 1.5708 scale = Vector2(-1, 1) -[node name="Kid1" parent="Node2D/Path2D7/PathFollow2D2/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D7/PathFollow2D2/gamin" index="1"] texture = ExtResource("17_wlt8u") -[node name="Path2D3" type="Path2D" parent="Node2D"] +[node name="Path2D3" type="Path2D" parent="les gamins"] position = Vector2(3291, 912) rotation = 3.14159 scale = Vector2(0.99422, 1.01871) curve = SubResource("Curve2D_dh00e") -[node name="PathFollow2D" type="PathFollow2D" parent="Node2D/Path2D3"] +[node name="PathFollow2D" type="PathFollow2D" parent="les gamins/Path2D3"] position = Vector2(614.649, 283.236) rotation = 1.60571 progress = 394.92 @@ -1869,14 +1885,14 @@ rotates = false script = ExtResource("6_yjxib") speed = -0.01 -[node name="gamin" parent="Node2D/Path2D3/PathFollow2D" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D3/PathFollow2D" instance=ExtResource("6_dr3ih")] rotation = 1.5708 scale = Vector2(-1, 1) -[node name="Kid1" parent="Node2D/Path2D3/PathFollow2D/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D3/PathFollow2D/gamin" index="1"] texture = ExtResource("18_1x0vj") -[node name="PathFollow2D2" type="PathFollow2D" parent="Node2D/Path2D3"] +[node name="PathFollow2D2" type="PathFollow2D" parent="les gamins/Path2D3"] position = Vector2(892.504, 1083.49) rotation = 1.52367 scale = Vector2(1, -1) @@ -1885,20 +1901,20 @@ rotates = false script = ExtResource("6_yjxib") speed = 0.01 -[node name="gamin" parent="Node2D/Path2D3/PathFollow2D2" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D3/PathFollow2D2" instance=ExtResource("6_dr3ih")] rotation = 1.5708 scale = Vector2(-1, 1) -[node name="Kid1" parent="Node2D/Path2D3/PathFollow2D2/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D3/PathFollow2D2/gamin" index="1"] texture = ExtResource("16_ssypi") -[node name="Path2D4" type="Path2D" parent="Node2D"] +[node name="Path2D4" type="Path2D" parent="les gamins"] position = Vector2(987, 2498) rotation = 3.14159 scale = Vector2(0.99422, 1.01871) curve = SubResource("Curve2D_dh00e") -[node name="PathFollow2D" type="PathFollow2D" parent="Node2D/Path2D4"] +[node name="PathFollow2D" type="PathFollow2D" parent="les gamins/Path2D4"] position = Vector2(614.649, 283.236) rotation = 1.60571 progress = 394.92 @@ -1906,14 +1922,14 @@ rotates = false script = ExtResource("6_yjxib") speed = -0.01 -[node name="gamin" parent="Node2D/Path2D4/PathFollow2D" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D4/PathFollow2D" instance=ExtResource("6_dr3ih")] rotation = 1.5708 scale = Vector2(-1, 1) -[node name="Kid1" parent="Node2D/Path2D4/PathFollow2D/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D4/PathFollow2D/gamin" index="1"] texture = ExtResource("18_1x0vj") -[node name="PathFollow2D2" type="PathFollow2D" parent="Node2D/Path2D4"] +[node name="PathFollow2D2" type="PathFollow2D" parent="les gamins/Path2D4"] position = Vector2(892.504, 1083.49) rotation = 1.52367 scale = Vector2(1, -1) @@ -1922,13 +1938,16 @@ rotates = false script = ExtResource("6_yjxib") speed = 0.01 -[node name="gamin" parent="Node2D/Path2D4/PathFollow2D2" instance=ExtResource("6_dr3ih")] +[node name="gamin" parent="les gamins/Path2D4/PathFollow2D2" instance=ExtResource("6_dr3ih")] rotation = 1.5708 scale = Vector2(-1, 1) -[node name="Kid1" parent="Node2D/Path2D4/PathFollow2D2/gamin" index="1"] +[node name="Kid1" parent="les gamins/Path2D4/PathFollow2D2/gamin" index="1"] texture = ExtResource("16_ssypi") +[node name="CharacterBody2D" parent="." instance=ExtResource("2_nmm2d")] +position = Vector2(-81, -194) + [editable path="Flash/Path2D/PathFollow2D2/Car"] [editable path="Flash/Path2D/PathFollow2D3/Car"] [editable path="Flash/Path2D2/PathFollow2D2/Car"] @@ -1937,17 +1956,17 @@ texture = ExtResource("16_ssypi") [editable path="Flash/Path2D4/PathFollow2D3/Car"] [editable path="Flash/Path2D5/PathFollow2D2/Car"] [editable path="Flash/Path2D5/PathFollow2D3/Car"] -[editable path="Node2D/Path2D/PathFollow2D2/gamin"] -[editable path="Node2D/Path2D9/PathFollow2D2/gamin"] -[editable path="Node2D/Path2D8/PathFollow2D2/gamin"] -[editable path="Node2D/Path2D5/PathFollow2D2/gamin"] -[editable path="Node2D/Path2D2/PathFollow2D/gamin"] -[editable path="Node2D/Path2D2/PathFollow2D2/gamin"] -[editable path="Node2D/Path2D6/PathFollow2D/gamin"] -[editable path="Node2D/Path2D6/PathFollow2D2/gamin"] -[editable path="Node2D/Path2D7/PathFollow2D/gamin"] -[editable path="Node2D/Path2D7/PathFollow2D2/gamin"] -[editable path="Node2D/Path2D3/PathFollow2D/gamin"] -[editable path="Node2D/Path2D3/PathFollow2D2/gamin"] -[editable path="Node2D/Path2D4/PathFollow2D/gamin"] -[editable path="Node2D/Path2D4/PathFollow2D2/gamin"] +[editable path="les gamins/Path2D/PathFollow2D2/gamin"] +[editable path="les gamins/Path2D9/PathFollow2D2/gamin"] +[editable path="les gamins/Path2D8/PathFollow2D2/gamin"] +[editable path="les gamins/Path2D5/PathFollow2D2/gamin"] +[editable path="les gamins/Path2D2/PathFollow2D/gamin"] +[editable path="les gamins/Path2D2/PathFollow2D2/gamin"] +[editable path="les gamins/Path2D6/PathFollow2D/gamin"] +[editable path="les gamins/Path2D6/PathFollow2D2/gamin"] +[editable path="les gamins/Path2D7/PathFollow2D/gamin"] +[editable path="les gamins/Path2D7/PathFollow2D2/gamin"] +[editable path="les gamins/Path2D3/PathFollow2D/gamin"] +[editable path="les gamins/Path2D3/PathFollow2D2/gamin"] +[editable path="les gamins/Path2D4/PathFollow2D/gamin"] +[editable path="les gamins/Path2D4/PathFollow2D2/gamin"] diff --git a/scene/control/door_view.tscn b/scene/control/door_view.tscn index 281f1f0..7ca8190 100644 --- a/scene/control/door_view.tscn +++ b/scene/control/door_view.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=37 format=3 uid="uid://bq2yxcm55h7n8"] +[gd_scene load_steps=49 format=3 uid="uid://bq2yxcm55h7n8"] [ext_resource type="Script" path="res://script/DoorView.cs" id="1_nmul8"] [ext_resource type="Texture2D" uid="uid://dpqc1xv3cechw" path="res://model/House1Closed.jpg" id="1_suqi6"] @@ -28,7 +28,16 @@ [ext_resource type="Texture2D" uid="uid://ob3tlldg8ta" path="res://model/frame_20_delay-0.1s.png" id="24_tjfip"] [ext_resource type="Texture2D" uid="uid://surjj4dbldjy" path="res://model/back_menu.png" id="25_l02i0"] [ext_resource type="AudioStream" uid="uid://blgk5pv3ydewn" path="res://sound/toc.mp3" id="26_7kpao"] +[ext_resource type="Texture2D" uid="uid://ca5aou1f0v5ry" path="res://model/Caniche00.png" id="26_saj1e"] +[ext_resource type="Texture2D" uid="uid://dyt3iack1afus" path="res://model/Caniche01.png" id="27_yv7f0"] +[ext_resource type="Texture2D" uid="uid://ciue5bg3hkw7e" path="res://model/Caniche02.png" id="28_8xvtf"] [ext_resource type="AudioStream" uid="uid://b6yryajuu4kpr" path="res://sound/shotgun-03-38220.mp3" id="28_s56qt"] +[ext_resource type="Texture2D" uid="uid://qu1x6hutugdx" path="res://model/Caniche03.png" id="29_1goyb"] +[ext_resource type="Texture2D" uid="uid://ddv1olxcs36kd" path="res://model/Caniche04.png" id="30_kwwl8"] +[ext_resource type="Texture2D" uid="uid://dbpfk1v71owas" path="res://model/Caniche05.png" id="31_68r0h"] +[ext_resource type="Texture2D" uid="uid://bw3wf30kj7ysu" path="res://model/Caniche06.png" id="32_2iutj"] +[ext_resource type="Texture2D" uid="uid://ct1adhigovvrs" path="res://model/Caniche07.png" id="33_25upv"] +[ext_resource type="AudioStream" uid="uid://br6fdeyd2ioji" path="res://sound/CanicheJumpscare.wav" id="36_7m6d4"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jooqt"] @@ -103,6 +112,38 @@ animations = [{ "speed": 15.0 }] +[sub_resource type="SpriteFrames" id="SpriteFrames_lu262"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": ExtResource("26_saj1e") +}, { +"duration": 1.0, +"texture": ExtResource("27_yv7f0") +}, { +"duration": 1.0, +"texture": ExtResource("28_8xvtf") +}, { +"duration": 1.0, +"texture": ExtResource("29_1goyb") +}, { +"duration": 1.0, +"texture": ExtResource("30_kwwl8") +}, { +"duration": 1.0, +"texture": ExtResource("31_68r0h") +}, { +"duration": 1.0, +"texture": ExtResource("32_2iutj") +}, { +"duration": 1.0, +"texture": ExtResource("33_25upv") +}], +"loop": true, +"name": &"default", +"speed": 15.0 +}] + [sub_resource type="Animation" id="Animation_kla4h"] length = 0.001 tracks/0/type = "value" @@ -261,6 +302,182 @@ tracks/12/keys = { "update": 1, "values": [false] } +tracks/13/type = "value" +tracks/13/imported = false +tracks/13/enabled = true +tracks/13/path = NodePath("Panel/caniche:visible") +tracks/13/interp = 1 +tracks/13/loop_wrap = true +tracks/13/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [false] +} +tracks/14/type = "value" +tracks/14/imported = false +tracks/14/enabled = true +tracks/14/path = NodePath("Panel/caniche:frame") +tracks/14/interp = 1 +tracks/14/loop_wrap = true +tracks/14/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [2] +} +tracks/15/type = "value" +tracks/15/imported = false +tracks/15/enabled = true +tracks/15/path = NodePath("AudioStreamPlayer2:stream") +tracks/15/interp = 1 +tracks/15/loop_wrap = true +tracks/15/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("36_7m6d4")] +} +tracks/16/type = "value" +tracks/16/imported = false +tracks/16/enabled = true +tracks/16/path = NodePath("AudioStreamPlayer2:playing") +tracks/16/interp = 1 +tracks/16/loop_wrap = true +tracks/16/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [false] +} + +[sub_resource type="Animation" id="Animation_1ykex"] +resource_name = "cani" +length = 4.0 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Panel/back:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 2.26667), +"transitions": PackedFloat32Array(1, 1), +"update": 1, +"values": [ExtResource("1_suqi6"), ExtResource("2_c5xhw")] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("AudioStreamPlayer:playing") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0.0333333), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Panel/AnimatedSprite2D:visible") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0, 0.3, 1.5), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 1, +"values": [false, true, false] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("Panel/AnimatedSprite2D:frame") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0.2), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [0] +} +tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/path = NodePath("Panel/caniche:visible") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/keys = { +"times": PackedFloat32Array(0.0333333, 2.53333), +"transitions": PackedFloat32Array(1, 1), +"update": 1, +"values": [false, true] +} +tracks/5/type = "value" +tracks/5/imported = false +tracks/5/enabled = true +tracks/5/path = NodePath("Panel/caniche:frame") +tracks/5/interp = 1 +tracks/5/loop_wrap = true +tracks/5/keys = { +"times": PackedFloat32Array(2.56667), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [0] +} +tracks/6/type = "value" +tracks/6/imported = false +tracks/6/enabled = true +tracks/6/path = NodePath("AudioStreamPlayer:stream") +tracks/6/interp = 1 +tracks/6/loop_wrap = true +tracks/6/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("26_7kpao")] +} +tracks/7/type = "value" +tracks/7/imported = false +tracks/7/enabled = true +tracks/7/path = NodePath("AudioStreamPlayer2:stream") +tracks/7/interp = 1 +tracks/7/loop_wrap = true +tracks/7/keys = { +"times": PackedFloat32Array(3.23333), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [ExtResource("36_7m6d4")] +} +tracks/8/type = "value" +tracks/8/imported = false +tracks/8/enabled = true +tracks/8/path = NodePath("AudioStreamPlayer2:playing") +tracks/8/interp = 1 +tracks/8/loop_wrap = true +tracks/8/keys = { +"times": PackedFloat32Array(1.7), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} + +[sub_resource type="Animation" id="Animation_d07ec"] +resource_name = "close" +length = 0.5 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Panel/back:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.2), +"transitions": PackedFloat32Array(1, 1), +"update": 1, +"values": [ExtResource("2_c5xhw"), ExtResource("1_suqi6")] +} [sub_resource type="Animation" id="Animation_fd2lj"] resource_name = "enter" @@ -516,6 +733,8 @@ tracks/8/keys = { [sub_resource type="AnimationLibrary" id="AnimationLibrary_b36fu"] _data = { "RESET": SubResource("Animation_kla4h"), +"cani": SubResource("Animation_1ykex"), +"close": SubResource("Animation_d07ec"), "enter": SubResource("Animation_fd2lj"), "question": SubResource("Animation_ewnqr"), "shot": SubResource("Animation_0jdtk") @@ -566,6 +785,12 @@ autoplay = "default" visible = false texture = ExtResource("25_l02i0") +[node name="caniche" type="AnimatedSprite2D" parent="Panel"] +visible = false +sprite_frames = SubResource("SpriteFrames_lu262") +autoplay = "default" +frame = 2 + [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_b36fu") @@ -644,6 +869,12 @@ theme_override_font_sizes/font_size = 18 text = "Treat " +[node name="AudioStreamPlayer2" type="AudioStreamPlayer" parent="."] +process_mode = 3 +stream = ExtResource("36_7m6d4") +volume_db = -20.0 + +[connection signal="pressed" from="Trick/Button" to="." method="TrickPressed"] [connection signal="pressed" from="Trick/Button2" to="." method="TreatPressed"] [connection signal="pressed" from="Question/a" to="." method="APressed"] [connection signal="pressed" from="Question/b" to="." method="BPressed"] diff --git a/scene/gamin.tscn b/scene/gamin.tscn index 16fb89d..870df3e 100644 --- a/scene/gamin.tscn +++ b/scene/gamin.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=3 format=3 uid="uid://cvos258vtnsju"] +[gd_scene load_steps=4 format=3 uid="uid://cvos258vtnsju"] [ext_resource type="Texture2D" uid="uid://gnnvs3vb6gbp" path="res://model/Kid1.png" id="1_lgn5e"] +[ext_resource type="AudioStream" uid="uid://cpc4p4a7cly1j" path="res://Whisper.wav" id="2_bqbtd"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_34g5i"] @@ -12,3 +13,9 @@ shape = SubResource("CapsuleShape2D_34g5i") [node name="Kid1" type="Sprite2D" parent="."] position = Vector2(0, -1) texture = ExtResource("1_lgn5e") + +[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource("2_bqbtd") +volume_db = -20.0 +autoplay = true +max_distance = 128.0 diff --git a/scene/music_principal.tscn b/scene/music_principal.tscn index 25793dd..6cea90b 100644 --- a/scene/music_principal.tscn +++ b/scene/music_principal.tscn @@ -7,3 +7,4 @@ process_mode = 3 stream = ExtResource("1_l24uh") volume_db = -20.0 autoplay = true +parameters/looping = true diff --git a/scene/player.tscn b/scene/player.tscn index 76310e2..254cb76 100644 --- a/scene/player.tscn +++ b/scene/player.tscn @@ -455,8 +455,9 @@ scale = Vector2(0.334, 0.334) anim = NodePath("../../anim") player = NodePath("../..") -[node name="door_view" parent="Camera2D" instance=ExtResource("4_0vwed")] +[node name="door_view" parent="Camera2D" node_paths=PackedStringArray("menu") instance=ExtResource("4_0vwed")] visible = false +menu = NodePath("../menu") [node name="gameover" type="CanvasLayer" parent="Camera2D"] visible = false diff --git a/script/DoorView.cs b/script/DoorView.cs index 9696cd0..873f207 100644 --- a/script/DoorView.cs +++ b/script/DoorView.cs @@ -1,11 +1,13 @@ using Godot; using System; +using System.Collections.Generic; using System.Diagnostics; public partial class DoorView : Control { [Export] Sprite2D mob; [Export] AnimationPlayer anim; + [Export] Control menu; Texture2D mobTex {get; set;} @@ -18,20 +20,35 @@ public partial class DoorView : Control bool shot {get; set;}= true; bool caniche {get; set;}= false; + CharacterBody2D player; [Export] Label text_mob; [Export] Button butA; [Export] Button butB; + + bool trick_bool = false; + + List txt = new List(); + // Called when the node enters the scene tree for the first time. public override void _Ready() { + txt.Add("Black spell of destruction"); + txt.Add("Necromancy"); + txt.Add("Freezing Moon"); + txt.Add("Journey to the stars"); + txt.Add("The power of souls"); + txt.Add("Mutilations internes"); + txt.Add("Manual Breathing"); + txt.Add("Spectral visions of mental warfare"); player = (CharacterBody2D)GetParent().GetParent(); } public async void start() { + trick_bool = false; GetParent().PositionSmoothingEnabled = false; Input.MouseMode = Input.MouseModeEnum.Visible; GetTree().Paused = true; @@ -45,7 +62,8 @@ public partial class DoorView : Control } else if (caniche) { - anim.Play("can"); + anim.Play("cani"); + player.Call("OverCanicheAsync"); } else { @@ -55,6 +73,7 @@ public partial class DoorView : Control public void stop() { + Input.MouseMode = Input.MouseModeEnum.Hidden; GetParent().PositionSmoothingEnabled = false; GetTree().Paused = false; Visible = false; @@ -71,7 +90,11 @@ public partial class DoorView : Control public void APressed() { - if(answerA_good) + if(trick_bool) + { + anim.Play("close"); + } + else if(answerA_good) { player.Set("sugar", (int)player.Get("sugar") + GD.RandRange(20, 40)); } @@ -80,10 +103,25 @@ public partial class DoorView : Control public void BPressed() { - if(!answerA_good) + if(trick_bool) + { + anim.Play("close"); + } + else if(!answerA_good) { player.Set("sugar", (int)player.Get("sugar") + GD.RandRange(20, 40)); } stop(); } + + public void TrickPressed() + { + trick_bool = true; + int s = (int)menu.Get("spell"); + menu.Set("spell", ++s); + text_mob.Text = "-You have casted : " + txt[s-1] + "\n- It : ...?"; + butA.Text = "##############"; + butB.Text = "##############"; + anim.Play("question"); + } } diff --git a/script/Menu.cs b/script/Menu.cs index aaca5af..2055cc9 100644 --- a/script/Menu.cs +++ b/script/Menu.cs @@ -9,7 +9,7 @@ public partial class Menu : Control [Export] Panel trick; [Export] CharacterBody2D player; Node parent; - int spell {get; set;} = 2; + int spell {get; set;} = 0; // Called when the node enters the scene tree for the first time. public override void _Ready() diff --git a/script/Player.cs b/script/Player.cs index 6f80ef3..36da3a5 100644 --- a/script/Player.cs +++ b/script/Player.cs @@ -2,6 +2,7 @@ using Godot; using System; using System.IO; using System.Text.RegularExpressions; +using System.Threading.Tasks; public partial class Player : CharacterBody2D { @@ -148,8 +149,10 @@ public partial class Player : CharacterBody2D time.Text = string.Format("{0:D2}:{1:D2}", heure, (int)Math.Floor(minute)); } - void OverCaniche() + async void OverCanicheAsync() { + await ToSignal(GetTree().CreateTimer(3), "timeout"); + Input.MouseMode = Input.MouseModeEnum.Visible; GetTree().Paused = true; audio.Stream = aud_caniche; audio.Play(); @@ -160,6 +163,7 @@ public partial class Player : CharacterBody2D async void OverShotgun() { await ToSignal(GetTree().CreateTimer(0.8), "timeout"); + Input.MouseMode = Input.MouseModeEnum.Visible; audio.Stream = aud_shotgun; audio.Play(); GetTree().Paused = true; @@ -169,6 +173,7 @@ public partial class Player : CharacterBody2D } void OverCaramel() { + Input.MouseMode = Input.MouseModeEnum.Visible; audio.Stream = aud_caramel; audio.Play(); @@ -179,6 +184,7 @@ public partial class Player : CharacterBody2D } void OverGlissemie() { + Input.MouseMode = Input.MouseModeEnum.Visible; audio.Stream = aud_glissemie; audio.Play(); GetTree().Paused = true; @@ -188,6 +194,7 @@ public partial class Player : CharacterBody2D } void OverVoiture() { + Input.MouseMode = Input.MouseModeEnum.Visible; audio.Stream = aud_voiture; audio.Play(); GetTree().Paused = true; @@ -197,6 +204,7 @@ public partial class Player : CharacterBody2D } void OverWin() { + Input.MouseMode = Input.MouseModeEnum.Visible; audio.Stream = aud_win; audio.Play(); GetTree().Paused = true; diff --git a/script/Principal.cs b/script/Principal.cs index c7db516..8657b96 100644 --- a/script/Principal.cs +++ b/script/Principal.cs @@ -29,6 +29,7 @@ public partial class Principal : Control anim.Play("play2"); }else if (enter && Input.IsActionJustPressed("valid")) { + Input.MouseMode = Input.MouseModeEnum.Hidden; //GetTree().Paused = false; parent.Call("ToCityFunc"); } diff --git a/sound/CanicheJumpscare.wav.import b/sound/CanicheJumpscare.wav.import new file mode 100644 index 0000000..7f05798 --- /dev/null +++ b/sound/CanicheJumpscare.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://br6fdeyd2ioji" +path="res://.godot/imported/CanicheJumpscare.wav-d7982aa7b7c54bd17da5e17fc1dae662.sample" + +[deps] + +source_file="res://sound/CanicheJumpscare.wav" +dest_files=["res://.godot/imported/CanicheJumpscare.wav-d7982aa7b7c54bd17da5e17fc1dae662.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sound/Closedoor.wav.import b/sound/Closedoor.wav.import new file mode 100644 index 0000000..c0069ce --- /dev/null +++ b/sound/Closedoor.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://chfj3tjqdo8fi" +path="res://.godot/imported/Closedoor.wav-f0d99e978c2f783ceaa2a4fe7ad5b3d6.sample" + +[deps] + +source_file="res://sound/Closedoor.wav" +dest_files=["res://.godot/imported/Closedoor.wav-f0d99e978c2f783ceaa2a4fe7ad5b3d6.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0