diff --git a/ScriptSheet.json b/ScriptSheet.json new file mode 100644 index 0000000..4c179ac --- /dev/null +++ b/ScriptSheet.json @@ -0,0 +1,202 @@ +{ + "TXT_TEST_1": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "TXT_TEST_2", + "ES": "Hola esto es una prueba de si funciona", + "EN": "Hello this is a test" + }, + "TXT_TEST_2": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Sigue funcionando perfectamente", + "EN": "It's working" + }, + "Ev_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "Ev_02", + "ES": "Ahh, estoy hecho mierda. Necesito algo para este dolor de cabeza. ¿Dónde coño estoy?", + "EN": "Ahh, I feel like shit. I need something for this headache. Where the hell am I?" + }, + "Ev_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "!¿ QUÉ MIERDA ?! ¿QUÉ ES ESTO? ¿QUIÉN ES ESTE TÍO?…", + "EN": "Damn?! What is this? Who is this dude?…" + }, + "Ev_02_TV1": { + "SHADER_OPTIONS": "TV", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "Ev_02_TV2", + "ES": "¿Qué es ese ruido?", + "EN": "What is that noise?" + }, + "Ev_02_TV2": { + "SHADER_OPTIONS": "TV", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_02_TV2", + "ES": "Siguen las búsquedas de los 2 atracadores a los que se les relaciona con 15 asesinatos... estas son las imágenes que nos ha proporcionado el departamento de policía…", + "EN": "The search continues for the two robbers linked to 15 murders... these are the images provided to us by the departament police..." + }, + "Ev_02_TV3": { + "SHADER_OPTIONS": "TV", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Me van a cargar el muerto si me encuentran aquí…", + "EN": "They'll pin the blame on me if they find me here…" + }, + "Ev_Corpse1": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "Ev_Corpse2", + "ES": "El cuerpo tiene algo...", + "EN": "The corpse has something..." + }, + "Ev_Corpse2": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "Ev_Corpse3", + "ES": "No es nada personal...", + "EN": "It's nothing personal" + }, + "Ev_Corpse3": { + "SHADER_OPTIONS": "VIGNETTE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Parece de la entrada del piso.", + "EN": "Look like flat’s entrance..." + }, + "Ev_Grill_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "Ev_Grill_02", + "ES": "¿Quién habrá escondido unas pastillas ahí?", + "EN": "This key seems to be for the apartment entrance…" + }, + "Ev_Grill_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "Ev_Grill_03", + "ES": "Necesito algo para poder abrirlo", + "EN": "I need something to open it..." + }, + "Ev_Grill_03": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "", + "ES": "Necesito callar las voces...", + "EN": "I need to silence the voices..." + }, + "Ev_Shelve": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "Ev_Picture_01", + "ES": "Que raro, me suenan sus caras...", + "EN": "That's weird… These faces look familiar to me." + }, + "Ev_Picture_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "Ev_Picture_02", + "ES": "Se le ven tan feliz…", + "EN": "He looks so happy…" + }, + "Ev_Picture_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "Ev_Picture_03", + "ES": "A este en cambio se le ve triste…", + "EN": "This one, on the other hand, looks sad…" + }, + "Ev_Picture_03": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "Ev_Picture_04", + "ES": "Este está roto...", + "EN": "This is broken…" + }, + "Ev_Picture_04": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "", + "ES": "¿Qué es eso que asoma?", + "EN": "What’s that sticking out?" + }, + "Ev_FirstBrokenPicture_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "Ev_FirstBrokenPicture_02", + "ES": "Parece que alguien la ha roto por la mitad.", + "EN": "It looks like someone broke it in two." + }, + "Ev_FirstBrokenPicture_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "La otra mitad debe estar por aquí.", + "EN": "The other half must be around here somewhere." + }, + "Ev_SecondBrokenPicture_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "Ev_SecondBrokenPicture_02", + "ES": "Esta parece la otra mitad de la foto.", + "EN": "This seems to be the other half of the picture." + }, + "Ev_SecondBrokenPicture_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_SecondBrokenPicture_03", + "ES": "Ese tal Mario, lleva la misma ropa que yo...", + "EN": "That guy, Mario… He’s wearing the same clothes as me" + }, + "Ev_SecondBrokenPicture_03": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Francesco y él… parecen cercanos.", + "EN": "Francesco and he… seem close." + }, + "Ev_Blueprint_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "Ev_Blueprint_02", + "ES": "Parece que forma algún tipo de plano.", + "EN": "Looks like some kind of blueprint." + }, + "Ev_Blueprint_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "", + "ES": "Parecen los planos de un robo.", + "EN": "Looks like the thieves' plan." + } +} \ No newline at end of file diff --git a/assets/Sound Effects/drag_1-43939.mp3 b/assets/Sound Effects/drag_1-43939.mp3 new file mode 100644 index 0000000..77d07ea Binary files /dev/null and b/assets/Sound Effects/drag_1-43939.mp3 differ diff --git a/assets/Sound Effects/drag_1-43939.mp3.import b/assets/Sound Effects/drag_1-43939.mp3.import new file mode 100644 index 0000000..39b8c8a --- /dev/null +++ b/assets/Sound Effects/drag_1-43939.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://cy2547m125kp8" +path="res://.godot/imported/drag_1-43939.mp3-2172f5a3e562f2dd182a868b7ebc2462.mp3str" + +[deps] + +source_file="res://assets/Sound Effects/drag_1-43939.mp3" +dest_files=["res://.godot/imported/drag_1-43939.mp3-2172f5a3e562f2dd182a868b7ebc2462.mp3str"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/assets/Sound Effects/drawer-open-98801.mp3 b/assets/Sound Effects/drawer-open-98801.mp3 new file mode 100644 index 0000000..4130609 Binary files /dev/null and b/assets/Sound Effects/drawer-open-98801.mp3 differ diff --git a/assets/Sound Effects/drawer-open-98801.mp3.import b/assets/Sound Effects/drawer-open-98801.mp3.import new file mode 100644 index 0000000..2fadb6f --- /dev/null +++ b/assets/Sound Effects/drawer-open-98801.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://wbb0uqu3ukbo" +path="res://.godot/imported/drawer-open-98801.mp3-5bd47822df82398d0e707833ba0afd7b.mp3str" + +[deps] + +source_file="res://assets/Sound Effects/drawer-open-98801.mp3" +dest_files=["res://.godot/imported/drawer-open-98801.mp3-5bd47822df82398d0e707833ba0afd7b.mp3str"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/assets/Sound Effects/metal-crunch-263638.mp3 b/assets/Sound Effects/metal-crunch-263638.mp3 new file mode 100644 index 0000000..56746c8 Binary files /dev/null and b/assets/Sound Effects/metal-crunch-263638.mp3 differ diff --git a/assets/Sound Effects/metal-crunch-263638.mp3.import b/assets/Sound Effects/metal-crunch-263638.mp3.import new file mode 100644 index 0000000..a3c36f3 --- /dev/null +++ b/assets/Sound Effects/metal-crunch-263638.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://byec7w740vhqy" +path="res://.godot/imported/metal-crunch-263638.mp3-bbffcacb6a0c11155a50dca2a086e757.mp3str" + +[deps] + +source_file="res://assets/Sound Effects/metal-crunch-263638.mp3" +dest_files=["res://.godot/imported/metal-crunch-263638.mp3-bbffcacb6a0c11155a50dca2a086e757.mp3str"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/assets/Sound Effects/metal-impact-247482.mp3 b/assets/Sound Effects/metal-impact-247482.mp3 new file mode 100644 index 0000000..5e39273 Binary files /dev/null and b/assets/Sound Effects/metal-impact-247482.mp3 differ diff --git a/assets/Sound Effects/metal-impact-247482.mp3.import b/assets/Sound Effects/metal-impact-247482.mp3.import new file mode 100644 index 0000000..7a80645 --- /dev/null +++ b/assets/Sound Effects/metal-impact-247482.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://ltoa1wyn34x6" +path="res://.godot/imported/metal-impact-247482.mp3-abf2390523066adb4a6c1d7299edee49.mp3str" + +[deps] + +source_file="res://assets/Sound Effects/metal-impact-247482.mp3" +dest_files=["res://.godot/imported/metal-impact-247482.mp3-abf2390523066adb4a6c1d7299edee49.mp3str"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/assets/Sound Effects/open-and-close-kitchen-drawer-90723.mp3 b/assets/Sound Effects/open-and-close-kitchen-drawer-90723.mp3 new file mode 100644 index 0000000..7cfab9f Binary files /dev/null and b/assets/Sound Effects/open-and-close-kitchen-drawer-90723.mp3 differ diff --git a/assets/Sound Effects/open-and-close-kitchen-drawer-90723.mp3.import b/assets/Sound Effects/open-and-close-kitchen-drawer-90723.mp3.import new file mode 100644 index 0000000..34771bd --- /dev/null +++ b/assets/Sound Effects/open-and-close-kitchen-drawer-90723.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://c7rwm5qhgsca" +path="res://.godot/imported/open-and-close-kitchen-drawer-90723.mp3-10741b652375fc1940ca975d9e600077.mp3str" + +[deps] + +source_file="res://assets/Sound Effects/open-and-close-kitchen-drawer-90723.mp3" +dest_files=["res://.godot/imported/open-and-close-kitchen-drawer-90723.mp3-10741b652375fc1940ca975d9e600077.mp3str"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/assets/Sound Effects/open-doors-114615.mp3 b/assets/Sound Effects/open-doors-114615.mp3 new file mode 100644 index 0000000..508ae34 Binary files /dev/null and b/assets/Sound Effects/open-doors-114615.mp3 differ diff --git a/assets/Sound Effects/open-doors-114615.mp3.import b/assets/Sound Effects/open-doors-114615.mp3.import new file mode 100644 index 0000000..c2727a3 --- /dev/null +++ b/assets/Sound Effects/open-doors-114615.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://coxw78hghbvih" +path="res://.godot/imported/open-doors-114615.mp3-8ba58dd9d90a7db7ae2ecf9d72721754.mp3str" + +[deps] + +source_file="res://assets/Sound Effects/open-doors-114615.mp3" +dest_files=["res://.godot/imported/open-doors-114615.mp3-8ba58dd9d90a7db7ae2ecf9d72721754.mp3str"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/assets/Sound Effects/paper-245786.mp3 b/assets/Sound Effects/paper-245786.mp3 new file mode 100644 index 0000000..c32ad52 Binary files /dev/null and b/assets/Sound Effects/paper-245786.mp3 differ diff --git a/assets/Sound Effects/paper-245786.mp3.import b/assets/Sound Effects/paper-245786.mp3.import new file mode 100644 index 0000000..7410e65 --- /dev/null +++ b/assets/Sound Effects/paper-245786.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://cc1nx7v7m54kl" +path="res://.godot/imported/paper-245786.mp3-958e032d61cc8656e7a7b2b12f089f48.mp3str" + +[deps] + +source_file="res://assets/Sound Effects/paper-245786.mp3" +dest_files=["res://.godot/imported/paper-245786.mp3-958e032d61cc8656e7a7b2b12f089f48.mp3str"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/assets/Sound Effects/paper-grab-259214.mp3 b/assets/Sound Effects/paper-grab-259214.mp3 new file mode 100644 index 0000000..c4e9106 Binary files /dev/null and b/assets/Sound Effects/paper-grab-259214.mp3 differ diff --git a/assets/Sound Effects/paper-grab-259214.mp3.import b/assets/Sound Effects/paper-grab-259214.mp3.import new file mode 100644 index 0000000..7dbb96a --- /dev/null +++ b/assets/Sound Effects/paper-grab-259214.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://dbs04n57hmpnk" +path="res://.godot/imported/paper-grab-259214.mp3-c5b915df7d4248b0e372848c50b94f3f.mp3str" + +[deps] + +source_file="res://assets/Sound Effects/paper-grab-259214.mp3" +dest_files=["res://.godot/imported/paper-grab-259214.mp3-c5b915df7d4248b0e372848c50b94f3f.mp3str"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/assets/assets/A4.png.import b/assets/assets/A4.png.import index 5b9feb3..c947237 100644 --- a/assets/assets/A4.png.import +++ b/assets/assets/A4.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://d3vpgj14n75bt" +uid="uid://c13e8ruthradk" path="res://.godot/imported/A4.png-d25b9956ed84bc54e5442001380b529b.ctex" metadata={ "vram_texture": false diff --git a/assets/assets/A5.png.import b/assets/assets/A5.png.import index 86eb701..a9b23c1 100644 --- a/assets/assets/A5.png.import +++ b/assets/assets/A5.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://ce5qk8cl5y6yn" +uid="uid://bn87h63xkfswm" path="res://.godot/imported/A5.png-3cafc6035f7e67dca5024571a6fe5328.ctex" metadata={ "vram_texture": false diff --git a/assets/assets/Inside_C.png.import b/assets/assets/Inside_C.png.import index 3e5abdd..db4880d 100644 --- a/assets/assets/Inside_C.png.import +++ b/assets/assets/Inside_C.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://dio3acuttcete" +uid="uid://bdswbbgn63syl" path="res://.godot/imported/Inside_C.png-07c2072349a6c63915f845e6d72d7748.ctex" metadata={ "vram_texture": false diff --git a/assets/assets/Inside_D.png.import b/assets/assets/Inside_D.png.import index 12eee88..3c70052 100644 --- a/assets/assets/Inside_D.png.import +++ b/assets/assets/Inside_D.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://cf53dwdbn0hk0" +uid="uid://crpvayv71edi2" path="res://.godot/imported/Inside_D.png-75562b6e3e1b4ad26aa134dd4d48bf69.ctex" metadata={ "vram_texture": false diff --git a/assets/assets/Inside_E.png.import b/assets/assets/Inside_E.png.import index d98376e..596deba 100644 --- a/assets/assets/Inside_E.png.import +++ b/assets/assets/Inside_E.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bpvhsjng1hm63" +uid="uid://0w43upqwxqug" path="res://.godot/imported/Inside_E.png-6749c55b160f0f70919a2c348bb962de.ctex" metadata={ "vram_texture": false diff --git a/assets/assets/Outside.png.import b/assets/assets/Outside.png.import index 61a3acd..a736653 100644 --- a/assets/assets/Outside.png.import +++ b/assets/assets/Outside.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bb8led6cet03i" +uid="uid://bktdgxbpaqevs" path="res://.godot/imported/Outside.png-75b1e6d19fa5510d6f853fdad40c0a0b.ctex" metadata={ "vram_texture": false diff --git a/assets/assets/ase_mario/caja_fuerte_abierta_sin_nada.ase b/assets/assets/ase_mario/caja_fuerte_abierta_sin_nada.ase new file mode 100644 index 0000000..08c14f6 Binary files /dev/null and b/assets/assets/ase_mario/caja_fuerte_abierta_sin_nada.ase differ diff --git a/assets/assets/ase_mario/player-32-64-back-walk.ase b/assets/assets/ase_mario/player-32-64-back-walk.ase new file mode 100644 index 0000000..6c468b4 Binary files /dev/null and b/assets/assets/ase_mario/player-32-64-back-walk.ase differ diff --git a/assets/fonts/PressStart2P-Regular.ttf b/assets/fonts/PressStart2P-Regular.ttf new file mode 100644 index 0000000..1098ed2 Binary files /dev/null and b/assets/fonts/PressStart2P-Regular.ttf differ diff --git a/assets/fonts/PressStart2P-Regular.ttf.import b/assets/fonts/PressStart2P-Regular.ttf.import new file mode 100644 index 0000000..e4d09e6 --- /dev/null +++ b/assets/fonts/PressStart2P-Regular.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://c1rf6rq6ggj61" +path="res://.godot/imported/PressStart2P-Regular.ttf-e20d5ff307f5ecfa1e9984f5c6184197.fontdata" + +[deps] + +source_file="res://assets/fonts/PressStart2P-Regular.ttf" +dest_files=["res://.godot/imported/PressStart2P-Regular.ttf-e20d5ff307f5ecfa1e9984f5c6184197.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +hinting=1 +subpixel_positioning=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/materials/bathroom.tres b/assets/materials/bathroom.tres new file mode 100644 index 0000000..2332585 --- /dev/null +++ b/assets/materials/bathroom.tres @@ -0,0 +1,13 @@ +[gd_resource type="VisualShader" format=3 uid="uid://c01fvpss0womi"] + +[resource] +code = "shader_type canvas_item; +render_mode blend_mix; + + + +" +graph_offset = Vector2(-102.09, 49.6922) +mode = 1 +flags/light_only = false +nodes/fragment/0/position = Vector2(500, 180) diff --git a/assets/materials/bathroom_shader.tres b/assets/materials/bathroom_shader.tres new file mode 100644 index 0000000..8fd133c --- /dev/null +++ b/assets/materials/bathroom_shader.tres @@ -0,0 +1,39 @@ +[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://cm1iq0isxjdqv"] + +[sub_resource type="Shader" id="Shader_g2yis"] +code = "shader_type canvas_item; +render_mode blend_mix; + + +uniform vec4 blood_color: source_color; //color al que se le aplica los efectos +uniform float blood_intensity : hint_range(0.0, 1.0) = 0.5; // Controla la intensidad del efecto de sangre +uniform float internal_limit : hint_range(0.0, 1.0) = 0.3; // Controla el limite interior del radio del efecto de sangre +uniform float external_limit : hint_range(0.0, 1.0) = 0.6; // Controla el limite exterior del radio del efecto de sangre + +void fragment() { + // Obtén las coordenadas UV actuales + vec2 uv = UV; + + // Calcula la distancia desde el centro de la pantalla + float dist_from_center = length(uv - vec2(0.5)); + + // Define un tinte rojo con una transición suave hacia el centro + float vignette = smoothstep(internal_limit, external_limit, dist_from_center); + vec4 blood_tint = blood_color * vignette * blood_intensity; + + // Obtiene el color original de la textura en la posición actual + vec4 color = texture(TEXTURE, UV); + color.rgba = blood_tint; + // Mezcla el color de la sangre con el color original + color.rgba = mix(color.rgba, blood_tint, blood_intensity * vignette); + COLOR = color; +} + +" + +[resource] +shader = SubResource("Shader_g2yis") +shader_parameter/blood_color = null +shader_parameter/blood_intensity = 0.816 +shader_parameter/internal_limit = 1.0 +shader_parameter/external_limit = 0.386 diff --git a/assets/materials/blood.tres b/assets/materials/blood.tres new file mode 100644 index 0000000..7fec60d --- /dev/null +++ b/assets/materials/blood.tres @@ -0,0 +1,29 @@ +[gd_resource type="Shader" format=3 uid="uid://e4ipqobkp8oq"] + +[resource] +code = "shader_type canvas_item; + +uniform vec4 blood_color: source_color; //color al que se le aplica los efectos +uniform float blood_intensity : hint_range(0.0, 1.0) = 0.5; // Controla la intensidad del efecto de sangre +uniform float internal_limit : hint_range(0.0, 1.0) = 0.3; // Controla el limite interior del radio del efecto de sangre +uniform float external_limit : hint_range(0.0, 1.0) = 0.6; // Controla el limite exterior del radio del efecto de sangre + +void fragment() { + // Obtén las coordenadas UV actuales + vec2 uv = UV; + + // Calcula la distancia desde el centro de la pantalla + float dist_from_center = length(uv - vec2(0.5)); + + // Define un tinte rojo con una transición suave hacia el centro + float vignette = smoothstep(internal_limit, external_limit, dist_from_center); + vec4 blood_tint = blood_color * vignette * blood_intensity; + + // Obtiene el color original de la textura en la posición actual + vec4 color = texture(TEXTURE, UV); + color.rgba = blood_tint; + // Mezcla el color de la sangre con el color original + color.rgba = mix(color.rgba, blood_tint, blood_intensity * vignette); + COLOR = color; +} +" diff --git a/assets/materials/blood_materia.tres b/assets/materials/blood_materia.tres new file mode 100644 index 0000000..e80cfab --- /dev/null +++ b/assets/materials/blood_materia.tres @@ -0,0 +1,10 @@ +[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://b0wmofx38qqu2"] + +[ext_resource type="Shader" uid="uid://e4ipqobkp8oq" path="res://assets/materials/blood.tres" id="1_r3lh1"] + +[resource] +shader = ExtResource("1_r3lh1") +shader_parameter/blood_color = Color(0.607843, 0, 0.0941176, 1) +shader_parameter/blood_intensity = 0.465 +shader_parameter/internal_limit = 0.05 +shader_parameter/external_limit = 0.651 diff --git a/assets/materials/sangre.tres b/assets/materials/sangre.tres index 61ae102..d9ade7c 100644 --- a/assets/materials/sangre.tres +++ b/assets/materials/sangre.tres @@ -1,10 +1,36 @@ [gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://rkl0qeb66rdc"] -[ext_resource type="Shader" path="res://scripts/shaders/sangre.gdshader" id="1_d582i"] +[sub_resource type="Shader" id="Shader_b5x60"] +code = "shader_type canvas_item; + +uniform vec4 blood_color: source_color; //color al que se le aplica los efectos +uniform float blood_intensity : hint_range(0.0, 1.0) = 0.5; // Controla la intensidad del efecto de sangre +uniform float internal_limit : hint_range(0.0, 1.0) = 0.3; // Controla el limite interior del radio del efecto de sangre +uniform float external_limit : hint_range(0.0, 1.0) = 0.6; // Controla el limite exterior del radio del efecto de sangre + +void fragment() { + // Obtén las coordenadas UV actuales + vec2 uv = UV; + + // Calcula la distancia desde el centro de la pantalla + float dist_from_center = length(uv - vec2(0.5)); + + // Define un tinte rojo con una transición suave hacia el centro + float vignette = smoothstep(internal_limit, external_limit, dist_from_center); + vec4 blood_tint = blood_color * vignette * blood_intensity; + + // Obtiene el color original de la textura en la posición actual + vec4 color = texture(TEXTURE, UV); + color.rgba = blood_tint; + // Mezcla el color de la sangre con el color original + color.rgba = mix(color.rgba, blood_tint, blood_intensity * vignette); + COLOR = color; +} +" [resource] -shader = ExtResource("1_d582i") -shader_parameter/blood_color = Color(5.2643e-08, 0, 0.0951902, 1) +shader = SubResource("Shader_b5x60") +shader_parameter/blood_color = Color(0, 1, 0.0941176, 1) shader_parameter/blood_intensity = 0.465 shader_parameter/internal_limit = 0.05 shader_parameter/external_limit = 0.651 diff --git a/assets/materials/vignette.tres b/assets/materials/vignette.tres new file mode 100644 index 0000000..2d87722 --- /dev/null +++ b/assets/materials/vignette.tres @@ -0,0 +1,29 @@ +[gd_resource type="Shader" format=3 uid="uid://da4xq4yvnmigh"] + +[resource] +code = "shader_type canvas_item; + +uniform vec4 blood_color: source_color; //color al que se le aplica los efectos +uniform float blood_intensity : hint_range(0.0, 1.0) = 0.5; // Controla la intensidad del efecto de sangre +uniform float internal_limit : hint_range(0.0, 1.0) = 0.3; // Controla el limite interior del radio del efecto de sangre +uniform float external_limit : hint_range(0.0, 1.0) = 0.6; // Controla el limite exterior del radio del efecto de sangre + +void fragment() { + // Obtén las coordenadas UV actuales + vec2 uv = UV; + + // Calcula la distancia desde el centro de la pantalla + float dist_from_center = length(uv - vec2(0.5)); + + // Define un tinte rojo con una transición suave hacia el centro + float vignette = smoothstep(internal_limit, external_limit, dist_from_center); + vec4 blood_tint = blood_color * vignette * blood_intensity; + + // Obtiene el color original de la textura en la posición actual + vec4 color = texture(TEXTURE, UV); + color.rgba = blood_tint; + // Mezcla el color de la sangre con el color original + color.rgba = mix(color.rgba, blood_tint, blood_intensity * vignette); + COLOR = color; +} +" diff --git a/assets/materials/vignette_materia.tres b/assets/materials/vignette_materia.tres new file mode 100644 index 0000000..194536c --- /dev/null +++ b/assets/materials/vignette_materia.tres @@ -0,0 +1,10 @@ +[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://b04543apja7w8"] + +[ext_resource type="Shader" uid="uid://da4xq4yvnmigh" path="res://assets/materials/vignette.tres" id="1_bqu14"] + +[resource] +shader = ExtResource("1_bqu14") +shader_parameter/blood_color = Color(0, 0, 0.0941176, 1) +shader_parameter/blood_intensity = 0.465 +shader_parameter/internal_limit = 0.05 +shader_parameter/external_limit = 0.651 diff --git a/assets/sprites/Escenario/Assets Arreglo.png.import b/assets/sprites/Escenario/Assets Arreglo.png.import index efe6db8..61cd7e8 100644 --- a/assets/sprites/Escenario/Assets Arreglo.png.import +++ b/assets/sprites/Escenario/Assets Arreglo.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://0u5sgrh72s7l" +uid="uid://cstw8rqmdw6ww" path="res://.godot/imported/Assets Arreglo.png-2b9008cb2a31679a5ac9691738e26aa4.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Escenario/Assets Finales.png.import b/assets/sprites/Escenario/Assets Finales.png.import index 063ee4a..89103b2 100644 --- a/assets/sprites/Escenario/Assets Finales.png.import +++ b/assets/sprites/Escenario/Assets Finales.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://b6ta5j8h0gndc" +uid="uid://by3lrq6wr1mdd" path="res://.godot/imported/Assets Finales.png-29b3ec4ef519c6e91cf739ef90c28706.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Escenario/Assets Finales1.png.import b/assets/sprites/Escenario/Assets Finales1.png.import index 259d3df..73beac5 100644 --- a/assets/sprites/Escenario/Assets Finales1.png.import +++ b/assets/sprites/Escenario/Assets Finales1.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://3oxoypr37cw1" +uid="uid://b4eag6i7vt31u" path="res://.godot/imported/Assets Finales1.png-179dc782345d3f7cbfbad100b4340db6.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Escenario/Assets Finales2.png.import b/assets/sprites/Escenario/Assets Finales2.png.import index 3c6a461..b2b9894 100644 --- a/assets/sprites/Escenario/Assets Finales2.png.import +++ b/assets/sprites/Escenario/Assets Finales2.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bdba17jbce8ws" +uid="uid://d2ep6cxoqcoi3" path="res://.godot/imported/Assets Finales2.png-52d24d68fd56c922cb9d5195d765d1ed.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Escenario/Assets Grandes.png.import b/assets/sprites/Escenario/Assets Grandes.png.import index f6b11eb..d5ce64d 100644 --- a/assets/sprites/Escenario/Assets Grandes.png.import +++ b/assets/sprites/Escenario/Assets Grandes.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://dcnctovgntlre" +uid="uid://cvbdrntkq2hv2" path="res://.godot/imported/Assets Grandes.png-2a3124a6fffba4e30623f828527aaa4b.ctex" metadata={ "vram_texture": false diff --git "a/assets/sprites/Escenario/Assets sofa-ba\303\261era.png.import" "b/assets/sprites/Escenario/Assets sofa-ba\303\261era.png.import" index 9eebb02..ee14f92 100644 --- "a/assets/sprites/Escenario/Assets sofa-ba\303\261era.png.import" +++ "b/assets/sprites/Escenario/Assets sofa-ba\303\261era.png.import" @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://cd5smn5iwhu0l" +uid="uid://c4nu46h5k632n" path="res://.godot/imported/Assets sofa-bañera.png-0f3fe9fed4ffdbe93f42ef6108b1e85f.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Escenario/DNI.ase b/assets/sprites/Escenario/DNI.ase new file mode 100644 index 0000000..69e4bd5 Binary files /dev/null and b/assets/sprites/Escenario/DNI.ase differ diff --git a/assets/sprites/Escenario/DNI.png b/assets/sprites/Escenario/DNI.png new file mode 100644 index 0000000..0245523 Binary files /dev/null and b/assets/sprites/Escenario/DNI.png differ diff --git a/assets/sprites/Escenario/DNI.png.import b/assets/sprites/Escenario/DNI.png.import new file mode 100644 index 0000000..7450af9 --- /dev/null +++ b/assets/sprites/Escenario/DNI.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://gooxn4dokx0y" +path="res://.godot/imported/DNI.png-8f9972cda97c5eeaf7d74171207f1737.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Escenario/DNI.png" +dest_files=["res://.godot/imported/DNI.png-8f9972cda97c5eeaf7d74171207f1737.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/assets/sprites/Escenario/LETRAS_MENU (1).ase b/assets/sprites/Escenario/LETRAS_MENU (1).ase new file mode 100644 index 0000000..e3821d0 Binary files /dev/null and b/assets/sprites/Escenario/LETRAS_MENU (1).ase differ diff --git a/assets/sprites/Escenario/TV Animation.png b/assets/sprites/Escenario/TV Animation.png new file mode 100644 index 0000000..d6c5f36 Binary files /dev/null and b/assets/sprites/Escenario/TV Animation.png differ diff --git a/assets/sprites/Escenario/TV Animation.png.import b/assets/sprites/Escenario/TV Animation.png.import new file mode 100644 index 0000000..2c15f38 --- /dev/null +++ b/assets/sprites/Escenario/TV Animation.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d1q5a31u7l85b" +path="res://.godot/imported/TV Animation.png-947e131c399e444bfc4d17d381e9c4f9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Escenario/TV Animation.png" +dest_files=["res://.godot/imported/TV Animation.png-947e131c399e444bfc4d17d381e9c4f9.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/assets/sprites/Escenario/Tileset.png b/assets/sprites/Escenario/Tileset.png index 6e55371..114e245 100644 Binary files a/assets/sprites/Escenario/Tileset.png and b/assets/sprites/Escenario/Tileset.png differ diff --git a/assets/sprites/Escenario/Tileset.png.import b/assets/sprites/Escenario/Tileset.png.import index 0c16340..959502b 100644 --- a/assets/sprites/Escenario/Tileset.png.import +++ b/assets/sprites/Escenario/Tileset.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://dcdph4436g11n" +uid="uid://buei4x432v4a2" path="res://.godot/imported/Tileset.png-f7e66342ecb66a50a834ac743723b904.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Menu/TELE_MENU.gif b/assets/sprites/Menu/TELE_MENU.gif new file mode 100644 index 0000000..d4d549c Binary files /dev/null and b/assets/sprites/Menu/TELE_MENU.gif differ diff --git a/assets/sprites/Menu/TELE_MENU.png b/assets/sprites/Menu/TELE_MENU.png new file mode 100644 index 0000000..525e497 Binary files /dev/null and b/assets/sprites/Menu/TELE_MENU.png differ diff --git a/assets/sprites/Menu/TELE_MENU.png.import b/assets/sprites/Menu/TELE_MENU.png.import new file mode 100644 index 0000000..3bd2ac6 --- /dev/null +++ b/assets/sprites/Menu/TELE_MENU.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://gnhkj2j64dxu" +path="res://.godot/imported/TELE_MENU.png-61cd0a8ebcda3c416358b414c5dff829.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Menu/TELE_MENU.png" +dest_files=["res://.godot/imported/TELE_MENU.png-61cd0a8ebcda3c416358b414c5dff829.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/assets/sprites/Player/Player_idle_32x64.png.import b/assets/sprites/Player/Player_idle_32x64.png.import index 4ef31d0..52b5f4f 100644 --- a/assets/sprites/Player/Player_idle_32x64.png.import +++ b/assets/sprites/Player/Player_idle_32x64.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://b2f7alr7sbmtn" +uid="uid://b0tqhg3dkcv0" path="res://.godot/imported/Player_idle_32x64.png-a86d7a7e981c113023c9000cf2bda15f.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Player/mano.png.import b/assets/sprites/Player/mano.png.import index 0a2930d..2dad001 100644 --- a/assets/sprites/Player/mano.png.import +++ b/assets/sprites/Player/mano.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://blreicukfol5f" +uid="uid://dqcce8bumubgx" path="res://.godot/imported/mano.png-08d8218aaebf5641befe3a7249e5dac2.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Player/ojo.png.import b/assets/sprites/Player/ojo.png.import index 9823404..871074b 100644 --- a/assets/sprites/Player/ojo.png.import +++ b/assets/sprites/Player/ojo.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://b3qik5j6dfvpj" +uid="uid://bygl47t1n0umj" path="res://.godot/imported/ojo.png-ecabe095abd47da67c6fac5b5c8359dc.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Player/player-32-64-back-walk.png b/assets/sprites/Player/player-32-64-back-walk.png new file mode 100644 index 0000000..2695bfd Binary files /dev/null and b/assets/sprites/Player/player-32-64-back-walk.png differ diff --git a/assets/sprites/Player/player-32-64-back-walk.png.import b/assets/sprites/Player/player-32-64-back-walk.png.import new file mode 100644 index 0000000..c2d4dab --- /dev/null +++ b/assets/sprites/Player/player-32-64-back-walk.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dglmitv2urhpu" +path="res://.godot/imported/player-32-64-back-walk.png-267f14b6f2019b77d4bc8f952e2f2929.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Player/player-32-64-back-walk.png" +dest_files=["res://.godot/imported/player-32-64-back-walk.png-267f14b6f2019b77d4bc8f952e2f2929.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/assets/sprites/Player/player-32-64-front-walk.png.import b/assets/sprites/Player/player-32-64-front-walk.png.import index 5d575ed..2528851 100644 --- a/assets/sprites/Player/player-32-64-front-walk.png.import +++ b/assets/sprites/Player/player-32-64-front-walk.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://cl7gbx7qj5o30" +uid="uid://dxxare8e3snos" path="res://.godot/imported/player-32-64-front-walk.png-5b35d2320b85f97ccdef1e55d31aa2dd.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Player/player-32-64-walkt.png.import b/assets/sprites/Player/player-32-64-walkt.png.import index 8dba1a2..446aa03 100644 --- a/assets/sprites/Player/player-32-64-walkt.png.import +++ b/assets/sprites/Player/player-32-64-walkt.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://coa3tfy438itv" +uid="uid://doa7uidna0agy" path="res://.godot/imported/player-32-64-walkt.png-6120d93f758b894b0da0346032c4aa55.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Player/player_idle_up.png b/assets/sprites/Player/player_idle_up.png new file mode 100644 index 0000000..c464028 Binary files /dev/null and b/assets/sprites/Player/player_idle_up.png differ diff --git a/assets/sprites/Player/player_idle_up.png.import b/assets/sprites/Player/player_idle_up.png.import new file mode 100644 index 0000000..9d929ef --- /dev/null +++ b/assets/sprites/Player/player_idle_up.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dquc683bj426q" +path="res://.godot/imported/player_idle_up.png-91c2cc50e312fec2d61dab72bd0efc2c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Player/player_idle_up.png" +dest_files=["res://.godot/imported/player_idle_up.png-91c2cc50e312fec2d61dab72bd0efc2c.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/assets/sprites/Player/player_move_mario.png.import b/assets/sprites/Player/player_move_mario.png.import index 7e8a354..1d8c691 100644 --- a/assets/sprites/Player/player_move_mario.png.import +++ b/assets/sprites/Player/player_move_mario.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bv4ekq7dxah6a" +uid="uid://cskwbtllnswoo" path="res://.godot/imported/player_move_mario.png-3edc5af7d15baf37b637146f10295507.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/Puzle1-llave/llave-puzle-1.png.import b/assets/sprites/Puzles/Puzle1-llave/llave-puzle-1.png.import index a1f0ff9..37410ff 100644 --- a/assets/sprites/Puzles/Puzle1-llave/llave-puzle-1.png.import +++ b/assets/sprites/Puzles/Puzle1-llave/llave-puzle-1.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bp41vka7ixgl7" +uid="uid://ddck81tv1f2b4" path="res://.godot/imported/llave-puzle-1.png-ee2ab740bb11dc3c7f95950660f135c9.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/caja fuerte/0.png b/assets/sprites/Puzles/caja fuerte/0.png new file mode 100644 index 0000000..add6e86 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/0.png differ diff --git a/assets/sprites/Puzles/caja fuerte/0.png.import b/assets/sprites/Puzles/caja fuerte/0.png.import new file mode 100644 index 0000000..13efc9e --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/0.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://djn2nrodw742b" +path="res://.godot/imported/0.png-6c817ba3fab91cdaecee67f633f579cf.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/0.png" +dest_files=["res://.godot/imported/0.png-6c817ba3fab91cdaecee67f633f579cf.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/assets/sprites/Puzles/caja fuerte/1.png b/assets/sprites/Puzles/caja fuerte/1.png new file mode 100644 index 0000000..5e1043b Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/1.png differ diff --git a/assets/sprites/Puzles/caja fuerte/1.png.import b/assets/sprites/Puzles/caja fuerte/1.png.import new file mode 100644 index 0000000..2712f5d --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dvoqj3xo30q3p" +path="res://.godot/imported/1.png-10a5941f11497f7c5b98f02b6abecd95.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/1.png" +dest_files=["res://.godot/imported/1.png-10a5941f11497f7c5b98f02b6abecd95.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/assets/sprites/Puzles/caja fuerte/2.png b/assets/sprites/Puzles/caja fuerte/2.png new file mode 100644 index 0000000..d69e6f3 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/2.png differ diff --git a/assets/sprites/Puzles/caja fuerte/2.png.import b/assets/sprites/Puzles/caja fuerte/2.png.import new file mode 100644 index 0000000..5cb1ddd --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://yhxxy21n8ol4" +path="res://.godot/imported/2.png-881fbc451ccf79ec751828deb7082126.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/2.png" +dest_files=["res://.godot/imported/2.png-881fbc451ccf79ec751828deb7082126.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/assets/sprites/Puzles/caja fuerte/3.png b/assets/sprites/Puzles/caja fuerte/3.png new file mode 100644 index 0000000..594c321 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/3.png differ diff --git a/assets/sprites/Puzles/caja fuerte/3.png.import b/assets/sprites/Puzles/caja fuerte/3.png.import new file mode 100644 index 0000000..019d838 --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/3.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cn0uf15q4x7sx" +path="res://.godot/imported/3.png-13dfaa9fdf1c7ade75ea2bda734ffa47.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/3.png" +dest_files=["res://.godot/imported/3.png-13dfaa9fdf1c7ade75ea2bda734ffa47.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/assets/sprites/Puzles/caja fuerte/4.png b/assets/sprites/Puzles/caja fuerte/4.png new file mode 100644 index 0000000..781e2e7 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/4.png differ diff --git a/assets/sprites/Puzles/caja fuerte/4.png.import b/assets/sprites/Puzles/caja fuerte/4.png.import new file mode 100644 index 0000000..95ff43a --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/4.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b0cbw7u7yib8i" +path="res://.godot/imported/4.png-62a947ba61366a97b9d318a6c1b0e8e6.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/4.png" +dest_files=["res://.godot/imported/4.png-62a947ba61366a97b9d318a6c1b0e8e6.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/assets/sprites/Puzles/caja fuerte/5.png b/assets/sprites/Puzles/caja fuerte/5.png new file mode 100644 index 0000000..4f9038a Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/5.png differ diff --git a/assets/sprites/Puzles/caja fuerte/5.png.import b/assets/sprites/Puzles/caja fuerte/5.png.import new file mode 100644 index 0000000..f0eb1bd --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/5.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c3svm87clv1pt" +path="res://.godot/imported/5.png-7c129d0631fde8954da5a11acfc27b37.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/5.png" +dest_files=["res://.godot/imported/5.png-7c129d0631fde8954da5a11acfc27b37.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/assets/sprites/Puzles/caja fuerte/6.png b/assets/sprites/Puzles/caja fuerte/6.png new file mode 100644 index 0000000..363152f Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/6.png differ diff --git a/assets/sprites/Puzles/caja fuerte/6.png.import b/assets/sprites/Puzles/caja fuerte/6.png.import new file mode 100644 index 0000000..3ad354a --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/6.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dyeo1pcegame8" +path="res://.godot/imported/6.png-bc5d1dcaf4f7b6c245e9c9f546be1945.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/6.png" +dest_files=["res://.godot/imported/6.png-bc5d1dcaf4f7b6c245e9c9f546be1945.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/assets/sprites/Puzles/caja fuerte/7.png b/assets/sprites/Puzles/caja fuerte/7.png new file mode 100644 index 0000000..d5953d6 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/7.png differ diff --git a/assets/sprites/Puzles/caja fuerte/7.png.import b/assets/sprites/Puzles/caja fuerte/7.png.import new file mode 100644 index 0000000..e3eaea7 --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/7.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://0x31jcilx2wt" +path="res://.godot/imported/7.png-bf60dd3144409ae50a4229f63468c778.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/7.png" +dest_files=["res://.godot/imported/7.png-bf60dd3144409ae50a4229f63468c778.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/assets/sprites/Puzles/caja fuerte/8.png b/assets/sprites/Puzles/caja fuerte/8.png new file mode 100644 index 0000000..e45accc Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/8.png differ diff --git a/assets/sprites/Puzles/caja fuerte/8.png.import b/assets/sprites/Puzles/caja fuerte/8.png.import new file mode 100644 index 0000000..d28adad --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/8.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bnekf1imch2ad" +path="res://.godot/imported/8.png-7bb1193c277df759374c80d9de173548.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/8.png" +dest_files=["res://.godot/imported/8.png-7bb1193c277df759374c80d9de173548.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/assets/sprites/Puzles/caja fuerte/9.png b/assets/sprites/Puzles/caja fuerte/9.png new file mode 100644 index 0000000..c121c76 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/9.png differ diff --git a/assets/sprites/Puzles/caja fuerte/9.png.import b/assets/sprites/Puzles/caja fuerte/9.png.import new file mode 100644 index 0000000..7a61f15 --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/9.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cvdfcghob2tf8" +path="res://.godot/imported/9.png-26a017a3fefc303136919377ff3e5c1d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/9.png" +dest_files=["res://.godot/imported/9.png-26a017a3fefc303136919377ff3e5c1d.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/assets/sprites/Puzles/caja fuerte/borrar.png b/assets/sprites/Puzles/caja fuerte/borrar.png new file mode 100644 index 0000000..0c24697 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/borrar.png differ diff --git a/assets/sprites/Puzles/caja fuerte/borrar.png.import b/assets/sprites/Puzles/caja fuerte/borrar.png.import new file mode 100644 index 0000000..506280b --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/borrar.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://colnrs6j4nrak" +path="res://.godot/imported/borrar.png-c0547d16a962d53c3368eb43e0c2407c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/borrar.png" +dest_files=["res://.godot/imported/borrar.png-c0547d16a962d53c3368eb43e0c2407c.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/assets/sprites/Puzles/caja fuerte/caja_fuerte.png b/assets/sprites/Puzles/caja fuerte/caja_fuerte.png new file mode 100644 index 0000000..67e0f97 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/caja_fuerte.png differ diff --git a/assets/sprites/Puzles/caja fuerte/caja_fuerte.png.import b/assets/sprites/Puzles/caja fuerte/caja_fuerte.png.import new file mode 100644 index 0000000..bad829c --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/caja_fuerte.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c0f4w82r8i16a" +path="res://.godot/imported/caja_fuerte.png-8ab6cd3cbf5350600228188540f5fb4c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/caja_fuerte.png" +dest_files=["res://.godot/imported/caja_fuerte.png-8ab6cd3cbf5350600228188540f5fb4c.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/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta.ase b/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta.ase new file mode 100644 index 0000000..0501e30 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta.ase differ diff --git a/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta.png b/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta.png new file mode 100644 index 0000000..69549db Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta.png differ diff --git a/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta.png.import b/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta.png.import new file mode 100644 index 0000000..cf3b0ad --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b7otmavrlv3af" +path="res://.godot/imported/caja_fuerte_abierta.png-aa6f17aa14157c7597613491ce471023.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta.png" +dest_files=["res://.godot/imported/caja_fuerte_abierta.png-aa6f17aa14157c7597613491ce471023.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/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta_sin_nada.ase b/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta_sin_nada.ase new file mode 100644 index 0000000..08c14f6 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta_sin_nada.ase differ diff --git a/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta_sin_nada.png b/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta_sin_nada.png new file mode 100644 index 0000000..95515f3 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta_sin_nada.png differ diff --git a/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta_sin_nada.png.import b/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta_sin_nada.png.import new file mode 100644 index 0000000..4c8d272 --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta_sin_nada.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://m46joef1s360" +path="res://.godot/imported/caja_fuerte_abierta_sin_nada.png-b57959fd2171a62251c31a21ef7392b4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta_sin_nada.png" +dest_files=["res://.godot/imported/caja_fuerte_abierta_sin_nada.png-b57959fd2171a62251c31a21ef7392b4.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/assets/sprites/Puzles/caja fuerte/caja_fuerte_cerrada.png b/assets/sprites/Puzles/caja fuerte/caja_fuerte_cerrada.png new file mode 100644 index 0000000..67e0f97 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/caja_fuerte_cerrada.png differ diff --git a/assets/sprites/Puzles/caja fuerte/caja_fuerte_cerrada.png.import b/assets/sprites/Puzles/caja fuerte/caja_fuerte_cerrada.png.import new file mode 100644 index 0000000..584feab --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/caja_fuerte_cerrada.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://byu2ni5y24ql2" +path="res://.godot/imported/caja_fuerte_cerrada.png-a9dd7b0270ec830d76d3729195da1478.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/caja_fuerte_cerrada.png" +dest_files=["res://.godot/imported/caja_fuerte_cerrada.png-a9dd7b0270ec830d76d3729195da1478.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/assets/sprites/Puzles/caja fuerte/enter.png b/assets/sprites/Puzles/caja fuerte/enter.png new file mode 100644 index 0000000..2d79ca5 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/enter.png differ diff --git a/assets/sprites/Puzles/caja fuerte/enter.png.import b/assets/sprites/Puzles/caja fuerte/enter.png.import new file mode 100644 index 0000000..b23e702 --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/enter.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://xv7ayq4ghika" +path="res://.godot/imported/enter.png-c5e59b5b738640c99d59aa393e59c7d0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/enter.png" +dest_files=["res://.godot/imported/enter.png-c5e59b5b738640c99d59aa393e59c7d0.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/assets/sprites/Puzles/caja fuerte/mesa_dni.png b/assets/sprites/Puzles/caja fuerte/mesa_dni.png new file mode 100644 index 0000000..9513bd3 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/mesa_dni.png differ diff --git a/assets/sprites/Puzles/caja fuerte/mesa_dni.png.import b/assets/sprites/Puzles/caja fuerte/mesa_dni.png.import new file mode 100644 index 0000000..270785c --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/mesa_dni.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cdfob1jsulwxk" +path="res://.godot/imported/mesa_dni.png-fe1b742d7291089e99c2fbe614a28108.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/mesa_dni.png" +dest_files=["res://.godot/imported/mesa_dni.png-fe1b742d7291089e99c2fbe614a28108.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/assets/sprites/Puzles/caja fuerte/pistola_dinero.png b/assets/sprites/Puzles/caja fuerte/pistola_dinero.png new file mode 100644 index 0000000..61b27cc Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/pistola_dinero.png differ diff --git a/assets/sprites/Puzles/caja fuerte/pistola_dinero.png.import b/assets/sprites/Puzles/caja fuerte/pistola_dinero.png.import new file mode 100644 index 0000000..fc2328e --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/pistola_dinero.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://v4dpneacccuk" +path="res://.godot/imported/pistola_dinero.png-257cb097caae539a394a38cafc563ec0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/pistola_dinero.png" +dest_files=["res://.godot/imported/pistola_dinero.png-257cb097caae539a394a38cafc563ec0.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/assets/sprites/Puzles/caja fuerte/post-it.png b/assets/sprites/Puzles/caja fuerte/post-it.png new file mode 100644 index 0000000..22a1431 Binary files /dev/null and b/assets/sprites/Puzles/caja fuerte/post-it.png differ diff --git a/assets/sprites/Puzles/caja fuerte/post-it.png.import b/assets/sprites/Puzles/caja fuerte/post-it.png.import new file mode 100644 index 0000000..9dbf305 --- /dev/null +++ b/assets/sprites/Puzles/caja fuerte/post-it.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dsj68vi0r4vvt" +path="res://.godot/imported/post-it.png-0c19e14c0b83bff89247641f99412dbe.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/caja fuerte/post-it.png" +dest_files=["res://.godot/imported/post-it.png-0c19e14c0b83bff89247641f99412dbe.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/assets/sprites/Puzles/destornillador.png b/assets/sprites/Puzles/destornillador.png new file mode 100644 index 0000000..b9eb4b2 Binary files /dev/null and b/assets/sprites/Puzles/destornillador.png differ diff --git a/assets/sprites/Puzles/destornillador.png.import b/assets/sprites/Puzles/destornillador.png.import new file mode 100644 index 0000000..b8b839b --- /dev/null +++ b/assets/sprites/Puzles/destornillador.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bavsowsg54hvg" +path="res://.godot/imported/destornillador.png-52f84025bceea299f356b1532bb44282.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/destornillador.png" +dest_files=["res://.godot/imported/destornillador.png-52f84025bceea299f356b1532bb44282.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/assets/sprites/Puzles/puzle2-rejilla/pastillas64x64.png.import b/assets/sprites/Puzles/puzle2-rejilla/pastillas64x64.png.import index f7279f1..71169dd 100644 --- a/assets/sprites/Puzles/puzle2-rejilla/pastillas64x64.png.import +++ b/assets/sprites/Puzles/puzle2-rejilla/pastillas64x64.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://wsmxq818fu0a" +uid="uid://dgxe0ans3vsxh" path="res://.godot/imported/pastillas64x64.png-a0b740f402ccb94163a08f264c81a626.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle2-rejilla/rejilla-con-todo.png.import b/assets/sprites/Puzles/puzle2-rejilla/rejilla-con-todo.png.import index 157e5ca..eb3a380 100644 --- a/assets/sprites/Puzles/puzle2-rejilla/rejilla-con-todo.png.import +++ b/assets/sprites/Puzles/puzle2-rejilla/rejilla-con-todo.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://ccej0gscwb6k5" +uid="uid://dk46m7vuowm2q" path="res://.godot/imported/rejilla-con-todo.png-78e1c749c65026683315ffc73414cf93.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle2-rejilla/rejilla-sin-pastis.png.import b/assets/sprites/Puzles/puzle2-rejilla/rejilla-sin-pastis.png.import index 68e232d..2aa8efc 100644 --- a/assets/sprites/Puzles/puzle2-rejilla/rejilla-sin-pastis.png.import +++ b/assets/sprites/Puzles/puzle2-rejilla/rejilla-sin-pastis.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://b6fseset7f8le" +uid="uid://bckl6lgjdgmb1" path="res://.godot/imported/rejilla-sin-pastis.png-b1dd03e67ca32a7c87d30ccf6830ea78.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle2-rejilla/rejilla-sin-rejilla.png.import b/assets/sprites/Puzles/puzle2-rejilla/rejilla-sin-rejilla.png.import index d7379be..81ba2c5 100644 --- a/assets/sprites/Puzles/puzle2-rejilla/rejilla-sin-rejilla.png.import +++ b/assets/sprites/Puzles/puzle2-rejilla/rejilla-sin-rejilla.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://cgy6680t7ec4a" +uid="uid://ernb6hj7afwd" path="res://.godot/imported/rejilla-sin-rejilla.png-a5e507dac00d7c75b0fd4f4d0a67115a.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle2-rejilla/rejilla-sin-tornillos.png.import b/assets/sprites/Puzles/puzle2-rejilla/rejilla-sin-tornillos.png.import index 54d0597..0e61138 100644 --- a/assets/sprites/Puzles/puzle2-rejilla/rejilla-sin-tornillos.png.import +++ b/assets/sprites/Puzles/puzle2-rejilla/rejilla-sin-tornillos.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bwlhjrduqjm57" +uid="uid://bdgfq0jd382ni" path="res://.godot/imported/rejilla-sin-tornillos.png-e758faa26395dededde22fe876e8e9b0.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle2-rejilla/tornillo-derecha.png.import b/assets/sprites/Puzles/puzle2-rejilla/tornillo-derecha.png.import index 4a79904..e48972f 100644 --- a/assets/sprites/Puzles/puzle2-rejilla/tornillo-derecha.png.import +++ b/assets/sprites/Puzles/puzle2-rejilla/tornillo-derecha.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://dwyis0bvembc0" +uid="uid://dgx8pxw64fxno" path="res://.godot/imported/tornillo-derecha.png-7ae5220e0146fa3c709f548f734f3622.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle2-rejilla/tornillo-izquierda.png.import b/assets/sprites/Puzles/puzle2-rejilla/tornillo-izquierda.png.import index 33973f5..cbb8f5f 100644 --- a/assets/sprites/Puzles/puzle2-rejilla/tornillo-izquierda.png.import +++ b/assets/sprites/Puzles/puzle2-rejilla/tornillo-izquierda.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://dohj0kbnoqrc1" +uid="uid://c1kemxf7hr6y6" path="res://.godot/imported/tornillo-izquierda.png-32e8ede214c53c89140495f377ebe3b9.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle2-rejilla/tornillo.png b/assets/sprites/Puzles/puzle2-rejilla/tornillo.png new file mode 100644 index 0000000..90250e8 Binary files /dev/null and b/assets/sprites/Puzles/puzle2-rejilla/tornillo.png differ diff --git a/assets/sprites/Puzles/puzle2-rejilla/tornillo.png.import b/assets/sprites/Puzles/puzle2-rejilla/tornillo.png.import new file mode 100644 index 0000000..6b9bd1c --- /dev/null +++ b/assets/sprites/Puzles/puzle2-rejilla/tornillo.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dfejfq3crqtmb" +path="res://.godot/imported/tornillo.png-88fa4cc463914a53672bf27ea59d9d62.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/puzle2-rejilla/tornillo.png" +dest_files=["res://.godot/imported/tornillo.png-88fa4cc463914a53672bf27ea59d9d62.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/assets/sprites/Puzles/puzle3-foto/foto_personajes.png.import b/assets/sprites/Puzles/puzle3-foto/foto_personajes.png.import index 60c6643..4ea06aa 100644 --- a/assets/sprites/Puzles/puzle3-foto/foto_personajes.png.import +++ b/assets/sprites/Puzles/puzle3-foto/foto_personajes.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://do6sfxy4vtyq7" +uid="uid://euyv3jdolcgt" path="res://.godot/imported/foto_personajes.png-7c1844e8b897e142d6f257aebaf2d80a.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle4_fotos/foto_encimera_240x135.png.import b/assets/sprites/Puzles/puzle4_fotos/foto_encimera_240x135.png.import index 340f897..e3111a6 100644 --- a/assets/sprites/Puzles/puzle4_fotos/foto_encimera_240x135.png.import +++ b/assets/sprites/Puzles/puzle4_fotos/foto_encimera_240x135.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://dufeb08spr7p4" +uid="uid://cvwcnqidyj5wp" path="res://.godot/imported/foto_encimera_240x135.png-a8b7ef1dbec8437952419eebe06d37a4.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle4_fotos/foto_encimera_sinfoto_240x135.png.import b/assets/sprites/Puzles/puzle4_fotos/foto_encimera_sinfoto_240x135.png.import index 757378a..f916490 100644 --- a/assets/sprites/Puzles/puzle4_fotos/foto_encimera_sinfoto_240x135.png.import +++ b/assets/sprites/Puzles/puzle4_fotos/foto_encimera_sinfoto_240x135.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://cfl1pn8r0pvi4" +uid="uid://48rg4bsa0kt0" path="res://.godot/imported/foto_encimera_sinfoto_240x135.png-21f30b60d48d1a1393f2e005b247e24a.ctex" metadata={ "vram_texture": false diff --git "a/assets/sprites/Puzles/puzle4_fotos/foto_fran_peque\303\261o.png.import" "b/assets/sprites/Puzles/puzle4_fotos/foto_fran_peque\303\261o.png.import" index 0a4186a..46867d6 100644 --- "a/assets/sprites/Puzles/puzle4_fotos/foto_fran_peque\303\261o.png.import" +++ "b/assets/sprites/Puzles/puzle4_fotos/foto_fran_peque\303\261o.png.import" @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://ckga1agc6m4ym" +uid="uid://dlkbme67kle6o" path="res://.godot/imported/foto_fran_pequeño.png-e850f502806d35124d2ac6e3897318a6.ctex" metadata={ "vram_texture": false diff --git "a/assets/sprites/Puzles/puzle4_fotos/foto_mario_peque\303\261o.png.import" "b/assets/sprites/Puzles/puzle4_fotos/foto_mario_peque\303\261o.png.import" index 24d9b03..2cf528c 100644 --- "a/assets/sprites/Puzles/puzle4_fotos/foto_mario_peque\303\261o.png.import" +++ "b/assets/sprites/Puzles/puzle4_fotos/foto_mario_peque\303\261o.png.import" @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://cx4hn0wmg2toj" +uid="uid://cssgd503h6jni" path="res://.godot/imported/foto_mario_pequeño.png-d5e895a08f3c59a49b375c614db32488.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle4_fotos/foto_personajes_disuminada_completar.png.import b/assets/sprites/Puzles/puzle4_fotos/foto_personajes_disuminada_completar.png.import index 9a3e6b8..dfd7ae7 100644 --- a/assets/sprites/Puzles/puzle4_fotos/foto_personajes_disuminada_completar.png.import +++ b/assets/sprites/Puzles/puzle4_fotos/foto_personajes_disuminada_completar.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://f0uhgv7faruq" +uid="uid://mkd2tjfdt5nn" path="res://.godot/imported/foto_personajes_disuminada_completar.png-64bf4e202a2dda16f95fbcf041fec644.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle4_fotos/foto_personajes_disuminada_francesco.png.import b/assets/sprites/Puzles/puzle4_fotos/foto_personajes_disuminada_francesco.png.import index b563e9d..3fc8baf 100644 --- a/assets/sprites/Puzles/puzle4_fotos/foto_personajes_disuminada_francesco.png.import +++ b/assets/sprites/Puzles/puzle4_fotos/foto_personajes_disuminada_francesco.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://b1vbcmg43ix36" +uid="uid://daaqjjh4rgoer" path="res://.godot/imported/foto_personajes_disuminada_francesco.png-331bf61064454b7e6bb666dea4cf8857.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle4_fotos/foto_personajes_disuminada_mario.png.import b/assets/sprites/Puzles/puzle4_fotos/foto_personajes_disuminada_mario.png.import index d84cd0c..f6d28e4 100644 --- a/assets/sprites/Puzles/puzle4_fotos/foto_personajes_disuminada_mario.png.import +++ b/assets/sprites/Puzles/puzle4_fotos/foto_personajes_disuminada_mario.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bdifecjg0ile8" +uid="uid://dydxn1wu8a62u" path="res://.godot/imported/foto_personajes_disuminada_mario.png-2f1e7f6dcea92020752dca4a5ed2184c.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle4_fotos/foto_rota.png.import b/assets/sprites/Puzles/puzle4_fotos/foto_rota.png.import index 25a6dbb..060b483 100644 --- a/assets/sprites/Puzles/puzle4_fotos/foto_rota.png.import +++ b/assets/sprites/Puzles/puzle4_fotos/foto_rota.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://d0iheal81j0cr" +uid="uid://dxadarrxnnd10" path="res://.godot/imported/foto_rota.png-63621a79b53f9aeb95bcb899ba2f0697.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle4_fotos/foto_rota_trasera.png.import b/assets/sprites/Puzles/puzle4_fotos/foto_rota_trasera.png.import index 24f5bf9..001da03 100644 --- a/assets/sprites/Puzles/puzle4_fotos/foto_rota_trasera.png.import +++ b/assets/sprites/Puzles/puzle4_fotos/foto_rota_trasera.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://ck8chantv8s4e" +uid="uid://brbcsir8t2aeu" path="res://.godot/imported/foto_rota_trasera.png-62735ef0f40dad8e2d209ee00c5c2b68.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle4_fotos/fotos_estanterias_240x135.png.import b/assets/sprites/Puzles/puzle4_fotos/fotos_estanterias_240x135.png.import index 0f6c818..c6f3332 100644 --- a/assets/sprites/Puzles/puzle4_fotos/fotos_estanterias_240x135.png.import +++ b/assets/sprites/Puzles/puzle4_fotos/fotos_estanterias_240x135.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://pj65hci8gy3s" +uid="uid://x0qiakbruusr" path="res://.godot/imported/fotos_estanterias_240x135.png-fb5056c4749953b8b6a9cff55c555dbd.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle4_fotos/fotos_estanterias_vacia_240x135.png.import b/assets/sprites/Puzles/puzle4_fotos/fotos_estanterias_vacia_240x135.png.import index 23384db..87239f1 100644 --- a/assets/sprites/Puzles/puzle4_fotos/fotos_estanterias_vacia_240x135.png.import +++ b/assets/sprites/Puzles/puzle4_fotos/fotos_estanterias_vacia_240x135.png.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bpsh6qyhxu3p5" +uid="uid://deydup4oa6ss1" path="res://.godot/imported/fotos_estanterias_vacia_240x135.png-ab537703b10716d7d712f17e2340640c.ctex" metadata={ "vram_texture": false diff --git a/assets/sprites/Puzles/puzle_atraco.png b/assets/sprites/Puzles/puzle4_fotos/puzle_atraco.png similarity index 100% rename from assets/sprites/Puzles/puzle_atraco.png rename to assets/sprites/Puzles/puzle4_fotos/puzle_atraco.png diff --git a/assets/sprites/Puzles/puzle4_fotos/puzle_atraco.png.import b/assets/sprites/Puzles/puzle4_fotos/puzle_atraco.png.import new file mode 100644 index 0000000..e5526c7 --- /dev/null +++ b/assets/sprites/Puzles/puzle4_fotos/puzle_atraco.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dcyd5v3xqqtrq" +path="res://.godot/imported/puzle_atraco.png-8938b6b957a48d3511cfd88bae8d640e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/puzle4_fotos/puzle_atraco.png" +dest_files=["res://.godot/imported/puzle_atraco.png-8938b6b957a48d3511cfd88bae8d640e.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/assets/sprites/Puzles/puzle4_fotos/puzle_atraco_roto.png b/assets/sprites/Puzles/puzle4_fotos/puzle_atraco_roto.png new file mode 100644 index 0000000..08012b1 Binary files /dev/null and b/assets/sprites/Puzles/puzle4_fotos/puzle_atraco_roto.png differ diff --git a/assets/sprites/Puzles/puzle4_fotos/puzle_atraco_roto.png.import b/assets/sprites/Puzles/puzle4_fotos/puzle_atraco_roto.png.import new file mode 100644 index 0000000..6b19de7 --- /dev/null +++ b/assets/sprites/Puzles/puzle4_fotos/puzle_atraco_roto.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bv0xuromu464o" +path="res://.godot/imported/puzle_atraco_roto.png-bac0f0d5b76a5618dcbdb1faa64c7abc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/puzle4_fotos/puzle_atraco_roto.png" +dest_files=["res://.godot/imported/puzle_atraco_roto.png-bac0f0d5b76a5618dcbdb1faa64c7abc.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/assets/sprites/Puzles/puzle_atraco/Marcador.png b/assets/sprites/Puzles/puzle_atraco/Marcador.png new file mode 100644 index 0000000..d657713 Binary files /dev/null and b/assets/sprites/Puzles/puzle_atraco/Marcador.png differ diff --git a/assets/sprites/Puzles/puzle_atraco/Marcador.png.import b/assets/sprites/Puzles/puzle_atraco/Marcador.png.import new file mode 100644 index 0000000..ee7edd1 --- /dev/null +++ b/assets/sprites/Puzles/puzle_atraco/Marcador.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://oe3gw6tfky7p" +path="res://.godot/imported/Marcador.png-f9b715837f8e0881938420575a5b443f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/puzle_atraco/Marcador.png" +dest_files=["res://.godot/imported/Marcador.png-f9b715837f8e0881938420575a5b443f.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/assets/sprites/Puzles/puzle_atraco/mesa.png b/assets/sprites/Puzles/puzle_atraco/mesa.png new file mode 100644 index 0000000..062dd2c Binary files /dev/null and b/assets/sprites/Puzles/puzle_atraco/mesa.png differ diff --git a/assets/sprites/Puzles/puzle_atraco/mesa.png.import b/assets/sprites/Puzles/puzle_atraco/mesa.png.import new file mode 100644 index 0000000..98dadb8 --- /dev/null +++ b/assets/sprites/Puzles/puzle_atraco/mesa.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://py3fg01ncaem" +path="res://.godot/imported/mesa.png-c5aca2e504446e1dc56ae38564e80dc3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/puzle_atraco/mesa.png" +dest_files=["res://.godot/imported/mesa.png-c5aca2e504446e1dc56ae38564e80dc3.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/assets/sprites/Puzles/puzle_atraco/puzle_atraco.png b/assets/sprites/Puzles/puzle_atraco/puzle_atraco.png new file mode 100644 index 0000000..79469d4 Binary files /dev/null and b/assets/sprites/Puzles/puzle_atraco/puzle_atraco.png differ diff --git a/assets/sprites/Puzles/puzle_atraco.png.import b/assets/sprites/Puzles/puzle_atraco/puzle_atraco.png.import similarity index 69% rename from assets/sprites/Puzles/puzle_atraco.png.import rename to assets/sprites/Puzles/puzle_atraco/puzle_atraco.png.import index 71c2822..009316e 100644 --- a/assets/sprites/Puzles/puzle_atraco.png.import +++ b/assets/sprites/Puzles/puzle_atraco/puzle_atraco.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://h1b7pw0p6t71" -path="res://.godot/imported/puzle_atraco.png-4d2b8c24882dc8f910bb0ef985f417e3.ctex" +path="res://.godot/imported/puzle_atraco.png-f1232fa89845247955f28288831a9079.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/sprites/Puzles/puzle_atraco.png" -dest_files=["res://.godot/imported/puzle_atraco.png-4d2b8c24882dc8f910bb0ef985f417e3.ctex"] +source_file="res://assets/sprites/Puzles/puzle_atraco/puzle_atraco.png" +dest_files=["res://.godot/imported/puzle_atraco.png-f1232fa89845247955f28288831a9079.ctex"] [params] diff --git a/assets/sprites/Puzles/puzle_atraco/trozo 1.png b/assets/sprites/Puzles/puzle_atraco/trozo 1.png new file mode 100644 index 0000000..5a45cf9 Binary files /dev/null and b/assets/sprites/Puzles/puzle_atraco/trozo 1.png differ diff --git a/assets/sprites/Puzles/puzle_atraco/trozo 1.png.import b/assets/sprites/Puzles/puzle_atraco/trozo 1.png.import new file mode 100644 index 0000000..56e674b --- /dev/null +++ b/assets/sprites/Puzles/puzle_atraco/trozo 1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bs7jkvnxmhvxc" +path="res://.godot/imported/trozo 1.png-968d95f1af03fce9acda122f250a43f4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/puzle_atraco/trozo 1.png" +dest_files=["res://.godot/imported/trozo 1.png-968d95f1af03fce9acda122f250a43f4.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/assets/sprites/Puzles/puzle_atraco/trozo 2.png b/assets/sprites/Puzles/puzle_atraco/trozo 2.png new file mode 100644 index 0000000..b11207b Binary files /dev/null and b/assets/sprites/Puzles/puzle_atraco/trozo 2.png differ diff --git a/assets/sprites/Puzles/puzle_atraco/trozo 2.png.import b/assets/sprites/Puzles/puzle_atraco/trozo 2.png.import new file mode 100644 index 0000000..30c7df4 --- /dev/null +++ b/assets/sprites/Puzles/puzle_atraco/trozo 2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://guhenkfylwi5" +path="res://.godot/imported/trozo 2.png-e5f992571747400f4478ca7cbed3bf9f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/puzle_atraco/trozo 2.png" +dest_files=["res://.godot/imported/trozo 2.png-e5f992571747400f4478ca7cbed3bf9f.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/assets/sprites/Puzles/puzle_atraco/trozo 3.png b/assets/sprites/Puzles/puzle_atraco/trozo 3.png new file mode 100644 index 0000000..d93a06c Binary files /dev/null and b/assets/sprites/Puzles/puzle_atraco/trozo 3.png differ diff --git a/assets/sprites/Puzles/puzle_atraco/trozo 3.png.import b/assets/sprites/Puzles/puzle_atraco/trozo 3.png.import new file mode 100644 index 0000000..6130a0f --- /dev/null +++ b/assets/sprites/Puzles/puzle_atraco/trozo 3.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ccmrnx5ksw77p" +path="res://.godot/imported/trozo 3.png-e90d71f651279ff138fa0e449dfa0794.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/puzle_atraco/trozo 3.png" +dest_files=["res://.godot/imported/trozo 3.png-e90d71f651279ff138fa0e449dfa0794.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/assets/sprites/Puzles/puzle_atraco/trozo 4.png b/assets/sprites/Puzles/puzle_atraco/trozo 4.png new file mode 100644 index 0000000..c3d10cc Binary files /dev/null and b/assets/sprites/Puzles/puzle_atraco/trozo 4.png differ diff --git a/assets/sprites/Puzles/puzle_atraco/trozo 4.png.import b/assets/sprites/Puzles/puzle_atraco/trozo 4.png.import new file mode 100644 index 0000000..2589365 --- /dev/null +++ b/assets/sprites/Puzles/puzle_atraco/trozo 4.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cfl34mwdi8jbg" +path="res://.godot/imported/trozo 4.png-7102e5dce3aeff47fb629130858a374b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/puzle_atraco/trozo 4.png" +dest_files=["res://.godot/imported/trozo 4.png-7102e5dce3aeff47fb629130858a374b.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/assets/sprites/Puzles/puzle_atraco/trozo 5.png b/assets/sprites/Puzles/puzle_atraco/trozo 5.png new file mode 100644 index 0000000..7c80b61 Binary files /dev/null and b/assets/sprites/Puzles/puzle_atraco/trozo 5.png differ diff --git a/assets/sprites/Puzles/puzle_atraco/trozo 5.png.import b/assets/sprites/Puzles/puzle_atraco/trozo 5.png.import new file mode 100644 index 0000000..501644a --- /dev/null +++ b/assets/sprites/Puzles/puzle_atraco/trozo 5.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://j65oafcttl5g" +path="res://.godot/imported/trozo 5.png-c1868fc6d9a15ccd20b625fa4f9b4522.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/puzle_atraco/trozo 5.png" +dest_files=["res://.godot/imported/trozo 5.png-c1868fc6d9a15ccd20b625fa4f9b4522.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/assets/sprites/Puzles/puzle_atraco/trozo 6.png b/assets/sprites/Puzles/puzle_atraco/trozo 6.png new file mode 100644 index 0000000..5d5811e Binary files /dev/null and b/assets/sprites/Puzles/puzle_atraco/trozo 6.png differ diff --git a/assets/sprites/Puzles/puzle_atraco/trozo 6.png.import b/assets/sprites/Puzles/puzle_atraco/trozo 6.png.import new file mode 100644 index 0000000..99ebb68 --- /dev/null +++ b/assets/sprites/Puzles/puzle_atraco/trozo 6.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cf2au71lpyvo" +path="res://.godot/imported/trozo 6.png-30e51cecd9eef79449cf140d7997d0cc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/puzle_atraco/trozo 6.png" +dest_files=["res://.godot/imported/trozo 6.png-30e51cecd9eef79449cf140d7997d0cc.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/assets/sprites/Puzles/puzle_atraco/trozo 7.png b/assets/sprites/Puzles/puzle_atraco/trozo 7.png new file mode 100644 index 0000000..aaa1bfa Binary files /dev/null and b/assets/sprites/Puzles/puzle_atraco/trozo 7.png differ diff --git a/assets/sprites/Puzles/puzle_atraco/trozo 7.png.import b/assets/sprites/Puzles/puzle_atraco/trozo 7.png.import new file mode 100644 index 0000000..05e925f --- /dev/null +++ b/assets/sprites/Puzles/puzle_atraco/trozo 7.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://02iycftkhajx" +path="res://.godot/imported/trozo 7.png-e64e79c2e497970acc8cafbbacddbf37.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/Puzles/puzle_atraco/trozo 7.png" +dest_files=["res://.godot/imported/trozo 7.png-e64e79c2e497970acc8cafbbacddbf37.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/assets/sprites/Puzles/puzle_atraco_roto.ase b/assets/sprites/Puzles/puzle_atraco_roto.ase deleted file mode 100644 index 139850d..0000000 Binary files a/assets/sprites/Puzles/puzle_atraco_roto.ase and /dev/null differ diff --git a/csvjson.json b/csvjson.json index 68f9e44..10fa463 100644 --- a/csvjson.json +++ b/csvjson.json @@ -1,14 +1,14 @@ -{ - "0": { +[ + { "EVENT_ID": "TXT_TEST_1", "SHADER_OPTIONS": "NONE", "CAMERA_OPTIONS": "NONE", - "EVENT_CONDITION": "TRIGGER", + "EVENT_CONDITION": "NONE", "NEXT": "TXT_TEST_2", "ES": "Hola esto es una prueba de si funciona", "EN": "Hello this is a test" }, - "1": { + { "EVENT_ID": "TXT_TEST_2", "SHADER_OPTIONS": "NONE", "CAMERA_OPTIONS": "NONE", @@ -16,5 +16,383 @@ "NEXT": "", "ES": "Sigue funcionando perfectamente", "EN": "It's working" + }, + { + "EVENT_ID": "Ev_01", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "", + "ES": "Ahh, estoy hecho mierda... Necesito algo para este dolor de cabeza... \n...\n¿Dónde coño estoy?", + "EN": "Ahh, I feel like shit... I need something for this headache... \n...\nWhere the hell am I?" + }, + { + "EVENT_ID": "Ev_02", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "", + "ES": "¿Qué mierda?... ¿Qué esto? ¿Un cadáver?…", + "EN": "Damn?! What is this? is a corpse?…" + }, + { + "EVENT_ID": "Ev_02_TV_01", + "SHADER_OPTIONS": "TV", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "Ev_02_TV_02", + "ES": "¿Qué es ese ruido?", + "EN": "What is that noise?" + }, + { + "EVENT_ID": "Ev_02_TV_02", + "SHADER_OPTIONS": "TV", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_02_TV_02", + "ES": "Siguen las búsquedas de los 2 atracadores a los que se les relaciona con 15 asesinatos... estas son las imágenes que nos ha proporcionado el departamento de policía…", + "EN": "The search continues for the two robbers linked to 15 murders... these are the images provided to us by the departament police..." + }, + { + "EVENT_ID": "Ev_02_TV_03", + "SHADER_OPTIONS": "TV", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Me van a cargar el muerto si me encuentran aquí…", + "EN": "They'll pin the blame on me if they find me here…" + }, + { + "EVENT_ID": "Ev_Corpse_01", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_Corpse_02", + "ES": "El cuerpo tiene algo...", + "EN": "The corpse has something..." + }, + { + "EVENT_ID": "Ev_Corpse_02", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_Corpse_03", + "ES": "No es nada personal...", + "EN": "It's nothing personal" + }, + { + "EVENT_ID": "Ev_Corpse_03", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Parece de la entrada del piso.", + "EN": "Look like flat’s entrance..." + }, + { + "EVENT_ID": "Ev_Grill_01", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_Grill_02", + "ES": "¿Quién habrá escondido unas pastillas ahí?", + "EN": "This key seems to be for the apartment entrance…" + }, + { + "EVENT_ID": "Ev_Grill_02", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_Grill_03", + "ES": "Necesito algo para poder abrirlo", + "EN": "I need something to open it..." + }, + { + "EVENT_ID": "Ev_Grill_03", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Necesito callar las voces...", + "EN": "I need to silence the voices..." + }, + { + "EVENT_ID": "Ev_Shelve", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "Ev_Shelve", + "ES": "Que raro, me suenan sus caras...", + "EN": "That's weird… These faces look familiar to me." + }, + { + "EVENT_ID": "Ev_Picture_01", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Se le ven tan feliz…", + "EN": "He looks so happy…" + }, + { + "EVENT_ID": "Ev_Picture_02", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "A este en cambio se le ve triste…", + "EN": "This one, on the other hand, looks sad…" + }, + { + "EVENT_ID": "Ev_Picture_03", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Este está roto...", + "EN": "This is broken…" + }, + { + "EVENT_ID": "Ev_Picture_04", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "¿Qué es eso que asoma?", + "EN": "What’s that sticking out?" + }, + { + "EVENT_ID": "Ev_FirstBrokenPicture_01", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_FirstBrokenPicture_02", + "ES": "Parece que alguien la ha roto por la mitad.", + "EN": "It looks like someone broke it in two." + }, + { + "EVENT_ID": "Ev_FirstBrokenPicture_02", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "La otra mitad debe estar por aquí.", + "EN": "The other half must be around here somewhere." + }, + { + "EVENT_ID": "Ev_SecondBrokenPicture_01", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_SecondBrokenPicture_02", + "ES": "Esta parece la otra mitad de la foto.", + "EN": "This seems to be the other half of the picture." + }, + { + "EVENT_ID": "Ev_SecondBrokenPicture_02", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_SecondBrokenPicture_03", + "ES": "Ese tal Mario, lleva la misma ropa que yo...", + "EN": "That guy, Mario… He’s wearing the same clothes as me" + }, + { + "EVENT_ID": "Ev_SecondBrokenPicture_03", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Francesco y él… parecen cercanos.", + "EN": "Francesco and he… seem close." + }, + { + "EVENT_ID": "Ev_Blueprint_01", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "Ev_Blueprint_02", + "ES": "Parece que forma algún tipo de plano.", + "EN": "Looks like some kind of blueprint." + }, + { + "EVENT_ID": "Ev_Blueprint_02", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Parecen los planos de un robo.", + "EN": "Looks like the thieves' plan." + }, + { + "EVENT_ID": "Ev_Screwdriver_01", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "", + "ES": "Que raro... parece que hay algo ahí... \nCreo que necesitaré un destornillador para esto.", + "EN": "That weird... seems that there is something... \nI think that I need a screwdriver for this" + }, + { + "EVENT_ID": "Ev_Screwdriver_02", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Con esto puede que consiga abrir la rejilla.", + "EN": "" + }, + { + "EVENT_ID": "Ev_Door_01", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_Door_02", + "ES": "La puerta parece que está cerrada. La llave debe de estar por algún lado.", + "EN": "" + }, + { + "EVENT_ID": "Ev_Door_02", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Por mucho que lo intente... sigue cerrada.", + "EN": "" + }, + { + "EVENT_ID": "Ev_FirstWardrobe", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "", + "ES": "¿Y esto...? Parece ser una caja fuerte...\nNecesitaré un código para abrirla.", + "EN": "" + }, + { + "EVENT_ID": "Ev_SecondWardrobe", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Parece que aquí puede ir el código.", + "EN": "" + }, + { + "EVENT_ID": "Ev_FirstCode", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Un papel con números... Tal vez pueda servirme de algo.", + "EN": "" + }, + { + "EVENT_ID": "Ev_SecondCode", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Parece que encontré la clave para abrir esa cajita de metal.", + "EN": "" + }, + { + "EVENT_ID": "Ev_VaultSuccess", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "¡Bingo! Espera, ¿qué?... \n¿Son... las joyas robadas que han mencionado en las noticias?", + "EN": "" + }, + { + "EVENT_ID": "Ev_VaultFailure", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Mierda... Así no sirve...", + "EN": "" + }, + { + "EVENT_ID": "Ev_DNIBefore", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Parece un DNI. ¿Tal vez sea de este tío?", + "EN": "" + }, + { + "EVENT_ID": "Ev_DNIAfter", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Así que te llamas Francesco... La foto no parece legible, pero por los cuadros de antes parece ser que eres tú...", + "EN": "" + }, + { + "EVENT_ID": "Ev_Sofa", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Que asco de sofá.", + "EN": "" + }, + { + "EVENT_ID": "Ev_Sink", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Alguien no ha limpiado los platos.", + "EN": "" + }, + { + "EVENT_ID": "Ev_WC", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Esperaré a un váter más limpio.", + "EN": "" + }, + { + "EVENT_ID": "Ev_Fridge", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "No es momento de tomarse una energética.", + "EN": "" + }, + { + "EVENT_ID": "Ev_TV", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "La tele vuelve a no tener señal.", + "EN": "" + }, + { + "EVENT_ID": "Ev_Mirror", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "¿Quién soy yo?", + "EN": "" + }, + { + "EVENT_ID": "Ev_DNI", + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "¿Qué es esto?", + "EN": "What is this?" } -} \ No newline at end of file +] \ No newline at end of file diff --git a/data/ScriptSheet.json b/data/ScriptSheet.json index fc8b77e..fe149a4 100644 --- a/data/ScriptSheet.json +++ b/data/ScriptSheet.json @@ -2,9 +2,9 @@ "TXT_TEST_1": { "SHADER_OPTIONS": "NONE", "CAMERA_OPTIONS": "NONE", - "EVENT_CONDITION": "TRIGGER", + "EVENT_CONDITION": "NONE", "NEXT": "TXT_TEST_2", - "ES": "Esto es una puerta muy bonita y espectacular wow que increible puerta me encanta, yo tenia una igul cuando xico", + "ES": "Hola esto es una prueba de si funciona", "EN": "Hello this is a test" }, "TXT_TEST_2": { @@ -12,7 +12,343 @@ "CAMERA_OPTIONS": "NONE", "EVENT_CONDITION": "NONE", "NEXT": "", - "ES": "Sigue siendo una puerta xd", + "ES": "Sigue funcionando perfectamente", "EN": "It's working" + }, + "Ev_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "", + "ES": "Ahh, estoy hecho mierda... Necesito algo para este dolor de cabeza... \n...\n¿Dónde coño estoy?", + "EN": "Ahh, I feel like shit... I need something for this headache... \n...\nWhere the hell am I?" + }, + "Ev_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "", + "ES": "¿Qué mierda?... ¿Qué esto? ¿Un cadáver?…", + "EN": "Damn?! What is this? is a corpse?…" + }, + "Ev_02_TV_01": { + "SHADER_OPTIONS": "TV", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "TRIGGER", + "NEXT": "Ev_02_TV_02", + "ES": "¿Qué es ese ruido?", + "EN": "What is that noise?" + }, + "Ev_02_TV_02": { + "SHADER_OPTIONS": "TV", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_02_TV_02", + "ES": "Siguen las búsquedas de los 2 atracadores a los que se les relaciona con 15 asesinatos... estas son las imágenes que nos ha proporcionado el departamento de policía…", + "EN": "The search continues for the two robbers linked to 15 murders... these are the images provided to us by the departament police..." + }, + "Ev_02_TV_03": { + "SHADER_OPTIONS": "TV", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Me van a cargar el muerto si me encuentran aquí…", + "EN": "They'll pin the blame on me if they find me here…" + }, + "Ev_Corpse_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_Corpse_02", + "ES": "El cuerpo tiene algo...", + "EN": "The corpse has something..." + }, + "Ev_Corpse_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_Corpse_03", + "ES": "No es nada personal...", + "EN": "It's nothing personal" + }, + "Ev_Corpse_03": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Parece de la entrada del piso.", + "EN": "Look like flat’s entrance..." + }, + "Ev_Grill_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "¿Quién habrá escondido unas pastillas ahí?", + "EN": "This key seems to be for the apartment entrance…" + }, + "Ev_Grill_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "Ev_Screwdriver_01", + "ES": "Necesito algo para poder abrirlo", + "EN": "I need something to open it..." + }, + "Ev_Grill_03": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Necesito callar las voces...", + "EN": "I need to silence the voices..." + }, + "Ev_Shelve": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "Ev_Shelve", + "ES": "Que raro, me suenan sus caras...", + "EN": "That's weird… These faces look familiar to me." + }, + "Ev_Picture_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Se le ven tan feliz…", + "EN": "He looks so happy…" + }, + "Ev_Picture_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "A este en cambio se le ve triste…", + "EN": "This one, on the other hand, looks sad…" + }, + "Ev_Picture_03": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Este está roto...", + "EN": "This is broken…" + }, + "Ev_Picture_04": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "¿Qué es eso que asoma?", + "EN": "What’s that sticking out?" + }, + "Ev_FirstBrokenPicture_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_FirstBrokenPicture_02", + "ES": "Parece que alguien la ha roto por la mitad.", + "EN": "It looks like someone broke it in two." + }, + "Ev_FirstBrokenPicture_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "La otra mitad debe estar por aquí.", + "EN": "The other half must be around here somewhere." + }, + "Ev_SecondBrokenPicture_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_SecondBrokenPicture_02", + "ES": "Esta parece la otra mitad de la foto.", + "EN": "This seems to be the other half of the picture." + }, + "Ev_SecondBrokenPicture_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_SecondBrokenPicture_03", + "ES": "Ese tal Mario, lleva la misma ropa que yo...", + "EN": "That guy, Mario… He’s wearing the same clothes as me" + }, + "Ev_SecondBrokenPicture_03": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Francesco y él… parecen cercanos.", + "EN": "Francesco and he… seem close." + }, + "Ev_Blueprint_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "", + "ES": "Parece que forma algún tipo de plano.", + "EN": "Looks like some kind of blueprint." + }, + "Ev_Blueprint_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Parecen los planos de un robo.", + "EN": "Looks like the thieves' plan." + }, + "Ev_Screwdriver_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_Grill_02", + "ES": "Que raro... parece que hay algo ahí... \nCreo que necesitaré un destornillador para esto.", + "EN": "That weird... seems that there is something... \nI think that I need a screwdriver for this" + }, + "Ev_Screwdriver_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Con esto puede que consiga abrir la rejilla.", + "EN": "With this meaby i can open the grid." + }, + "Ev_Door_01": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_Door_02", + "ES": "La puerta parece que está cerrada. La llave debe de estar por algún lado.", + "EN": "The door is locked. The key must be somewhere." + }, + "Ev_Door_02": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Por mucho que lo intente... sigue cerrada.", + "EN": "Doesn't matter how many times I try... the door is loked." + }, + "Ev_FirstWardrobe": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "PUZZLE", + "NEXT": "Ev_FirstWardrobe", + "ES": "¿Y esto...? Parece ser una caja fuerte...\nNecesitaré un código para abrirla.", + "EN": "What is this?... It like and safe box.\nI will need the code to open it." + }, + "Ev_SecondWardrobe": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Parece que aquí puede ir el código.", + "EN": "It seem like i can use the code here." + }, + "Ev_FirstCode": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Un papel con números... Tal vez pueda servirme de algo.", + "EN": "A piece of paper with numbres... Maybe they can serve me later." + }, + "Ev_SecondCode": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Parece que encontré la clave para abrir esa cajita de metal.", + "EN": "I think I found the code for that little metal box." + }, + "Ev_VaultSuccess": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "¡Bingo! Espera, ¿qué?... \n¿Son... las joyas robadas que han mencionado en las noticias?", + "EN": "Jackpot! Wait, what?\nAren't this... the jewelry robbed that were mentioned in the news?" + }, + "Ev_VaultFailure": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Mierda... Así no sirve...", + "EN": "Shit...This does't work" + }, + "Ev_DNIBefore": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Parece un DNI. ¿Tal vez sea de este tío?", + "EN": "It looks like an ID. Can this be from that guy?" + }, + "Ev_DNIAfter": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "Así que te llamas Francesco... La foto no parece legible, pero por los cuadros de antes parece ser que eres tú...", + "EN": "So your name is Francesco... I can't distinguished the face, but thanks to the pictures it seem like this is you." + }, + "Ev_Sofa": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_Sofa", + "ES": "Que asco de sofá.", + "EN": "This sofa is disgusting." + }, + "Ev_Sink": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_Sink", + "ES": "Alguien no ha limpiado los platos.", + "EN": "Someone hasn't washed the dishes" + }, + "Ev_WC": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_WC", + "ES": "Esperaré a un váter más limpio.", + "EN": "I'll wait for another one more cleaner." + }, + "Ev_Fridge": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_Fridge", + "ES": "No es momento de tomarse una energética.", + "EN": "There is no time for a drink." + }, + "Ev_TV": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_TV", + "ES": "La tele vuelve a no tener señal.", + "EN": "The tv is broken again." + }, + "Ev_Mirror": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "Ev_Mirror", + "ES": "¿Quién soy yo?", + "EN": "Who am I?" + }, + "Ev_DNI": { + "SHADER_OPTIONS": "NONE", + "CAMERA_OPTIONS": "NONE", + "EVENT_CONDITION": "NONE", + "NEXT": "", + "ES": "¿Qué es esto?", + "EN": "What is this?" } } diff --git a/project.godot b/project.godot index 333764b..c4c6542 100644 --- a/project.godot +++ b/project.godot @@ -34,11 +34,13 @@ GameManager="*res://scripts/globals/gameManager.gd" OptionManager="*res://scripts/globals/optionManager.gd" CanvasManager="*res://scripts/globals/CanvasManager.gd" DataManager="*res://scripts/globals/DataManager.gd" +TransitionScreen="*res://scenes/UI/TransitionScreen.tscn" [display] window/size/viewport_width=960 window/size/viewport_height=540 +window/size/resizable=false window/stretch/mode="canvas_items" window/stretch/aspect="expand" diff --git a/scenes/Prefabs/Ending.tscn b/scenes/Prefabs/Ending.tscn new file mode 100644 index 0000000..bb84939 --- /dev/null +++ b/scenes/Prefabs/Ending.tscn @@ -0,0 +1,66 @@ +[gd_scene load_steps=2 format=3 uid="uid://dqp3w3mh0bjad"] + +[ext_resource type="Script" path="res://scripts/ending.gd" id="1_i3dou"] + +[node name="EndingLayer" type="CanvasLayer"] +layer = 10 +script = ExtResource("1_i3dou") + +[node name="PanelContainer" type="PanelContainer" parent="."] +anchors_preset = 12 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = -1.0 +offset_top = -541.0 +offset_right = 2.0 +offset_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 0 +size_flags_stretch_ratio = 0.0 + +[node name="ColorRect" type="ColorRect" parent="PanelContainer"] +layout_mode = 2 +color = Color(0, 0, 0, 1) + +[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"] +layout_mode = 2 +theme_override_constants/margin_left = 50 +theme_override_constants/margin_right = 50 + +[node name="Label" type="Label" parent="PanelContainer/MarginContainer"] +custom_minimum_size = Vector2(500, 0) +layout_mode = 2 +size_flags_vertical = 1 +theme_override_font_sizes/font_size = 17 +text = "La puerta se abrió, como era de esperar, así que decidí salir del apartamento. + Vi la policía subir las escaleras, y uno a lo lejos me preguntó sobre que había visto de extraño + recientemente en el recinto. Pasé de largo y decidí bajar el edificio, no me sentía nada bien + y quería salir rápidamente de ese lugar, encontrar otro tipo de ayuda... Tras unos cinco minutos, varios + cuerpos me reducieron y fui arrestrado por ser el principal sospechoso de ese asesinato. +" +horizontal_alignment = 1 +vertical_alignment = 1 +autowrap_mode = 2 +max_lines_visible = 10 +visible_characters_behavior = 1 + +[node name="MenuButton" type="MenuButton" parent="."] +anchors_preset = 7 +anchor_left = 0.5 +anchor_top = 1.0 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -57.0 +offset_top = -90.0 +offset_right = 58.0 +offset_bottom = -59.0 +grow_horizontal = 2 +grow_vertical = 0 +theme_override_colors/font_hover_color = Color(0.671337, 0.78665, 1, 1) +theme_override_colors/font_pressed_color = Color(0.0392157, 0.356863, 1, 1) +theme_override_font_sizes/font_size = 25 +text = "Back to menu" + +[connection signal="visibility_changed" from="." to="." method="_on_visibility_changed"] +[connection signal="pressed" from="MenuButton" to="." method="_on_menu_button_pressed"] diff --git a/scenes/Prefabs/button.tscn b/scenes/Prefabs/button.tscn new file mode 100644 index 0000000..5165318 --- /dev/null +++ b/scenes/Prefabs/button.tscn @@ -0,0 +1,10 @@ +[gd_scene load_steps=2 format=3 uid="uid://bfb3rby1lilfu"] + +[ext_resource type="Script" path="res://scripts/puzzle/texture_button.gd" id="1_r6q1l"] + +[node name="TextureButton" type="TextureButton"] +offset_right = 40.0 +offset_bottom = 40.0 +script = ExtResource("1_r6q1l") + +[connection signal="pressed" from="." to="." method="_on_pressed"] diff --git a/scenes/Prefabs/pieza_mapa_atraco.tscn b/scenes/Prefabs/pieza_mapa_atraco.tscn new file mode 100644 index 0000000..312d187 --- /dev/null +++ b/scenes/Prefabs/pieza_mapa_atraco.tscn @@ -0,0 +1,13 @@ +[gd_scene load_steps=3 format=3 uid="uid://cqeulcfun6yx7"] + +[ext_resource type="Script" path="res://scripts/pieza_atraco.gd" id="1_6spf2"] +[ext_resource type="Texture2D" uid="uid://bo5oocg3ulo6y" path="res://icon.svg" id="1_8r5ha"] + +[node name="pieza_Mapa_Atraco" type="TextureButton"] +offset_right = 8.0 +offset_bottom = 8.0 +texture_normal = ExtResource("1_8r5ha") +script = ExtResource("1_6spf2") + +[connection signal="button_down" from="." to="." method="_on_button_down"] +[connection signal="button_up" from="." to="." method="_on_button_up"] diff --git a/scenes/tornillo_derecho.tscn b/scenes/Prefabs/tornillo.tscn similarity index 68% rename from scenes/tornillo_derecho.tscn rename to scenes/Prefabs/tornillo.tscn index 459e085..ca4db20 100644 --- a/scenes/tornillo_derecho.tscn +++ b/scenes/Prefabs/tornillo.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=6 format=3 uid="uid://2jvwv2uig8ff"] -[ext_resource type="Texture2D" uid="uid://dkbuuavhxhoxr" path="res://assets/assets/Puzles/puzle2-rejilla/tornillo-derecha.png" id="1_a4pc4"] -[ext_resource type="Script" path="res://scripts/tornillo_derecho.gd" id="2_gwsew"] +[ext_resource type="Texture2D" uid="uid://dfejfq3crqtmb" path="res://assets/sprites/Puzles/puzle2-rejilla/tornillo.png" id="1_akwsm"] +[ext_resource type="Script" path="res://scripts/tornillos.gd" id="2_xd6a6"] [sub_resource type="Animation" id="Animation_4rhqy"] length = 0.001 @@ -31,7 +31,7 @@ tracks/0/keys = { "times": PackedFloat32Array(0, 2), "transitions": PackedFloat32Array(1, 1), "update": 0, -"values": [0.0, 25.1327] +"values": [0.0, -25.1327] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_y5fjk"] @@ -40,13 +40,19 @@ _data = { "rotar": SubResource("Animation_w02yb") } -[node name="tornilloDerecho" type="Sprite2D"] -texture = ExtResource("1_a4pc4") -script = ExtResource("2_gwsew") +[node name="tornillo" type="TextureButton"] +offset_right = 10.0 +offset_bottom = 10.0 +pivot_offset = Vector2(5, 5) +size_flags_horizontal = 4 +size_flags_vertical = 4 +texture_normal = ExtResource("1_akwsm") +script = ExtResource("2_xd6a6") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_y5fjk") } +[connection signal="pressed" from="." to="." method="_on_pressed"] [connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_animation_player_animation_finished"] diff --git a/scenes/tornillo_izquierdo.tscn b/scenes/Prefabs/tornillo_izquierdo.tscn similarity index 73% rename from scenes/tornillo_izquierdo.tscn rename to scenes/Prefabs/tornillo_izquierdo.tscn index 5ded3ae..dacb95d 100644 --- a/scenes/tornillo_izquierdo.tscn +++ b/scenes/Prefabs/tornillo_izquierdo.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=6 format=3 uid="uid://bfdrof1bnnufs"] -[ext_resource type="Texture2D" uid="uid://bby7f5mv034vn" path="res://assets/assets/Puzles/puzle2-rejilla/tornillo-izquierda.png" id="1_upii0"] -[ext_resource type="Script" path="res://scripts/tornillo_derecho.gd" id="2_3fuiu"] +[ext_resource type="Texture2D" uid="uid://c1kemxf7hr6y6" path="res://assets/sprites/Puzles/puzle2-rejilla/tornillo-izquierda.png" id="1_bkmn5"] +[ext_resource type="Script" path="res://scripts/tornillos.gd" id="2_3fuiu"] [sub_resource type="Animation" id="Animation_4rhqy"] length = 2.0 @@ -15,7 +15,7 @@ tracks/0/keys = { "times": PackedFloat32Array(0, 2), "transitions": PackedFloat32Array(1, 1), "update": 0, -"values": [0.0, 25.1327] +"values": [0.0, -25.1327] } [sub_resource type="Animation" id="Animation_w02yb"] @@ -40,8 +40,9 @@ _data = { "rotar": SubResource("Animation_w02yb") } -[node name="tornilloIzquierdo" type="Sprite2D"] -texture = ExtResource("1_upii0") +[node name="tornilloIzquierdo" type="TextureButton"] +pivot_offset = Vector2(5, 5) +texture_normal = ExtResource("1_bkmn5") script = ExtResource("2_3fuiu") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] @@ -49,4 +50,5 @@ libraries = { "": SubResource("AnimationLibrary_y5fjk") } +[connection signal="pressed" from="." to="." method="_on_pressed"] [connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_animation_player_animation_finished"] diff --git a/scenes/trigger.tscn b/scenes/Prefabs/trigger.tscn similarity index 100% rename from scenes/trigger.tscn rename to scenes/Prefabs/trigger.tscn diff --git a/scenes/Prefabs/zoom_item.tscn b/scenes/Prefabs/zoom_item.tscn new file mode 100644 index 0000000..36c9f3e --- /dev/null +++ b/scenes/Prefabs/zoom_item.tscn @@ -0,0 +1,27 @@ +[gd_scene load_steps=3 format=3 uid="uid://j2kel3e4mudp"] + +[ext_resource type="Script" path="res://scripts/zoom_item.gd" id="1_nxx0g"] +[ext_resource type="Texture2D" uid="uid://bp41vka7ixgl7" path="res://assets/sprites/Puzles/Puzle1-llave/llave-puzle-1.png" id="2_opchv"] + +[node name="ZoomItem" type="CanvasLayer"] +layer = 9 +script = ExtResource("1_nxx0g") + +[node name="PanelContainer" type="PanelContainer" parent="."] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 + +[node name="TextureRect" type="TextureRect" parent="PanelContainer"] +layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 +texture = ExtResource("2_opchv") +expand_mode = 1 +stretch_mode = 5 + +[connection signal="visibility_changed" from="." to="." method="_on_visibility_changed"] diff --git a/scenes/Principal.tscn b/scenes/Principal.tscn index 1c461ba..deb0c8c 100644 --- a/scenes/Principal.tscn +++ b/scenes/Principal.tscn @@ -1,10 +1,18 @@ -[gd_scene load_steps=8 format=3 uid="uid://dxig44e2l1d1l"] +[gd_scene load_steps=17 format=3 uid="uid://dxig44e2l1d1l"] -[ext_resource type="Texture2D" uid="uid://dcdph4436g11n" path="res://assets/sprites/Escenario/Tileset.png" id="1_c4xtu"] -[ext_resource type="Texture2D" uid="uid://cl7gbx7qj5o30" path="res://assets/sprites/Player/player-32-64-front-walk.png" id="2_0y32a"] +[ext_resource type="Texture2D" uid="uid://buei4x432v4a2" path="res://assets/sprites/Escenario/Tileset.png" id="1_c4xtu"] [ext_resource type="Script" path="res://scripts/main_scene.gd" id="2_iqy1m"] [ext_resource type="Texture2D" uid="uid://cynq8fhvk5sgd" path="res://assets/assets/mariofinal.png" id="3_fqhnc"] -[ext_resource type="PackedScene" path="res://scenes/trigger.tscn" id="5_omke0"] +[ext_resource type="Script" path="res://scenes/bath_room_light.gd" id="4_4yf2j"] +[ext_resource type="PackedScene" uid="uid://j82vpwbejb38" path="res://scenes/Prefabs/trigger.tscn" id="5_omke0"] +[ext_resource type="Script" path="res://scenes/shaders_control.gd" id="6_31grw"] +[ext_resource type="Material" uid="uid://dc7hpj2ikl847" path="res://assets/materials/vignette_materia.tres" id="6_pug0m"] +[ext_resource type="PackedScene" uid="uid://j2kel3e4mudp" path="res://scenes/Prefabs/zoom_item.tscn" id="6_youc5"] +[ext_resource type="Texture2D" uid="uid://bxelkdl102274" path="res://assets/materials/transparent-background.png" id="7_1dy4f"] +[ext_resource type="Material" uid="uid://ilp3hdc66mxl" path="res://assets/materials/blood_materia.tres" id="8_op68h"] +[ext_resource type="Material" uid="uid://qm4tflob2hed" path="res://assets/materials/bathroom_shader.tres" id="9_n7lhl"] +[ext_resource type="PackedScene" uid="uid://cdtljaux3f3i1" path="res://scenes/puzzles/puzzles.tscn" id="12_c3sp8"] +[ext_resource type="PackedScene" uid="uid://dqp3w3mh0bjad" path="res://scenes/Prefabs/Ending.tscn" id="13_1osdi"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_ntdln"] texture = ExtResource("1_c4xtu") @@ -357,13 +365,13 @@ texture = ExtResource("1_c4xtu") 16:14/0 = 0 17:14/0 = 0 18:14/0 = 0 -18:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(1, 5, 8, 5, 8, 8, 1, 8) +18:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-1.875, -6.875, 8, -6.875, 8, 8, -2.125, 8) 19:14/0 = 0 -19:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 5, 8, 5, 8, 8, -8, 8) +19:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -4.375, 8, -4.125, 8, 5, 8, 8, -8, 8) 20:14/0 = 0 -20:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 5, 8, 5, 8, 8, -8, 8) +20:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -4.5, 8, -4.5, 8, 8, -8, 8) 21:14/0 = 0 -21:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 5, 8, 5, 8, 8, -8, 8) +21:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -4.625, 4, -4.75, 4.125, 8, -8, 8) 3:15/0 = 0 3:15/0/physics_layer_0/polygon_0/points = PackedVector2Array(4, -8, 8, -8, 8, 0, 4, 0) 4:15/0 = 0 @@ -528,6 +536,9 @@ texture = ExtResource("1_c4xtu") physics_layer_0/collision_layer = 1 sources/1 = SubResource("TileSetAtlasSource_ntdln") +[sub_resource type="RectangleShape2D" id="RectangleShape2D_x8dvn"] +size = Vector2(124.948, 141.909) + [node name="TileMap" type="TileMap"] position = Vector2(64, -112) tile_set = SubResource("TileSet_10sko") @@ -540,10 +551,10 @@ layer_1/z_index = -1 layer_1/tile_data = PackedInt32Array(65532, 1048577, 0, 131068, 1048577, 1, 65533, 1114113, 0, 131069, 1114113, 1, 65534, 1048577, 0, 131070, 1048577, 1, 65535, 1114113, 0, 131071, 1114113, 1, 0, 1048577, 0, 65536, 1048577, 1, 1, 1114113, 0, 65537, 1114113, 1, 2, 1048577, 0, 65538, 1048577, 1, 3, 1114113, 0, 65539, 1114113, 1, 4, 1048577, 0, 65540, 1048577, 1, 5, 1114113, 0, 65541, 1114113, 1, 196604, 1048577, 0, 262140, 1048577, 1, 196605, 1114113, 0, 262141, 1114113, 1, 196606, 1048577, 0, 262142, 1048577, 1, 196607, 1114113, 0, 262143, 1114113, 1, 131072, 1048577, 0, 196608, 1048577, 1, 131073, 1114113, 0, 196609, 1114113, 1, 131074, 1048577, 0, 196610, 1048577, 1, 131075, 1114113, 0, 196611, 1114113, 1, 131076, 1048577, 0, 196612, 1048577, 1, 131077, 1114113, 0, 196613, 1114113, 1, 327676, 1048577, 0, 393212, 1048577, 1, 327677, 1114113, 0, 393213, 1114113, 1, 327678, 1048577, 0, 393214, 1048577, 1, 327679, 1114113, 0, 393215, 1114113, 1, 262144, 1048577, 0, 327680, 1048577, 1, 262145, 1114113, 0, 327681, 1114113, 1, 262146, 1048577, 0, 327682, 1048577, 1, 262147, 1114113, 0, 327683, 1114113, 1, 262148, 1048577, 0, 327684, 1048577, 1, 262149, 1114113, 0, 327685, 1114113, 1, 458748, 1048577, 0, 458749, 1114113, 0, 458750, 1048577, 0, 458751, 1114113, 0, 393216, 1048577, 0, 393217, 1114113, 0, 393218, 1048577, 0, 393219, 1114113, 0, 393220, 1048577, 0, 393221, 1114113, 0, 6, 1179649, 2, 65542, 1179649, 3, 7, 1245185, 2, 65543, 1245185, 3, 8, 1179649, 2, 65544, 1179649, 3, 9, 1245185, 2, 65545, 1245185, 3, 10, 1179649, 2, 65546, 1179649, 3, 11, 1179649, 2, 65547, 1179649, 3, 12, 1245185, 2, 65548, 1245185, 3, 131083, 1179649, 2, 196619, 1179649, 3, 131084, 1245185, 2, 196620, 1245185, 3, 131081, 1179649, 2, 196617, 1179649, 3, 131082, 1245185, 2, 196618, 1245185, 3, 131079, 1245185, 2, 196615, 1245185, 3, 131080, 1245185, 2, 196616, 1245185, 3, 131078, 1179649, 2, 196614, 1179649, 3, 262150, 1179649, 2, 327686, 1048577, 0, 262151, 1245185, 2, 327687, 1114113, 0, 262152, 1179649, 2, 327688, 1114113, 0, 262153, 1245185, 2, 327689, 1048577, 0, 262154, 1179649, 2, 327690, 1114113, 0, 262155, 1179649, 2, 327691, 1048577, 0, 262156, 1245185, 2, 327692, 1114113, 0, 393222, 1048577, 0, 393223, 1114113, 0, 393224, 1048577, 0, 393225, 1114113, 0, 393226, 1114113, 1, 393227, 1048577, 1, 393228, 1114113, 1, 327693, 1048577, 0, 393229, 1048577, 1, 327694, 1114113, 0, 393230, 1114113, 1, 327695, 1048577, 0, 393231, 1048577, 1, 327696, 1114113, 0, 393232, 1114113, 1, 327697, 1048577, 0, 393233, 1048577, 1, 327698, 1114113, 0, 393234, 1114113, 1, 327699, 1048577, 1, 393235, 1048577, 1, 327700, 1114113, 1, 393236, 1114113, 1, 327701, 1048577, 1, 393237, 1048577, 1, 327702, 1114113, 1, 393238, 1114113, 1, 327703, 1048577, 1, 393239, 1048577, 1, 327704, 1048577, 0, 393240, 1048577, 1, 196621, 1048577, 2, 262157, 1048577, 0, 196622, 1114113, 2, 262158, 1114113, 0, 65549, 1048577, 3, 131085, 1048577, 3, 65550, 1114113, 3, 131086, 1114113, 3, 13, 1048577, 2, 14, 1114113, 2, 15, 1048577, 2, 65551, 1048577, 3, 16, 1114113, 2, 65552, 1114113, 3, 17, 1048577, 2, 65553, 1048577, 3, 18, 1114113, 2, 65554, 1114113, 3, 131089, 1048577, 2, 196625, 1048577, 2, 131090, 1114113, 2, 196626, 1114113, 2, 131087, 1048577, 2, 196623, 1048577, 2, 131088, 1114113, 2, 196624, 1114113, 2, 262159, 1048577, 0, 262160, 1114113, 0, 262161, 1048577, 0, 262162, 1114113, 0, 19, 1048577, 0, 65555, 1048577, 1, 20, 1114113, 0, 65556, 1114113, 1, 21, 1048577, 0, 65557, 1048577, 1, 22, 1114113, 0, 65558, 1114113, 1, 23, 1048577, 0, 65559, 1048577, 1, 24, 1048577, 0, 65560, 1048577, 1, 25, 1114113, 0, 65561, 1114113, 1, 131096, 1048577, 0, 196632, 1048577, 1, 131097, 1114113, 0, 196633, 1114113, 1, 131094, 1048577, 0, 196630, 1048577, 1, 131095, 1114113, 0, 196631, 1114113, 1, 131091, 1048577, 0, 196627, 1048577, 1, 131092, 1048577, 0, 196628, 1048577, 1, 131093, 1114113, 0, 196629, 1114113, 1, 262163, 1048577, 0, 262164, 1114113, 0, 262165, 1048577, 0, 262166, 1114113, 0, 262167, 1048577, 0, 262168, 1048577, 0, 262169, 1114113, 0, 327705, 1114113, 0, 393241, 1114113, 1) layer_2/name = "Muebles" layer_2/z_index = -1 -layer_2/tile_data = PackedInt32Array(-196612, 983041, 17, -131076, 983041, 18, -65540, 983041, 19, -4, 983041, 20, 65532, 983041, 21, -196611, 1048577, 17, -131075, 1048577, 18, -65539, 1048577, 19, -3, 1048577, 20, 65533, 1048577, 21, -196610, 1114113, 17, -131074, 1114113, 18, -65538, 1114113, 19, -2, 1114113, 20, 65534, 1114113, 21, -131073, 1179649, 18, -65537, 1179649, 19, -1, 1179649, 20, 65535, 1179649, 21, -196608, 1245185, 18, -131072, 1245185, 19, -65536, 1245185, 20, 0, 1245185, 21, -196607, 1310721, 18, -131071, 1310721, 19, -65535, 1310721, 20, 1, 1310721, 21, -262141, 458753, 16, -196605, 458753, 17, -131069, 458753, 18, -65533, 458753, 19, -262140, 524289, 16, -196604, 524289, 17, -131068, 524289, 18, -65532, 524289, 19, -262139, 589825, 16, -196603, 589825, 17, -131067, 589825, 18, -65531, 589825, 19, -131064, 524289, 10, -65528, 524289, 11, 8, 524289, 12, -131063, 589825, 10, -65527, 589825, 11, 9, 589825, 12, -131062, 655361, 10, -65526, 655361, 11, 10, 655361, 12, -131061, 720897, 10, -65525, 720897, 11, 11, 720897, 12, 65547, 720897, 13, 131083, 720897, 14, 196619, 720897, 15, -131060, 786433, 10, -65524, 786433, 11, 12, 786433, 12, 65548, 786433, 13, 131084, 786433, 14, 196620, 786433, 15, -262131, 1179649, 4, -196595, 1179649, 5, -131059, 1179649, 6, -65523, 1179649, 7, -262130, 1245185, 4, -196594, 1245185, 5, -131058, 1245185, 6, -65522, 1245185, 7, -131055, 1310721, 1, -65519, 1310721, 2, 17, 1310721, 3, -131054, 1376257, 1, -65518, 1376257, 2, 18, 1376257, 3, -262129, 524289, 13, -196593, 524289, 14, -262128, 589825, 13, -196592, 589825, 14, -65517, 1, 16, 19, 1, 17, -65516, 65537, 16, 20, 65537, 17, -65515, 131073, 16, 21, 131073, 17, 65557, 131073, 18, 131093, 131073, 19, 196629, 131073, 20, 262165, 131073, 21, -65514, 196609, 16, 22, 196609, 17, 65558, 196609, 18, 131094, 196609, 19, 196630, 196609, 20, 262166, 196609, 21, -65513, 262145, 16, 23, 262145, 17, 65559, 262145, 18, 131095, 262145, 19, 196631, 262145, 20, 262167, 262145, 21, -65512, 327681, 16, 24, 327681, 17, -65511, 393217, 16, 25, 393217, 17, 13, 1179649, 8, 14, 1245185, 8) +layer_2/tile_data = PackedInt32Array(-196612, 983041, 17, -131076, 983041, 18, -65540, 983041, 19, -4, 983041, 20, 65532, 983041, 21, -196611, 1048577, 17, -131075, 1048577, 18, -65539, 1048577, 19, -3, 1048577, 20, 65533, 1048577, 21, -196610, 1114113, 17, -131074, 1114113, 18, -65538, 1114113, 19, -2, 1114113, 20, 65534, 1114113, 21, -131073, 1179649, 18, -65537, 1179649, 19, -1, 1179649, 20, 65535, 1179649, 21, -196608, 1245185, 18, -131072, 1245185, 19, -65536, 1245185, 20, 0, 1245185, 21, -196607, 1310721, 18, -131071, 1310721, 19, -65535, 1310721, 20, 1, 1310721, 21, -262141, 458753, 16, -196605, 458753, 17, -131069, 458753, 18, -65533, 458753, 19, -262140, 524289, 16, -196604, 524289, 17, -131068, 524289, 18, -65532, 524289, 19, -262139, 589825, 16, -196603, 589825, 17, -131067, 589825, 18, -65531, 589825, 19, -131064, 524289, 10, -65528, 524289, 11, 8, 524289, 12, -131063, 589825, 10, -65527, 589825, 11, 9, 589825, 12, -131062, 655361, 10, -65526, 655361, 11, 10, 655361, 12, -131061, 720897, 10, -65525, 720897, 11, 11, 720897, 12, 65547, 720897, 13, 131083, 720897, 14, 196619, 720897, 15, -131060, 786433, 10, -65524, 786433, 11, 12, 786433, 12, 65548, 786433, 13, 131084, 786433, 14, 196620, 786433, 15, -262131, 1179649, 4, -196595, 1179649, 5, -131059, 1179649, 6, -65523, 1179649, 7, -262130, 1245185, 4, -196594, 1245185, 5, -131058, 1245185, 6, -65522, 1245185, 7, -131055, 1310721, 1, -65519, 1310721, 2, 17, 1310721, 3, -131054, 1376257, 1, -65518, 1376257, 2, 18, 1376257, 3, -262129, 524289, 13, -196593, 524289, 14, -262128, 589825, 13, -196592, 589825, 14, -65517, 1, 16, 19, 1, 17, -65516, 65537, 16, 20, 65537, 17, -65515, 131073, 16, 21, 131073, 17, 65557, 131073, 18, 131093, 131073, 19, 196629, 131073, 20, 262165, 131073, 21, -65514, 196609, 16, 22, 196609, 17, 65558, 196609, 18, 131094, 196609, 19, 196630, 196609, 20, 262166, 196609, 21, -65513, 262145, 16, 23, 262145, 17, 65559, 262145, 18, 131095, 262145, 19, 196631, 262145, 20, 262167, 262145, 21, -65512, 327681, 16, 24, 327681, 17, -65511, 393217, 16, 25, 393217, 17, 13, 1179649, 8, 14, 1245185, 8, 131087, 1179649, 14, 196623, 1179649, 15, 131088, 1245185, 14, 196624, 1245185, 15, 131089, 1310721, 14, 196625, 1310721, 15, 131090, 1376257, 14, 196626, 1376257, 15) layer_3/name = "Muebles(Delante)" layer_3/z_index = 1 -layer_3/tile_data = PackedInt32Array(262140, 1048577, 10, 327676, 1048577, 11, 393212, 1048577, 12, 458748, 1048577, 13, 262141, 1114113, 10, 327677, 1114113, 11, 393213, 1114113, 12, 458749, 1114113, 13, 393214, 1179649, 12, 458750, 1179649, 13, 393215, 1245185, 12, 458751, 1245185, 13, 327680, 1310721, 12, 393216, 1310721, 13, 327681, 1376257, 12, 393217, 1376257, 13, 131087, 1179649, 14, 196623, 1179649, 15, 131088, 1245185, 14, 196624, 1245185, 15, 131089, 1310721, 14, 196625, 1310721, 15, 131090, 1376257, 14, 196626, 1376257, 15) +layer_3/tile_data = PackedInt32Array(262140, 1048577, 10, 327676, 1048577, 11, 393212, 1048577, 12, 458748, 1048577, 13, 262141, 1114113, 10, 327677, 1114113, 11, 393213, 1114113, 12, 458749, 1114113, 13, 393214, 1179649, 12, 458750, 1179649, 13, 393215, 1245185, 12, 458751, 1245185, 13, 327680, 1310721, 12, 393216, 1310721, 13, 327681, 1376257, 12, 393217, 1376257, 13) layer_4/name = "Muebles Secundarios" layer_4/z_index = -1 layer_4/tile_data = PackedInt32Array(-262139, 196609, 10, -196603, 196609, 11, -131067, 196609, 12, -65531, 196609, 13, 5, 196609, 14, 65541, 196609, 15, -262138, 262145, 10, -196602, 262145, 11, -131066, 262145, 12, -65530, 262145, 13, 6, 262145, 14, 65542, 262145, 15, -262137, 327681, 10, -196601, 327681, 11, -131065, 327681, 12, -65529, 327681, 13, 7, 327681, 14, 65543, 327681, 15, -262124, 1310721, 4, -196588, 1310721, 5, -131052, 1310721, 6, -262123, 1376257, 4, -196587, 1376257, 5, -131051, 1376257, 6) @@ -561,19 +572,170 @@ layer_8/z_index = -1 layer_8/tile_data = PackedInt32Array(262159, 458753, 1342177294, 196623, 393217, 1342177294, 262160, 458753, 1342177293, 196624, 393217, 1342177293, 262161, 458753, 1342177292, 196625, 393217, 1342177292, 262162, 458753, 1342177291, 196626, 393217, 1342177291, 524284, 393217, 1610612746, 458748, 458753, 1610612746, 524285, 393217, 1610612747, 458749, 458753, 1610612747, 524286, 393217, 1610612748, 458750, 458753, 1610612748, 524287, 393217, 1610612749, 458751, 458753, 1610612749, 458752, 393217, 1610612750, 393216, 458753, 1610612750, 458753, 393217, 1610612746, 393217, 458753, 1610612746, 458754, 393217, 1610612747, 393218, 458753, 1610612747, 458755, 393217, 1610612748, 393219, 458753, 1610612748, 458756, 393217, 1610612749, 393220, 458753, 1610612749, 458757, 393217, 1610612746, 393221, 458753, 1610612746, 458758, 393217, 1610612747, 393222, 458753, 1610612747, 458759, 393217, 1610612748, 393223, 458753, 1610612748, 458760, 393217, 1610612749, 393224, 458753, 1610612749, 458761, 393217, 1610612750, 393225, 458753, 1610612750, 458762, 393217, 1610612746, 393226, 458753, 1610612746, 458763, 393217, 1610612747, 393227, 458753, 1610612747, 458764, 393217, 1610612748, 393228, 458753, 1610612748, 458765, 393217, 1610612749, 393229, 458753, 1610612749, 458766, 393217, 1610612746, 393230, 458753, 1610612746, 458767, 393217, 1610612747, 393231, 458753, 1610612747, 458768, 393217, 1610612748, 393232, 458753, 1610612748, 458769, 393217, 1610612749, 393233, 458753, 1610612749, 458770, 393217, 1610612750, 393234, 458753, 1610612750, 458771, 393217, 1610612746, 393235, 458753, 1610612746, 458772, 393217, 1610612747, 393236, 458753, 1610612747, 458773, 393217, 1610612746, 393237, 458753, 1610612746, 458774, 393217, 1610612747, 393238, 458753, 1610612747, 458775, 393217, 1610612748, 393239, 458753, 1610612748, 458776, 393217, 1610612749, 393240, 458753, 1610612749, 458777, 393217, 1610612750, 393241, 458753, 1610612750) layer_9/name = "Columnas v" layer_9/z_index = -1 -layer_9/tile_data = PackedInt32Array(-327668, 393217, 10, -262132, 393217, 11, -196596, 393217, 12, -131060, 393217, 13, -65524, 393217, 14, -327667, 458753, 10, -262131, 458753, 11, -196595, 458753, 12, -131059, 458753, 13, -65523, 458753, 14, 12, 393217, 10, 65548, 393217, 11, 131084, 393217, 12, 196620, 393217, 13, 13, 458753, 10, 65549, 458753, 11, 131085, 458753, 12, 196621, 458753, 13, -65518, 393217, 14, 18, 393217, 11, 65554, 393217, 12, 131090, 393217, 13, 196626, 393217, 14, -65517, 458753, 14, 19, 458753, 11, 65555, 458753, 12, 131091, 458753, 13, 196627, 458753, 14, -327662, 393217, 10, -262126, 393217, 11, -196590, 393217, 12, -131054, 393217, 13, -327661, 458753, 10, -262125, 458753, 11, -196589, 458753, 12, -131053, 458753, 13, 262162, 393217, 14, 262163, 458753, 14, -327655, 393217, 10, -262119, 393217, 11, -196583, 393217, 12, -131047, 393217, 13, -65511, 393217, 14, -327654, 458753, 10, -262118, 458753, 11, -196582, 458753, 12, -131046, 458753, 13, -65510, 458753, 14, 25, 393217, 10, 65561, 393217, 11, 131097, 393217, 10, 196633, 393217, 11, 262169, 393217, 12, 26, 458753, 10, 65562, 458753, 11, 131098, 458753, 10, 196634, 458753, 11, 262170, 458753, 12, 327705, 393217, 13, 393241, 393217, 14, 327706, 458753, 13, 393242, 458753, 14, 196603, 393217, 10, 262139, 393217, 11, 327675, 393217, 12, 393211, 393217, 13, 458747, 393217, 14, 196604, 458753, 10, 262140, 458753, 11, 327676, 458753, 12, 393212, 458753, 13, 458748, 458753, 14, -131077, 393217, 12, -65541, 393217, 13, -5, 393217, 14, 65531, 393217, 13, 131067, 393217, 14, -131076, 458753, 12, -65540, 458753, 13, -4, 458753, 14, 65532, 458753, 13, 131068, 458753, 14, -262149, 393217, 10, -196613, 393217, 11, -262148, 458753, 10, -196612, 458753, 11) +layer_9/tile_data = PackedInt32Array(-327668, 393217, 10, -262132, 393217, 11, -196596, 393217, 12, -131060, 393217, 13, -65524, 393217, 14, -327667, 458753, 10, -262131, 458753, 11, -196595, 458753, 12, -131059, 458753, 13, -65523, 458753, 14, 12, 393217, 10, 65548, 393217, 11, 131084, 393217, 12, 196620, 393217, 13, 13, 458753, 10, 65549, 458753, 11, 131085, 458753, 12, 196621, 458753, 13, -65518, 393217, 14, 18, 393217, 11, 65554, 393217, 12, -65517, 458753, 14, 19, 458753, 11, 65555, 458753, 12, 131091, 458753, 13, 196627, 458753, 14, -327662, 393217, 10, -262126, 393217, 11, -196590, 393217, 12, -131054, 393217, 13, -327661, 458753, 10, -262125, 458753, 11, -196589, 458753, 12, -131053, 458753, 13, 262163, 458753, 14, -327655, 393217, 10, -262119, 393217, 11, -196583, 393217, 12, -131047, 393217, 13, -65511, 393217, 14, -327654, 458753, 10, -262118, 458753, 11, -196582, 458753, 12, -131046, 458753, 13, -65510, 458753, 14, 25, 393217, 10, 65561, 393217, 11, 131097, 393217, 10, 196633, 393217, 11, 262169, 393217, 12, 26, 458753, 10, 65562, 458753, 11, 131098, 458753, 10, 196634, 458753, 11, 262170, 458753, 12, 327705, 393217, 13, 393241, 393217, 14, 327706, 458753, 13, 393242, 458753, 14, 196603, 393217, 10, 262139, 393217, 11, 327675, 393217, 12, 393211, 393217, 13, 458747, 393217, 14, 196604, 458753, 10, 262140, 458753, 11, 327676, 458753, 12, 393212, 458753, 13, 458748, 458753, 14, -131077, 393217, 12, -65541, 393217, 13, -5, 393217, 14, 65531, 393217, 13, 131067, 393217, 14, -131076, 458753, 12, -65540, 458753, 13, -4, 458753, 14, 65532, 458753, 13, 131068, 458753, 14, -262149, 393217, 10, -196613, 393217, 11, -262148, 458753, 10, -196612, 458753, 11) script = ExtResource("2_iqy1m") -[node name="Player-32-64-front-walk" type="Sprite2D" parent="."] -visible = false -position = Vector2(87, 15) -texture = ExtResource("2_0y32a") - [node name="Mariofinal" type="Sprite2D" parent="."] position = Vector2(360, 21) texture = ExtResource("3_fqhnc") -[node name="Trigger" parent="." instance=ExtResource("5_omke0")] +[node name="BathRoomLight" type="Node" parent="."] +script = ExtResource("4_4yf2j") + +[node name="Area2D" type="Area2D" parent="BathRoomLight"] +position = Vector2(274, -241) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="BathRoomLight/Area2D"] +position = Vector2(45.5312, 158.22) +scale = Vector2(0.727806, 0.44) +shape = SubResource("RectangleShape2D_x8dvn") + +[node name="BathRoomShader" type="TextureRect" parent="BathRoomLight"] +z_index = 1 +material = ExtResource("9_n7lhl") +offset_left = 274.0 +offset_top = -241.0 +offset_right = 367.0 +offset_bottom = -48.0 +texture = ExtResource("7_1dy4f") +expand_mode = 1 + +[node name="BackgroundShader" type="TextureRect" parent="."] +z_index = -14 +material = ExtResource("9_n7lhl") +offset_left = -224.0 +offset_top = -110.0 +offset_right = 746.0 +offset_bottom = 401.0 +texture = ExtResource("7_1dy4f") +expand_mode = 1 + +[node name="Triggers" type="Node2D" parent="."] + +[node name="TriggerInicio" parent="Triggers" instance=ExtResource("5_omke0")] +position = Vector2(-10, 54) +scale = Vector2(1.09295, 0.395017) +event_id = "Ev_01" + +[node name="PuertaPruebas" parent="Triggers" instance=ExtResource("5_omke0")] position = Vector2(67, -6) scale = Vector2(2.38952, 2.19651) event_id = "TXT_TEST_1" + +[node name="Screwdriver" parent="Triggers" instance=ExtResource("5_omke0")] +position = Vector2(172, 7) +scale = Vector2(1.12684, 0.992406) +event_id = "Ev_Screwdriver_02" + +[node name="PostIt" parent="Triggers" instance=ExtResource("5_omke0")] +position = Vector2(400, 9) +scale = Vector2(1.06951, 1.19651) +event_id = "Ev_FirstCode" + +[node name="CajaFuerte" parent="Triggers" instance=ExtResource("5_omke0")] +position = Vector2(385, 91) +scale = Vector2(2.38952, 2.19651) +event_id = "Ev_FirstWardrobe" + +[node name="MapaAtraco" parent="Triggers" instance=ExtResource("5_omke0")] +position = Vector2(-7, 71) +scale = Vector2(2.77997, 1.21692) +event_id = "Ev_Blueprint_01" + +[node name="Corpse" parent="Triggers" instance=ExtResource("5_omke0")] +position = Vector2(360, 29) +scale = Vector2(2.48689, 2.65507) +event_id = "Ev_Corpse_01" + +[node name="Pictures" parent="Triggers" instance=ExtResource("5_omke0")] +position = Vector2(-47, 8) +scale = Vector2(1.76689, 1.61507) +event_id = "Ev_Shelve" + +[node name="Rejilla" parent="Triggers" instance=ExtResource("5_omke0")] +position = Vector2(257, -4) +scale = Vector2(1.43894, 0.921395) +event_id = "Ev_Screwdriver_01" + +[node name="DNI" parent="Triggers" instance=ExtResource("5_omke0")] +position = Vector2(320, 10) +scale = Vector2(1.12916, -0.803552) +event_id = "Ev_DNI" + +[node name="FotoEncimera" parent="Triggers" instance=ExtResource("5_omke0")] +position = Vector2(186, 29) +scale = Vector2(0.261314, -0.535602) +event_id = "Ev_SecondBrokenPicture_01" + +[node name="Elements_Interactive" type="Node2D" parent="."] + +[node name="Sofa" parent="Elements_Interactive" instance=ExtResource("5_omke0")] +position = Vector2(-52, 75) +scale = Vector2(1.275, 3.3257) +event_id = "Ev_Sofa" + +[node name="Fregadero" parent="Elements_Interactive" instance=ExtResource("5_omke0")] +position = Vector2(144, 3) +scale = Vector2(0.845591, 1.43631) +event_id = "Ev_Sink" + +[node name="Vater" parent="Elements_Interactive" instance=ExtResource("5_omke0")] +position = Vector2(285, 9) +scale = Vector2(1.21078, 2.17106) +event_id = "Ev_WC" + +[node name="Nevera" parent="Elements_Interactive" instance=ExtResource("5_omke0")] +position = Vector2(110, 11) +scale = Vector2(1.626, 3.27352) +event_id = "Ev_Fridge" + +[node name="Television" parent="Elements_Interactive" instance=ExtResource("5_omke0")] +position = Vector2(5, 3) +scale = Vector2(2.33078, 2.17106) +event_id = "Ev_TV" + +[node name="Espejo" parent="Elements_Interactive" instance=ExtResource("5_omke0")] +position = Vector2(225, -7) +scale = Vector2(1.21078, 2.17106) +event_id = "Ev_Mirror" + +[node name="Shaders" type="CanvasLayer" parent="."] +layer = 11 +script = ExtResource("6_31grw") + +[node name="VIGNETTE" type="TextureRect" parent="Shaders"] +visible = false +material = ExtResource("6_pug0m") +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +size_flags_horizontal = 3 +size_flags_vertical = 3 +texture = ExtResource("7_1dy4f") +expand_mode = 1 + +[node name="Blood" type="TextureRect" parent="Shaders"] +visible = false +material = ExtResource("8_op68h") +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +size_flags_horizontal = 3 +size_flags_vertical = 3 +texture = ExtResource("7_1dy4f") +expand_mode = 1 + +[node name="ZoomItem" parent="." instance=ExtResource("6_youc5")] +visible = false + +[node name="Puzzles" parent="." instance=ExtResource("12_c3sp8")] + +[node name="EndingLayer" parent="." instance=ExtResource("13_1osdi")] +visible = false + +[connection signal="body_entered" from="BathRoomLight/Area2D" to="BathRoomLight" method="_on_area_2d_body_entered"] +[connection signal="body_exited" from="BathRoomLight/Area2D" to="BathRoomLight" method="_on_area_2d_body_exited"] diff --git a/scenes/UI/TransitionScreen.tscn b/scenes/UI/TransitionScreen.tscn new file mode 100644 index 0000000..4ea859e --- /dev/null +++ b/scenes/UI/TransitionScreen.tscn @@ -0,0 +1,74 @@ +[gd_scene load_steps=6 format=3 uid="uid://c5carb0gvrlsd"] + +[ext_resource type="Script" path="res://scripts/globals/TransitionScreen.gd" id="1_83o5v"] + +[sub_resource type="Animation" id="Animation_gosn8"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("ColorTransition:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Color(1, 1, 1, 0)] +} + +[sub_resource type="Animation" id="Animation_i7epx"] +resource_name = "fade_in" +length = 2.5 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("ColorTransition:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)] +} + +[sub_resource type="Animation" id="Animation_tfm3j"] +resource_name = "fade_out" +length = 0.5 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("ColorTransition:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(-0.0333333, 0.5), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_r2fgj"] +_data = { +"RESET": SubResource("Animation_gosn8"), +"fade_in": SubResource("Animation_i7epx"), +"fade_out": SubResource("Animation_tfm3j") +} + +[node name="transition_screen" type="CanvasLayer"] +script = ExtResource("1_83o5v") + +[node name="ColorTransition" type="ColorRect" parent="."] +modulate = Color(1, 1, 1, 0) +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +color = Color(0.1, 0.1, 0.1, 1) + +[node name="AnimationTransition" type="AnimationPlayer" parent="."] +libraries = { +"": SubResource("AnimationLibrary_r2fgj") +} diff --git a/scenes/UI/dialogs.tscn b/scenes/UI/dialogs.tscn index 614439e..2116bcb 100644 --- a/scenes/UI/dialogs.tscn +++ b/scenes/UI/dialogs.tscn @@ -2,21 +2,32 @@ [ext_resource type="Script" path="res://scripts/dialogs_ui.gd" id="1_d7xkf"] -[node name="CanvasLayer" type="CanvasLayer"] +[node name="DialogsLayer" type="CanvasLayer"] layer = 10 +visible = false script = ExtResource("1_d7xkf") [node name="PanelContainer" type="PanelContainer" parent="."] -anchors_preset = -1 -anchor_top = 0.652 +anchors_preset = 12 +anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 +offset_top = -91.0 +grow_horizontal = 2 +grow_vertical = 0 size_flags_stretch_ratio = 0.0 -[node name="Label" type="Label" parent="PanelContainer"] +[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"] +layout_mode = 2 +theme_override_constants/margin_left = 20 +theme_override_constants/margin_top = 2 +theme_override_constants/margin_bottom = 13 + +[node name="Label" type="Label" parent="PanelContainer/MarginContainer"] custom_minimum_size = Vector2(500, 0) layout_mode = 2 size_flags_vertical = 1 +theme_override_font_sizes/font_size = 31 text = "HJKHJKHJKHJKHJKHJJJJJJJJJJJJJJJJ JJJJJJJJJJJJJJJJJJJJJJJJJ JJJJJJJJJJJJJJJJJJJJJJJ JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ JJJJJJJJJJJJJJJJJJ JJJJJJJJJJJJJJJ JJJJJJJJJJJJJJJJJJJJJJJJJ JJJJJJJJJJJJJJJJJJJJ JJJJJJJJJJ JJJJJJJJJJJJJJJJJJJJ JJJJJJJJJJJJJJJJJJJJJJJJJ dddddddddddddd ddddddddddd ddddddddddddd ddddddddddddddd dddddddddddd ddddddddddd ddddddddddd ddddddddddddd dddddddddddddd ddddddddddd ddddddddddd dddddddddddddd dddddddddddddddddddddddddddddddd dddddddddddddd" autowrap_mode = 2 max_lines_visible = 2 diff --git a/scenes/bath_room_light.gd b/scenes/bath_room_light.gd new file mode 100644 index 0000000..5643160 --- /dev/null +++ b/scenes/bath_room_light.gd @@ -0,0 +1,16 @@ +extends Node + +var shaderNode + +func _ready() -> void: + shaderNode = get_node("BathRoomShader") + pass + +func _on_area_2d_body_entered(body: Node2D) -> void: + shaderNode.hide() + pass # Replace with function body. + + +func _on_area_2d_body_exited(body: Node2D) -> void: + shaderNode.show() + pass # Replace with function body. diff --git a/scenes/canvas_puzzle_Mover_Objeto.tscn b/scenes/canvas_puzzle_Mover_Objeto.tscn index ed58e4d..a18acbb 100644 --- a/scenes/canvas_puzzle_Mover_Objeto.tscn +++ b/scenes/canvas_puzzle_Mover_Objeto.tscn @@ -1,10 +1,11 @@ -[gd_scene load_steps=7 format=3 uid="uid://bifiob62aodmk"] +[gd_scene load_steps=8 format=3 uid="uid://bifiob62aodmk"] -[ext_resource type="Script" path="res://scripts/canvas_puzzle_Mover_Estnteria.gd" id="1_3da2b"] [ext_resource type="Shader" path="res://scripts/shaders/sangre.gdshader" id="1_4ylk4"] +[ext_resource type="Script" path="res://scripts/puzzle/puzzle_mapa_atraco.gd" id="1_rjcyk"] [ext_resource type="Texture2D" uid="uid://dpgfyd6v8ifd0" path="res://assets/materials/white-background.png" id="2_bfdec"] [ext_resource type="Texture2D" uid="uid://dio3acuttcete" path="res://assets/assets/Inside_C.png" id="3_xo6g8"] [ext_resource type="Texture2D" uid="uid://bo5oocg3ulo6y" path="res://icon.svg" id="4_enplm"] +[ext_resource type="PackedScene" uid="uid://cqeulcfun6yx7" path="res://scenes/Prefabs/pieza_mapa_atraco.tscn" id="6_vcpju"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_bphmv"] shader = ExtResource("1_4ylk4") @@ -14,6 +15,7 @@ shader_parameter/internal_limit = 0.3 shader_parameter/external_limit = 0.6 [node name="CanvasPuzzleMoverObjetos" type="CanvasLayer"] +script = ExtResource("1_rjcyk") [node name="Sprite2D" type="Sprite2D" parent="."] material = SubResource("ShaderMaterial_bphmv") @@ -28,16 +30,16 @@ texture = ExtResource("3_xo6g8") region_enabled = true region_rect = Rect2(688, 144, 64, 48) -[node name="Node2D" type="Node2D" parent="."] +[node name="button scene" type="Node2D" parent="."] -[node name="Marker2D" type="Marker2D" parent="Node2D"] -position = Vector2(741, 169) +[node name="pieza_Mapa_Atraco" parent="button scene" instance=ExtResource("6_vcpju")] +offset_left = 227.0 +offset_top = 150.0 +offset_right = 355.0 +offset_bottom = 278.0 -[node name="Sprite2D3" type="Sprite2D" parent="Node2D/Marker2D"] -position = Vector2(1, 1) -texture = ExtResource("4_enplm") +[node name="Marker2D" type="Marker2D" parent="button scene"] +position = Vector2(519, 182) -[node name="Sprite2D2" type="Sprite2D" parent="Node2D"] -position = Vector2(227, 176) +[node name="Sprite2D" type="Sprite2D" parent="button scene/Marker2D"] texture = ExtResource("4_enplm") -script = ExtResource("1_3da2b") diff --git a/scenes/encimera.tscn b/scenes/encimera.tscn deleted file mode 100644 index 17a8744..0000000 --- a/scenes/encimera.tscn +++ /dev/null @@ -1,19 +0,0 @@ -[gd_scene load_steps=4 format=3 uid="uid://csu31rwdb46rv"] - -[ext_resource type="Script" path="res://scripts/encimera.gd" id="1_fbvnn"] -[ext_resource type="Texture2D" uid="uid://bo5oocg3ulo6y" path="res://icon.svg" id="2_io3pr"] - -[sub_resource type="CircleShape2D" id="CircleShape2D_sd86d"] -radius = 145.774 - -[node name="encimera" type="Area2D"] -collision_layer = 2 -script = ExtResource("1_fbvnn") - -[node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2(1, -67) -shape = SubResource("CircleShape2D_sd86d") - -[node name="Sprite2D" type="Sprite2D" parent="."] -position = Vector2(2, -64) -texture = ExtResource("2_io3pr") diff --git a/scenes/jugador.tscn b/scenes/jugador.tscn index cff69a8..62deca0 100644 --- a/scenes/jugador.tscn +++ b/scenes/jugador.tscn @@ -1,9 +1,35 @@ -[gd_scene load_steps=25 format=3 uid="uid://bumaujc3plt5v"] +[gd_scene load_steps=39 format=3 uid="uid://bumaujc3plt5v"] [ext_resource type="Script" path="res://scripts/jugador.gd" id="1_iaisd"] +[ext_resource type="Texture2D" uid="uid://dglmitv2urhpu" path="res://assets/sprites/Player/player-32-64-back-walk.png" id="2_ikbc8"] [ext_resource type="Texture2D" uid="uid://c5d0dvq4eae3m" path="res://assets/assets/Player/Player_idle_32x64.png" id="2_t4fh5"] [ext_resource type="Texture2D" uid="uid://b2qihulvh2wpm" path="res://assets/assets/Player/player_move_mario.png" id="3_fgnj0"] [ext_resource type="Texture2D" uid="uid://4f1y0exfvp1p" path="res://assets/assets/Player/player-32-64-front-walk.png" id="4_ee2q4"] +[ext_resource type="Texture2D" uid="uid://dquc683bj426q" path="res://assets/sprites/Player/player_idle_up.png" id="4_i2ohi"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_vlnoj"] +atlas = ExtResource("2_ikbc8") +region = Rect2(0, 0, 32, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_eaduc"] +atlas = ExtResource("2_ikbc8") +region = Rect2(32, 0, 32, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vqygd"] +atlas = ExtResource("2_ikbc8") +region = Rect2(64, 0, 32, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_4lghm"] +atlas = ExtResource("2_ikbc8") +region = Rect2(96, 0, 32, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_710id"] +atlas = ExtResource("2_ikbc8") +region = Rect2(128, 0, 32, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ij1w2"] +atlas = ExtResource("2_ikbc8") +region = Rect2(160, 0, 32, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_a0jyu"] atlas = ExtResource("2_t4fh5") @@ -29,6 +55,30 @@ region = Rect2(128, 0, 32, 64) atlas = ExtResource("2_t4fh5") region = Rect2(160, 0, 32, 64) +[sub_resource type="AtlasTexture" id="AtlasTexture_61b73"] +atlas = ExtResource("4_i2ohi") +region = Rect2(0, 0, 32, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bcoku"] +atlas = ExtResource("4_i2ohi") +region = Rect2(32, 0, 32, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_lmtlg"] +atlas = ExtResource("4_i2ohi") +region = Rect2(64, 0, 32, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_idohs"] +atlas = ExtResource("4_i2ohi") +region = Rect2(96, 0, 32, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_w06bs"] +atlas = ExtResource("4_i2ohi") +region = Rect2(128, 0, 32, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_w21v2"] +atlas = ExtResource("4_i2ohi") +region = Rect2(160, 0, 32, 64) + [sub_resource type="AtlasTexture" id="AtlasTexture_66yqx"] atlas = ExtResource("3_fgnj0") region = Rect2(0, 0, 32, 64) @@ -81,6 +131,29 @@ region = Rect2(160, 0, 32, 64) animations = [{ "frames": [{ "duration": 1.0, +"texture": SubResource("AtlasTexture_vlnoj") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_eaduc") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vqygd") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_4lghm") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_710id") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ij1w2") +}], +"loop": true, +"name": &"WalkUp", +"speed": 9.0 +}, { +"frames": [{ +"duration": 1.0, "texture": SubResource("AtlasTexture_a0jyu") }, { "duration": 1.0, @@ -100,7 +173,30 @@ animations = [{ }], "loop": true, "name": &"idle", -"speed": 5.0 +"speed": 4.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_61b73") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bcoku") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_lmtlg") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_idohs") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_w06bs") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_w21v2") +}], +"loop": true, +"name": &"idleUp", +"speed": 4.0 }, { "frames": [{ "duration": 1.0, @@ -123,7 +219,7 @@ animations = [{ }], "loop": true, "name": &"walk", -"speed": 5.0 +"speed": 9.0 }, { "frames": [{ "duration": 1.0, @@ -146,7 +242,7 @@ animations = [{ }], "loop": true, "name": &"walkFront", -"speed": 5.0 +"speed": 9.0 }] [sub_resource type="CircleShape2D" id="CircleShape2D_im3by"] @@ -159,9 +255,9 @@ script = ExtResource("1_iaisd") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] position = Vector2(-3, -18) sprite_frames = SubResource("SpriteFrames_tr3ah") -animation = &"walk" +animation = &"idleUp" autoplay = "idle" -frame_progress = 0.295874 +frame_progress = 0.780234 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(-2, 8) diff --git a/scenes/prueba_shaders.tscn b/scenes/prueba_shaders.tscn index f06d4dd..22dce33 100644 --- a/scenes/prueba_shaders.tscn +++ b/scenes/prueba_shaders.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=18 format=3 uid="uid://bnpnpi2np76p8"] +[gd_scene load_steps=19 format=3 uid="uid://bnpnpi2np76p8"] [ext_resource type="Shader" path="res://scripts/shaders/Grayscale.gdshader" id="1_lq7pq"] [ext_resource type="Script" path="res://scripts/prueba_shaders.gd" id="1_lv4km"] @@ -46,6 +46,13 @@ shader_parameter/vignette_strength = 0.5 shader_parameter/vignette_radius = 0.6 shader_parameter/vignette_color = Vector3(0, 0, 0) +[sub_resource type="ShaderMaterial" id="ShaderMaterial_hvrxb"] +shader = ExtResource("6_ojtsw") +shader_parameter/blood_color = null +shader_parameter/blood_intensity = 0.5 +shader_parameter/internal_limit = 0.3 +shader_parameter/external_limit = 0.6 + [node name="prueba shaders" type="Node2D"] script = ExtResource("1_lv4km") @@ -55,7 +62,7 @@ texture = ExtResource("2_y4n4r") [node name="Grayscale" type="Sprite2D" parent="."] material = SubResource("ShaderMaterial_tdfm5") -position = Vector2(244, 86) +position = Vector2(1190, 443) texture = ExtResource("2_y4n4r") [node name="azulOscuro" type="Sprite2D" parent="."] @@ -102,6 +109,6 @@ grow_horizontal = 2 grow_vertical = 2 [node name="TextureRect" type="TextureRect" parent="CanvasLayer/MarginContainer"] -material = ExtResource("10_iioe6") +material = SubResource("ShaderMaterial_hvrxb") layout_mode = 2 texture = ExtResource("11_2fou1") diff --git a/scenes/puzzles/puz88F4.tmp b/scenes/puzzles/puz88F4.tmp new file mode 100644 index 0000000..dfda1f6 --- /dev/null +++ b/scenes/puzzles/puz88F4.tmp @@ -0,0 +1,29 @@ +[gd_scene load_steps=6 format=3 uid="uid://cdtljaux3f3i1"] + +[ext_resource type="Script" path="res://scripts/puzzle/puzzles.gd" id="1_d3p88"] +[ext_resource type="PackedScene" uid="uid://b7o2r2hgpxo7e" path="res://scenes/puzzles/puzzle_fotos_estanteria.tscn" id="1_jbvj8"] +[ext_resource type="PackedScene" uid="uid://dhs180cnfuqmr" path="res://scenes/puzzles/puzzle_rejilla.tscn" id="3_b623p"] +[ext_resource type="PackedScene" uid="uid://e6vos4yr7bpq" path="res://scenes/puzzles/puzzle_mapa_atraco.tscn" id="4_4i0f0"] +[ext_resource type="PackedScene" uid="uid://dqm6q0g8uqrjn" path="res://scenes/puzzles/puzzle_caja_fuerte.tscn" id="4_ugdwm"] + +[node name="Puzzles" type="Node"] +script = ExtResource("1_d3p88") + +[node name="PuzzleFotosEstanteria" parent="." instance=ExtResource("1_jbvj8")] +visible = false +event_id = "Ev_Shelve" +event_id_foto_fran = "Ev_Picture_01" +event_id_foto_mario = "Ev_Picture_02" +event_id_foto_rota = "Ev_Picture_03" + +[node name="PuzzleRejilla" parent="." instance=ExtResource("3_b623p")] +visible = false +event_id = "Ev_Screwdriver_01" + +[node name="puzzle_mapa_atraco" parent="." instance=ExtResource("4_4i0f0")] +visible = false +event_id = "Ev_Blueprint_01" + +[node name="Puzzle_caja_fuerte" parent="." instance=ExtResource("4_ugdwm")] +visible = false +event_id = "Ev_FirstWardrobe" diff --git a/scenes/puzle_4_fotos.tscn b/scenes/puzzles/puzle_4_fotos.tscn similarity index 100% rename from scenes/puzle_4_fotos.tscn rename to scenes/puzzles/puzle_4_fotos.tscn diff --git a/scenes/puzzles/puzzle_caja_fuerte.tscn b/scenes/puzzles/puzzle_caja_fuerte.tscn new file mode 100644 index 0000000..84009f6 --- /dev/null +++ b/scenes/puzzles/puzzle_caja_fuerte.tscn @@ -0,0 +1,166 @@ +[gd_scene load_steps=18 format=3 uid="uid://dqm6q0g8uqrjn"] + +[ext_resource type="Script" path="res://scripts/puzzle/puzzle_caja_fuerte.gd" id="1_7dboa"] +[ext_resource type="Texture2D" uid="uid://c0f4w82r8i16a" path="res://assets/sprites/Puzles/caja fuerte/caja_fuerte.png" id="1_73d0e"] +[ext_resource type="PackedScene" uid="uid://bfb3rby1lilfu" path="res://scenes/Prefabs/button.tscn" id="3_m2iiv"] +[ext_resource type="Texture2D" uid="uid://djn2nrodw742b" path="res://assets/sprites/Puzles/caja fuerte/0.png" id="4_4sq3f"] +[ext_resource type="Texture2D" uid="uid://dvoqj3xo30q3p" path="res://assets/sprites/Puzles/caja fuerte/1.png" id="5_u808u"] +[ext_resource type="Texture2D" uid="uid://yhxxy21n8ol4" path="res://assets/sprites/Puzles/caja fuerte/2.png" id="6_wcmy3"] +[ext_resource type="Texture2D" uid="uid://cn0uf15q4x7sx" path="res://assets/sprites/Puzles/caja fuerte/3.png" id="7_jna3r"] +[ext_resource type="Texture2D" uid="uid://b0cbw7u7yib8i" path="res://assets/sprites/Puzles/caja fuerte/4.png" id="8_5u5lo"] +[ext_resource type="Texture2D" uid="uid://c3svm87clv1pt" path="res://assets/sprites/Puzles/caja fuerte/5.png" id="9_mx5vi"] +[ext_resource type="Texture2D" uid="uid://dyeo1pcegame8" path="res://assets/sprites/Puzles/caja fuerte/6.png" id="10_7bo4p"] +[ext_resource type="Texture2D" uid="uid://0x31jcilx2wt" path="res://assets/sprites/Puzles/caja fuerte/7.png" id="11_x6s0y"] +[ext_resource type="Texture2D" uid="uid://bnekf1imch2ad" path="res://assets/sprites/Puzles/caja fuerte/8.png" id="12_3craj"] +[ext_resource type="Texture2D" uid="uid://colnrs6j4nrak" path="res://assets/sprites/Puzles/caja fuerte/borrar.png" id="12_t33hh"] +[ext_resource type="Texture2D" uid="uid://xv7ayq4ghika" path="res://assets/sprites/Puzles/caja fuerte/enter.png" id="13_8j640"] +[ext_resource type="Texture2D" uid="uid://cvdfcghob2tf8" path="res://assets/sprites/Puzles/caja fuerte/9.png" id="13_dqnmf"] +[ext_resource type="Texture2D" uid="uid://m46joef1s360" path="res://assets/sprites/Puzles/caja fuerte/caja_fuerte_abierta_sin_nada.png" id="16_qtd77"] +[ext_resource type="Texture2D" uid="uid://v4dpneacccuk" path="res://assets/sprites/Puzles/caja fuerte/pistola_dinero.png" id="17_e31n1"] + +[node name="Puzzle_caja_fuerte" type="CanvasLayer"] +script = ExtResource("1_7dboa") + +[node name="cajaFuerteCerrada" type="Sprite2D" parent="."] +position = Vector2(479.938, 268.09) +scale = Vector2(4.00885, 3.96904) +texture = ExtResource("1_73d0e") + +[node name="botones" type="Node2D" parent="."] + +[node name="0" parent="botones" instance=ExtResource("3_m2iiv")] +offset_left = 568.0 +offset_top = 449.0 +offset_right = 577.0 +offset_bottom = 459.0 +scale = Vector2(4, 4) +texture_normal = ExtResource("4_4sq3f") +numero = "0" + +[node name="1" parent="botones" instance=ExtResource("3_m2iiv")] +offset_left = 504.0 +offset_top = 270.0 +offset_right = 513.0 +offset_bottom = 280.0 +scale = Vector2(4, 4) +texture_normal = ExtResource("5_u808u") +numero = "1" + +[node name="2" parent="botones" instance=ExtResource("3_m2iiv")] +offset_left = 568.0 +offset_top = 270.0 +offset_right = 577.0 +offset_bottom = 280.0 +scale = Vector2(4, 4) +texture_normal = ExtResource("6_wcmy3") +numero = "2" + +[node name="3" parent="botones" instance=ExtResource("3_m2iiv")] +offset_left = 632.0 +offset_top = 270.0 +offset_right = 641.0 +offset_bottom = 280.0 +scale = Vector2(4, 4) +texture_normal = ExtResource("7_jna3r") +numero = "3" + +[node name="4" parent="botones" instance=ExtResource("3_m2iiv")] +offset_left = 504.0 +offset_top = 329.0 +offset_right = 513.0 +offset_bottom = 339.0 +scale = Vector2(4, 4) +texture_normal = ExtResource("8_5u5lo") +numero = "4" + +[node name="5" parent="botones" instance=ExtResource("3_m2iiv")] +offset_left = 568.0 +offset_top = 329.0 +offset_right = 577.0 +offset_bottom = 339.0 +scale = Vector2(4, 4) +texture_normal = ExtResource("9_mx5vi") +numero = "5" + +[node name="6" parent="botones" instance=ExtResource("3_m2iiv")] +offset_left = 632.0 +offset_top = 329.0 +offset_right = 641.0 +offset_bottom = 339.0 +scale = Vector2(4, 4) +texture_normal = ExtResource("10_7bo4p") +numero = "6" + +[node name="7" parent="botones" instance=ExtResource("3_m2iiv")] +offset_left = 504.0 +offset_top = 389.0 +offset_right = 513.0 +offset_bottom = 399.0 +scale = Vector2(4, 4) +texture_normal = ExtResource("11_x6s0y") +numero = "7" + +[node name="8" parent="botones" instance=ExtResource("3_m2iiv")] +offset_left = 568.0 +offset_top = 389.0 +offset_right = 577.0 +offset_bottom = 399.0 +scale = Vector2(4, 4) +texture_normal = ExtResource("12_3craj") +numero = "8" + +[node name="9" parent="botones" instance=ExtResource("3_m2iiv")] +offset_left = 632.0 +offset_top = 389.0 +offset_right = 641.0 +offset_bottom = 399.0 +scale = Vector2(4, 4) +texture_normal = ExtResource("13_dqnmf") +numero = "9" + +[node name="E" parent="botones" instance=ExtResource("3_m2iiv")] +offset_left = 504.0 +offset_top = 448.0 +offset_right = 513.0 +offset_bottom = 458.0 +scale = Vector2(4, 4) +texture_normal = ExtResource("12_t33hh") +numero = "EXIT" + +[node name="ENTER" parent="botones" instance=ExtResource("3_m2iiv")] +offset_left = 632.0 +offset_top = 448.0 +offset_right = 641.0 +offset_bottom = 458.0 +scale = Vector2(4, 4) +texture_normal = ExtResource("13_8j640") +numero = "ENTER" + +[node name="resultado" type="Label" parent="."] +offset_left = 521.0 +offset_top = 218.0 +offset_right = 592.0 +offset_bottom = 262.0 +scale = Vector2(1.79249, 0.710957) +theme_override_font_sizes/font_size = 31 +uppercase = true + +[node name="cajaFuerteAbierta" type="Sprite2D" parent="."] +visible = false +position = Vector2(479.938, 268.09) +scale = Vector2(4.00885, 3.96904) +texture = ExtResource("16_qtd77") + +[node name="pistola" parent="cajaFuerteAbierta" instance=ExtResource("3_m2iiv")] +offset_left = -42.6402 +offset_top = 19.1255 +offset_right = 45.3598 +offset_bottom = 66.1255 +texture_normal = ExtResource("17_e31n1") +numero = "PISTOLA" + +[node name="pistola" type="Sprite2D" parent="."] +visible = false +position = Vector2(475, 284) +scale = Vector2(4.00885, 3.96904) +texture = ExtResource("17_e31n1") diff --git a/scenes/puzzles/puzzle_fotos_estanteria.tscn b/scenes/puzzles/puzzle_fotos_estanteria.tscn new file mode 100644 index 0000000..ed3b69d --- /dev/null +++ b/scenes/puzzles/puzzle_fotos_estanteria.tscn @@ -0,0 +1,149 @@ +[gd_scene load_steps=17 format=3 uid="uid://b7o2r2hgpxo7e"] + +[ext_resource type="Texture2D" uid="uid://deydup4oa6ss1" path="res://assets/sprites/Puzles/puzle4_fotos/fotos_estanterias_vacia_240x135.png" id="1_5h2ek"] +[ext_resource type="Script" path="res://scripts/puzzle/puzzle_fotos_estanteria.gd" id="1_vdajd"] +[ext_resource type="Texture2D" uid="uid://x0qiakbruusr" path="res://assets/sprites/Puzles/puzle4_fotos/fotos_estanterias_240x135.png" id="2_ht76q"] +[ext_resource type="Texture2D" uid="uid://brbcsir8t2aeu" path="res://assets/sprites/Puzles/puzle4_fotos/foto_rota_trasera.png" id="4_mqfyw"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_d8k48"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_64x2g"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_b2a6n"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_p8qk0"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_6rapp"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_exc0r"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_2eljc"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_0n7y4"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_uske8"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_y1ra2"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1vroj"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_bt1ii"] + +[node name="PuzzleFotosEstanteria" type="CanvasLayer"] +script = ExtResource("1_vdajd") + +[node name="FotosEstanterias240x135" type="TextureRect" parent="."] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_top = 1.0 +offset_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("2_ht76q") + +[node name="FrancescoFotoButton" type="Button" parent="."] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 40.0 +offset_top = 177.0 +offset_right = -660.0 +offset_bottom = -55.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_styles/focus = SubResource("StyleBoxEmpty_d8k48") +theme_override_styles/disabled_mirrored = SubResource("StyleBoxEmpty_64x2g") +theme_override_styles/disabled = SubResource("StyleBoxEmpty_b2a6n") +theme_override_styles/hover_pressed_mirrored = SubResource("StyleBoxEmpty_p8qk0") +theme_override_styles/hover_pressed = SubResource("StyleBoxEmpty_6rapp") +theme_override_styles/hover_mirrored = SubResource("StyleBoxEmpty_exc0r") +theme_override_styles/hover = SubResource("StyleBoxEmpty_2eljc") +theme_override_styles/pressed_mirrored = SubResource("StyleBoxEmpty_0n7y4") +theme_override_styles/pressed = SubResource("StyleBoxEmpty_uske8") +theme_override_styles/normal_mirrored = SubResource("StyleBoxEmpty_y1ra2") +theme_override_styles/normal = SubResource("StyleBoxEmpty_1vroj") + +[node name="MarioFotoButton" type="Button" parent="."] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 352.0 +offset_top = 181.0 +offset_right = -348.0 +offset_bottom = -51.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_styles/focus = SubResource("StyleBoxEmpty_d8k48") +theme_override_styles/disabled_mirrored = SubResource("StyleBoxEmpty_64x2g") +theme_override_styles/disabled = SubResource("StyleBoxEmpty_b2a6n") +theme_override_styles/hover_pressed_mirrored = SubResource("StyleBoxEmpty_p8qk0") +theme_override_styles/hover_pressed = SubResource("StyleBoxEmpty_6rapp") +theme_override_styles/hover_mirrored = SubResource("StyleBoxEmpty_exc0r") +theme_override_styles/hover = SubResource("StyleBoxEmpty_2eljc") +theme_override_styles/pressed_mirrored = SubResource("StyleBoxEmpty_0n7y4") +theme_override_styles/pressed = SubResource("StyleBoxEmpty_uske8") +theme_override_styles/normal_mirrored = SubResource("StyleBoxEmpty_y1ra2") +theme_override_styles/normal = SubResource("StyleBoxEmpty_1vroj") + +[node name="FotoRotaButton" type="Button" parent="."] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 660.0 +offset_top = 177.0 +offset_right = -40.0 +offset_bottom = -55.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_styles/focus = SubResource("StyleBoxEmpty_d8k48") +theme_override_styles/disabled_mirrored = SubResource("StyleBoxEmpty_64x2g") +theme_override_styles/disabled = SubResource("StyleBoxEmpty_b2a6n") +theme_override_styles/hover_pressed_mirrored = SubResource("StyleBoxEmpty_p8qk0") +theme_override_styles/hover_pressed = SubResource("StyleBoxEmpty_6rapp") +theme_override_styles/hover_mirrored = SubResource("StyleBoxEmpty_exc0r") +theme_override_styles/hover = SubResource("StyleBoxEmpty_2eljc") +theme_override_styles/pressed_mirrored = SubResource("StyleBoxEmpty_0n7y4") +theme_override_styles/pressed = SubResource("StyleBoxEmpty_uske8") +theme_override_styles/normal_mirrored = SubResource("StyleBoxEmpty_y1ra2") +theme_override_styles/normal = SubResource("StyleBoxEmpty_1vroj") + +[node name="EsquinaRota" type="Button" parent="."] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 920.0 +offset_top = 279.0 +offset_right = -2.0 +offset_bottom = -50.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_styles/normal = SubResource("StyleBoxEmpty_bt1ii") + +[node name="FotosEstanteriasVacia240x135" type="TextureRect" parent="."] +visible = false +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 660.0 +offset_top = 1.0 +offset_right = 660.0 +offset_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("1_5h2ek") + +[node name="TextureButton" type="TextureButton" parent="."] +visible = false +offset_left = 301.0 +offset_top = 41.0 +offset_right = 550.78 +offset_bottom = 176.0 +scale = Vector2(4, 4) +texture_normal = ExtResource("4_mqfyw") +stretch_mode = 5 + +[connection signal="pressed" from="FrancescoFotoButton" to="." method="_on_francesco_foto_button_pressed"] +[connection signal="pressed" from="MarioFotoButton" to="." method="_on_mario_foto_button_pressed"] +[connection signal="pressed" from="FotoRotaButton" to="." method="_on_foto_rota_button_pressed"] +[connection signal="pressed" from="EsquinaRota" to="." method="_on_esquina_rota_pressed"] diff --git a/scenes/puzzles/puzzle_mapa_atraco.tscn b/scenes/puzzles/puzzle_mapa_atraco.tscn new file mode 100644 index 0000000..80ae0f2 --- /dev/null +++ b/scenes/puzzles/puzzle_mapa_atraco.tscn @@ -0,0 +1,142 @@ +[gd_scene load_steps=13 format=3 uid="uid://e6vos4yr7bpq"] + +[ext_resource type="Script" path="res://scripts/puzzle/puzzle_mapa_atraco.gd" id="1_4km8f"] +[ext_resource type="PackedScene" uid="uid://cqeulcfun6yx7" path="res://scenes/Prefabs/pieza_mapa_atraco.tscn" id="1_hp64i"] +[ext_resource type="Texture2D" uid="uid://py3fg01ncaem" path="res://assets/sprites/Puzles/puzle_atraco/mesa.png" id="2_qsfei"] +[ext_resource type="Texture2D" uid="uid://bs7jkvnxmhvxc" path="res://assets/sprites/Puzles/puzle_atraco/trozo 1.png" id="3_dd8kb"] +[ext_resource type="Texture2D" uid="uid://oe3gw6tfky7p" path="res://assets/sprites/Puzles/puzle_atraco/Marcador.png" id="4_jn5q5"] +[ext_resource type="Texture2D" uid="uid://j65oafcttl5g" path="res://assets/sprites/Puzles/puzle_atraco/trozo 5.png" id="4_p5a80"] +[ext_resource type="Texture2D" uid="uid://cfl34mwdi8jbg" path="res://assets/sprites/Puzles/puzle_atraco/trozo 4.png" id="5_ef8x4"] +[ext_resource type="Texture2D" uid="uid://h1b7pw0p6t71" path="res://assets/sprites/Puzles/puzle_atraco/puzle_atraco.png" id="5_oudsq"] +[ext_resource type="Texture2D" uid="uid://guhenkfylwi5" path="res://assets/sprites/Puzles/puzle_atraco/trozo 2.png" id="6_c6vf8"] +[ext_resource type="Texture2D" uid="uid://cf2au71lpyvo" path="res://assets/sprites/Puzles/puzle_atraco/trozo 6.png" id="7_ukur3"] +[ext_resource type="Texture2D" uid="uid://ccmrnx5ksw77p" path="res://assets/sprites/Puzles/puzle_atraco/trozo 3.png" id="8_jgt2d"] +[ext_resource type="Texture2D" uid="uid://02iycftkhajx" path="res://assets/sprites/Puzles/puzle_atraco/trozo 7.png" id="9_o403j"] + +[node name="puzzle_mapa_atraco" type="CanvasLayer"] +script = ExtResource("1_4km8f") + +[node name="Mesa" type="Sprite2D" parent="."] +position = Vector2(483, 273) +scale = Vector2(4.00417, 4.04815) +texture = ExtResource("2_qsfei") + +[node name="piezas" type="Node2D" parent="."] + +[node name="Superior" parent="piezas" instance=ExtResource("1_hp64i")] +offset_left = 615.0 +offset_top = 346.0 +offset_right = 701.0 +offset_bottom = 393.0 +scale = Vector2(3.5, 3.5) +texture_normal = ExtResource("7_ukur3") + +[node name="Inferior" parent="piezas" instance=ExtResource("1_hp64i")] +offset_left = -14.0 +offset_top = -3.99994 +offset_right = 135.0 +offset_bottom = 41.0001 +scale = Vector2(3.5, 3.5) +texture_normal = ExtResource("8_jgt2d") + +[node name="Centro" parent="piezas" instance=ExtResource("1_hp64i")] +offset_left = -3.99997 +offset_top = 249.0 +offset_right = 83.0 +offset_bottom = 314.0 +scale = Vector2(3.5, 3.5) +texture_normal = ExtResource("9_o403j") + +[node name="EsquinaSuperiorHizquierda" parent="piezas" instance=ExtResource("1_hp64i")] +offset_left = 289.0 +offset_top = 278.0 +offset_right = 370.0 +offset_bottom = 329.0 +scale = Vector2(3.5, 3.5) +texture_normal = ExtResource("3_dd8kb") + +[node name="EsquinaSuperiorDerecha" parent="piezas" instance=ExtResource("1_hp64i")] +offset_left = 170.0 +offset_top = 158.0 +offset_right = 250.0 +offset_bottom = 219.0 +scale = Vector2(3.5, 3.5) +texture_normal = ExtResource("4_p5a80") + +[node name="EsquinaInferiorDerecha" parent="piezas" instance=ExtResource("1_hp64i")] +offset_left = 450.0 +offset_top = -1.99998 +offset_right = 523.0 +offset_bottom = 70.0 +scale = Vector2(3.5, 3.5) +texture_normal = ExtResource("5_ef8x4") + +[node name="EsquinaInferiorHizquierda" parent="piezas" instance=ExtResource("1_hp64i")] +offset_left = 684.0 +offset_top = 128.0 +offset_right = 751.0 +offset_bottom = 198.0 +scale = Vector2(3.5, 3.5) +texture_normal = ExtResource("6_c6vf8") + +[node name="Marker2DEsquinaSuperiorHizquierda" type="Marker2D" parent="piezas"] +visible = false +position = Vector2(262, 149) +scale = Vector2(2, 2) + +[node name="Sprite2D" type="Sprite2D" parent="piezas/Marker2DEsquinaSuperiorHizquierda"] +texture = ExtResource("4_jn5q5") + +[node name="Marker2DEsquinaSuperiorDerecha" type="Marker2D" parent="piezas"] +visible = false +position = Vector2(640, 187) +scale = Vector2(2, 2) + +[node name="Sprite2D" type="Sprite2D" parent="piezas/Marker2DEsquinaSuperiorDerecha"] +texture = ExtResource("4_jn5q5") + +[node name="Marker2DEsquinaInferiorDerecha" type="Marker2D" parent="piezas"] +visible = false +position = Vector2(650, 327) +scale = Vector2(2, 2) + +[node name="Sprite2D" type="Sprite2D" parent="piezas/Marker2DEsquinaInferiorDerecha"] +texture = ExtResource("4_jn5q5") + +[node name="Marker2DEsquinaInferiorHizquierda" type="Marker2D" parent="piezas"] +visible = false +position = Vector2(232, 324) +scale = Vector2(2, 2) + +[node name="Sprite2D" type="Sprite2D" parent="piezas/Marker2DEsquinaInferiorHizquierda"] +texture = ExtResource("4_jn5q5") + +[node name="Marker2DSuperior" type="Marker2D" parent="piezas"] +visible = false +position = Vector2(437, 158) +scale = Vector2(2, 2) + +[node name="Sprite2D" type="Sprite2D" parent="piezas/Marker2DSuperior"] +texture = ExtResource("4_jn5q5") + +[node name="Marker2DInferior" type="Marker2D" parent="piezas"] +visible = false +position = Vector2(424, 365) +scale = Vector2(2, 2) + +[node name="Sprite2D" type="Sprite2D" parent="piezas/Marker2DInferior"] +texture = ExtResource("4_jn5q5") + +[node name="Marker2DCentro" type="Marker2D" parent="piezas"] +visible = false +position = Vector2(433, 270) +scale = Vector2(2, 2) + +[node name="Sprite2D" type="Sprite2D" parent="piezas/Marker2DCentro"] +texture = ExtResource("4_jn5q5") + +[node name="mapaCompletado" type="Sprite2D" parent="."] +visible = false +position = Vector2(481, 272.5) +scale = Vector2(4, 4.02222) +texture = ExtResource("5_oudsq") diff --git a/scenes/puzzles/puzzle_rejilla.tscn b/scenes/puzzles/puzzle_rejilla.tscn new file mode 100644 index 0000000..81e6318 --- /dev/null +++ b/scenes/puzzles/puzzle_rejilla.tscn @@ -0,0 +1,61 @@ +[gd_scene load_steps=7 format=3 uid="uid://dhs180cnfuqmr"] + +[ext_resource type="Script" path="res://scripts/puzzles_rejilla.gd" id="1_se3rp"] +[ext_resource type="Texture2D" uid="uid://clbi4qkjf8o6n" path="res://assets/assets/Puzles/puzle2-rejilla/rejilla-sin-pastis.png" id="2_wa4i2"] +[ext_resource type="PackedScene" uid="uid://bfb3rby1lilfu" path="res://scenes/Prefabs/button.tscn" id="3_ptbyf"] +[ext_resource type="Texture2D" uid="uid://dgxe0ans3vsxh" path="res://assets/sprites/Puzles/puzle2-rejilla/pastillas64x64.png" id="4_pf470"] +[ext_resource type="Texture2D" uid="uid://dixpu7d04o707" path="res://assets/assets/Puzles/puzle2-rejilla/rejilla-sin-tornillos.png" id="5_tothm"] +[ext_resource type="PackedScene" uid="uid://2jvwv2uig8ff" path="res://scenes/Prefabs/tornillo.tscn" id="7_fxspc"] + +[node name="PuzzleRejilla" type="CanvasLayer"] +script = ExtResource("1_se3rp") + +[node name="Rejilla-sin-pastis" type="Sprite2D" parent="."] +visible = false +position = Vector2(481, 273) +scale = Vector2(4, 4) +texture = ExtResource("2_wa4i2") + +[node name="pastillas" parent="Rejilla-sin-pastis" instance=ExtResource("3_ptbyf")] +offset_left = -38.5 +offset_top = 13.0 +offset_right = 25.5 +offset_bottom = 77.0 +scale = Vector2(0.5, 0.5) +texture_normal = ExtResource("4_pf470") +numero = "PASTILLAS" + +[node name="Rejilla-sin-tornillos" type="Sprite2D" parent="."] +position = Vector2(479, 272) +scale = Vector2(4, 4) +texture = ExtResource("5_tothm") + +[node name="tornillos" type="Node2D" parent="."] + +[node name="tornillo" parent="tornillos" instance=ExtResource("7_fxspc")] +offset_left = 224.0 +offset_top = 133.0 +offset_right = 234.0 +offset_bottom = 143.0 +scale = Vector2(4, 4) + +[node name="tornillo2" parent="tornillos" instance=ExtResource("7_fxspc")] +offset_left = 225.0 +offset_top = 435.0 +offset_right = 235.0 +offset_bottom = 445.0 +scale = Vector2(4, 4) + +[node name="tornillo3" parent="tornillos" instance=ExtResource("7_fxspc")] +offset_left = 736.0 +offset_top = 436.0 +offset_right = 746.0 +offset_bottom = 446.0 +scale = Vector2(4, 4) + +[node name="tornillo4" parent="tornillos" instance=ExtResource("7_fxspc")] +offset_left = 736.0 +offset_top = 135.0 +offset_right = 746.0 +offset_bottom = 145.0 +scale = Vector2(4, 4) diff --git a/scenes/puzzles/puzzles.tscn b/scenes/puzzles/puzzles.tscn new file mode 100644 index 0000000..d859b17 --- /dev/null +++ b/scenes/puzzles/puzzles.tscn @@ -0,0 +1,34 @@ +[gd_scene load_steps=6 format=3 uid="uid://cdtljaux3f3i1"] + +[ext_resource type="Script" path="res://scripts/puzzle/puzzles.gd" id="1_d3p88"] +[ext_resource type="PackedScene" uid="uid://b7o2r2hgpxo7e" path="res://scenes/puzzles/puzzle_fotos_estanteria.tscn" id="1_jbvj8"] +[ext_resource type="PackedScene" uid="uid://dhs180cnfuqmr" path="res://scenes/puzzles/puzzle_rejilla.tscn" id="3_b623p"] +[ext_resource type="PackedScene" uid="uid://e6vos4yr7bpq" path="res://scenes/puzzles/puzzle_mapa_atraco.tscn" id="4_4i0f0"] +[ext_resource type="PackedScene" uid="uid://dqm6q0g8uqrjn" path="res://scenes/puzzles/puzzle_caja_fuerte.tscn" id="4_ugdwm"] + +[node name="Puzzles" type="Node"] +script = ExtResource("1_d3p88") + +[node name="PuzzleFotosEstanteria" parent="." instance=ExtResource("1_jbvj8")] +visible = false +event_id = "Ev_Shelve" +event_id_foto_fran = "Ev_Picture_01" +event_id_foto_mario = "Ev_Picture_02" +event_id_foto_rota = "Ev_Picture_03" + +[node name="PuzzleRejilla" parent="." instance=ExtResource("3_b623p")] +visible = false +event_id = "Ev_Grill_02" +event_id_screwdriver = "Ev_Grill_01" +event_id_pastillas = "Ev_Grill_03" + +[node name="puzzle_mapa_atraco" parent="." instance=ExtResource("4_4i0f0")] +visible = false +event_id = "Ev_Blueprint_01" +event_id_atraco = "Ev_Blueprint_02" + +[node name="Puzzle_caja_fuerte" parent="." instance=ExtResource("4_ugdwm")] +visible = false +event_id = "Ev_FirstWardrobe" +event_id_success = "Ev_VaultSuccess" +event_id_failure = "Ev_VaultFailure" diff --git a/scenes/scene_rejilla.tscn b/scenes/scene_rejilla.tscn deleted file mode 100644 index 8e9d21f..0000000 --- a/scenes/scene_rejilla.tscn +++ /dev/null @@ -1,64 +0,0 @@ -[gd_scene load_steps=9 format=3 uid="uid://dhs180cnfuqmr"] - -[ext_resource type="Texture2D" uid="uid://clbi4qkjf8o6n" path="res://assets/assets/Puzles/puzle2-rejilla/rejilla-sin-pastis.png" id="1_hxnju"] -[ext_resource type="Script" path="res://scripts/scene_rejilla.gd" id="1_xbcu3"] -[ext_resource type="Texture2D" uid="uid://cgv3tvwfyjeew" path="res://assets/assets/Puzles/puzle2-rejilla/rejilla-sin-rejilla.png" id="2_33vbf"] -[ext_resource type="Texture2D" uid="uid://dixpu7d04o707" path="res://assets/assets/Puzles/puzle2-rejilla/rejilla-sin-tornillos.png" id="2_sn6kt"] -[ext_resource type="PackedScene" uid="uid://bfdrof1bnnufs" path="res://scenes/tornillo_izquierdo.tscn" id="3_wdoqd"] -[ext_resource type="PackedScene" uid="uid://2jvwv2uig8ff" path="res://scenes/tornillo_derecho.tscn" id="4_ilg24"] -[ext_resource type="Texture2D" uid="uid://bos20tu47tqxw" path="res://assets/assets/Puzles/puzle2-rejilla/pastillas64x64.png" id="7_o75do"] -[ext_resource type="PackedScene" uid="uid://bvqggbfc7gi6d" path="res://scenes/pastillas.tscn" id="8_ldqr3"] - -[node name="SceneRejilla" type="CanvasLayer"] -script = ExtResource("1_xbcu3") - -[node name="MarginContainer" type="MarginContainer" parent="."] -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 - -[node name="Rejilla-sin-pastis" type="Sprite2D" parent="MarginContainer"] -position = Vector2(480, 273) -scale = Vector2(4, 4) -texture = ExtResource("1_hxnju") - -[node name="Rejilla-sin-rejilla" type="Sprite2D" parent="MarginContainer"] -position = Vector2(481, 273) -scale = Vector2(4, 4) -texture = ExtResource("2_33vbf") - -[node name="pastillas" parent="MarginContainer" instance=ExtResource("8_ldqr3")] -position = Vector2(401, 387) -scale = Vector2(4, 4) - -[node name="Rejilla-sin-tornillos" type="Sprite2D" parent="MarginContainer"] -position = Vector2(479, 272) -scale = Vector2(4, 4) -texture = ExtResource("2_sn6kt") - -[node name="tornilloDerecho" parent="MarginContainer" instance=ExtResource("4_ilg24")] -position = Vector2(745, 137) -scale = Vector2(4, 4) - -[node name="tornilloDerecho2" parent="MarginContainer" instance=ExtResource("4_ilg24")] -position = Vector2(745, 442) -scale = Vector2(4, 4) - -[node name="tornilloIzquierdo" parent="MarginContainer" instance=ExtResource("3_wdoqd")] -position = Vector2(227, 137) -scale = Vector2(4, 4) - -[node name="tornilloIzquierdo2" parent="MarginContainer" instance=ExtResource("3_wdoqd")] -position = Vector2(227, 442) -scale = Vector2(4, 4) - -[node name="PanelContainer" type="PanelContainer" parent="MarginContainer"] -visible = false -layout_mode = 2 - -[node name="Pastillas64x64" type="Sprite2D" parent="MarginContainer/PanelContainer"] -position = Vector2(488, 314) -scale = Vector2(4, 4) -texture = ExtResource("7_o75do") diff --git a/scenes/shaders_control.gd b/scenes/shaders_control.gd new file mode 100644 index 0000000..ce35811 --- /dev/null +++ b/scenes/shaders_control.gd @@ -0,0 +1,21 @@ +extends CanvasLayer + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + + SignalBus.execute_canvas_option.connect(_on_canvas_option_recieved) + + + pass # Replace with function body. + + +func _on_canvas_option_recieved(canvas_option): + var shaderLayer = get_node_or_null(canvas_option) + if shaderLayer == null: + for i in get_children(): + i.hide() + pass + + else: + shaderLayer.show() + pass diff --git a/scripts/canvas_puzzle_Mover_Estnteria.gd b/scripts/canvas_puzzle_Mover_Estnteria.gd deleted file mode 100644 index 5c67e19..0000000 --- a/scripts/canvas_puzzle_Mover_Estnteria.gd +++ /dev/null @@ -1,47 +0,0 @@ -extends Node2D - - - -# Variable para verificar si el objeto está siendo arrastrado -var arrastrando: bool = false -# Referencia al nodo Marker2D -var marker: Node2D - -# Función que se llama al iniciar el arrastre -func _ready() -> void: - marker = get_parent().get_node("Marker2D") # Asegúrate de tener el Marker2D en el mismo Node2D padre - pass - - - -# Esta función detecta los eventos de entrada, como clics del ratón -func _unhandled_input(event: InputEvent) -> void: - # Comprobar si el evento es un clic del ratón - if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT: - print("clikIzquierdo") - # Si el clic izquierdo está presionado y el mouse está cerca del objeto - if event.pressed and get_global_mouse_position().distance_to(global_position) < 20.0: - arrastrando = true # Activar el arrastre - print("arrastrando: true") - else: - arrastrando = false # Desactivar el arrastre si se suelta el botón - print("arrastrando: false") - - - - - -# Esta función se llama cada fotograma para actualizar la posición si se está arrastrando -func _process(delta: float) -> void: - if arrastrando: - # Si está arrastrando, actualizar la posición para que siga al mouse - global_position = get_global_mouse_position() - print("cambiando posicion") - - # Verificar si el sprite ha alcanzado la posición del Marker2D - if global_position.distance_to(marker.global_position) < 10.0: - arrastrando = false # Desactivar el arrastre cuando se llega a la posición del marker - global_position = marker.global_position # Asegurar que se quede en la posición del Marker2D - - - diff --git a/scripts/dialogs_ui.gd b/scripts/dialogs_ui.gd index b7f72c5..04dea65 100644 --- a/scripts/dialogs_ui.gd +++ b/scripts/dialogs_ui.gd @@ -1,10 +1,15 @@ extends CanvasLayer -@onready var label: Label = $PanelContainer/Label -var DialogVisible:bool -var maxCharacters:int = 240 +@onready var label: Label = $PanelContainer/MarginContainer/Label +const ENDING = preload("res://scenes/Prefabs/Ending.tscn") -var visbleCharacters:float +var currentLine: int = 0 +var lines: Array = [] +var visibleCharacters:int + +var puzzleLayer: CanvasLayer +var waiting_input:bool +var event_id:String # Called when the node enters the scene tree for the first time. func _ready() -> void: @@ -14,42 +19,52 @@ func _ready() -> void: func _process(delta: float) -> void: - - if DialogVisible: - visbleCharacters = label.visible_characters + 1 - label.visible_characters=visbleCharacters - if label.visible_characters >= maxCharacters: - SignalBus.input_required.emit() - - pass - - if label.visible_characters >= label.text.length(): - SignalBus.input_required.emit() + if GameManager.DialogVisible and !waiting_input: + if currentLine < lines.size(): + if visibleCharacters < lines[currentLine].length(): + visibleCharacters += 1 + label.text = lines[currentLine] + label.visible_characters=visibleCharacters + else: + SignalBus.input_required.emit() + waiting_input=true - pass - pass -func _on_execute_dialog(text:String): +func _on_execute_dialog(text:String, event_id:String): print("Dialogo: "+text) - label.text=text + self.event_id = event_id + lines = text.split("\n") + label.text=lines[0] label.lines_skipped=0 label.visible_characters=1 + currentLine=0 show() - DialogVisible=true + GameManager.DialogVisible=true pass func _on_input_recived(): - label.lines_skipped+=1 - label.visible_characters=label.lines_skipped*maxCharacters - - if label.visible_characters >= label.text.length(): - hide() - DialogVisible = false + if GameManager.DialogVisible and waiting_input: + waiting_input=false + if currentLine < lines.size(): + currentLine += 1 # Avanza a la siguiente línea + visibleCharacters = 0 # Reinicia los caracteres visibles para la nueva línea + + if currentLine >=lines.size(): + print("Fin del diálogo.") + hide() + GameManager.DialogVisible = false + GameManager.go_to_next() + check_endings() + pass - pass - - - pass + +func check_endings(): + if event_id == "TXT_TEST_2" and GameManager.get_key: + TransitionScreen.transition() + await SignalBus.on_transition_finished + print("Sal") + SignalBus.ending_info.emit("ENDING1") + pass diff --git a/scripts/encimera.gd b/scripts/encimera.gd deleted file mode 100644 index 866fb7f..0000000 --- a/scripts/encimera.gd +++ /dev/null @@ -1,46 +0,0 @@ -extends Area2D - - - -# Called when the node enters the scene tree for the first time. -func _ready() -> void: - pass # Replace with function body. - - -# Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta: float) -> void: - pass - - - -func examinarFoto(numFotosObtenidas: int) -> int: - - print("Parece la mitad de una foto") - if numFotosObtenidas<1: - #(se muestra la encimera de cerca con un trozo de foto) - print("Parece que alguien la ha roto por la mitad") - numFotosObtenidas +=1 - #(al salir de la vista habiendo encontrado el trozo de foto) - print("La otra mitad debe estar por aquí.") - - return numFotosObtenidas - - else: - #(se muestra la encimera de cerca con un trozo de foto) - print("Esta parece la otra mitad de la foto.") - numFotosObtenidas += 1 - #(al salir de la vista habiendo encontrado el trozo de foto, se muestran juntos los 2 trozos) - print("Ese tal Mario, lleva la misma ropa que yo... -Él y Francesco parecen cercanos.") - - return numFotosObtenidas - - - - -func _on_body_entered(body: Node2D) -> void: - if body.name == "jugador": - body.interactionObject = self - print("objeto entregado") - - if body.flagInteractuando: - examinarFoto(body.numFotosObtenidas) diff --git a/scripts/ending.gd b/scripts/ending.gd new file mode 100644 index 0000000..18d3781 --- /dev/null +++ b/scripts/ending.gd @@ -0,0 +1,43 @@ +extends CanvasLayer + +@onready var label: Label = $PanelContainer/MarginContainer/Label +var ending:String + +const MAIN_MENU = preload("res://scenes/UI/main_menu.tscn") + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + print("Ejecutando script ending") + SignalBus.ending_info.connect(setEnding) + pass # Replace with function body. + +func setEnding(text:String): + show() + self.ending = text + print("Entra") + if ending == "ENDING1": + if OptionManager.language == "ES": + label.text = "La puerta se abrió, como era de esperar, así que decidí salir del apartamento. + Vi la policía subir las escaleras, y uno a lo lejos me preguntó sobre que había visto de extraño + recientemente en el recinto. Pasé de largo y decidí bajar el edificio, no me sentía nada bien + y quería salir rápidamente de ese lugar, encontrar otro tipo de ayuda... Tras unos cinco minutos, varios + cuerpos me reducieron y fui arrestado por ser el principal sospechoso de ese asesinato. + + Final 1/3" + else: + label.text = "Ending 1" + elif ending == "ENDING2": + if OptionManager.language == "ES": + label.text = "La puerta se abrió, como era de esperar, así que decidí salir del apartamento. + Vi la policía subir las escaleras, y uno a lo lejos me preguntó sobre que había visto de extraño + recientemente en el recinto. Pasé de largo y decidí bajar el edificio, no me sentía nada bien + y quería salir rápidamente de ese lugar, encontrar otro tipo de ayuda... Tras unos cinco minutos, varios + cuerpos me reducieron y fui arrestado por ser el principal sospechoso de ese asesinato. + + Final 2/3" + else: + label.text = "Ending 2" + pass +func _on_menu_button_pressed() -> void: + CanvasManager.play_main_menu() + pass # Replace with function body. diff --git a/scripts/globals/CameraManager.gd b/scripts/globals/CameraManager.gd index d144888..da4196f 100644 --- a/scripts/globals/CameraManager.gd +++ b/scripts/globals/CameraManager.gd @@ -12,7 +12,8 @@ func add_camera(player:CharacterBody2D): if(Camera == null): Camera = Camera2D.new() - Camera.zoom = Vector2(2.5,2.5) + Camera.zoom = Vector2(3.5,3.5) + Camera.offset.y=-15 player.add_child(Camera) diff --git a/scripts/globals/CanvasManager.gd b/scripts/globals/CanvasManager.gd index 40924f4..bffdcee 100644 --- a/scripts/globals/CanvasManager.gd +++ b/scripts/globals/CanvasManager.gd @@ -13,12 +13,14 @@ var pause_menu var option_menu var main_scene var dialog_canvas +var ending_canvas const MAIN_MENU = preload("res://scenes/UI/main_menu.tscn") const PAUSE_MENU = preload("res://scenes/UI/pause_menu.tscn") const OPTION_MENU = preload("res://scenes/UI/option_menu.tscn") const DIALOGS = preload("res://scenes/UI/dialogs.tscn") +const ENDING = preload("res://scenes/Prefabs/Ending.tscn") const MAIN_SCENE= preload("res://scenes/Principal.tscn") @@ -40,10 +42,14 @@ func set_black_and_white_effect(action:bool): pass func _ready() -> void: - play_main_menu() + #play_main_menu() pass func play_main_menu(): + call_deferred("changeScene") + pass + +func changeScene(): get_tree().change_scene_to_packed(MAIN_MENU) pass @@ -64,6 +70,13 @@ func instanciate_dialog(): get_tree().current_scene.add_child(dialog_canvas) pass dialog_canvas.hide() + +func instantiate_ending(): + if ending_canvas == null: + ending_canvas = ENDING.instantiate() + get_tree().current_scene.add_child(ending_canvas) + pass + ending_canvas.hide() func play_resume_pause_menu(): pause_menu.visible=false diff --git a/scripts/globals/SignalBus.gd b/scripts/globals/SignalBus.gd index 1921ae1..ac65020 100644 --- a/scripts/globals/SignalBus.gd +++ b/scripts/globals/SignalBus.gd @@ -1,9 +1,18 @@ extends Node -signal execute_event(event_id:String) +signal execute_event(event_id:String,aux:bool) signal event_waiting(event_id:String) -signal execute_dialog(text:String) +signal execute_dialog(text:String, event_id:String) +signal execute_ending(text:String) signal execute_canvas_option(canvas_options:String) signal execute_camera_option(camera_options:String) signal execute_puzzle(event_id:String) signal input_required() signal wait_input() +signal zoom_item(texture,maxScale,minScale,speed) +signal puzzle_exit(puzzleLayer:CanvasLayer) +signal puzzle_enter(puzzleLayer:CanvasLayer) +signal on_transition_finished() +signal exit_zoom_item(texture) +signal input_caja_fuerte(input:String) +signal input_rejilla(input:String) +signal ending_info(text:String) diff --git a/scripts/globals/TransitionScreen.gd b/scripts/globals/TransitionScreen.gd new file mode 100644 index 0000000..4b8ad98 --- /dev/null +++ b/scripts/globals/TransitionScreen.gd @@ -0,0 +1,20 @@ +extends CanvasLayer + +@onready var color_rect: ColorRect = $ColorTransition +@onready var animation_player: AnimationPlayer = $AnimationTransition + + +func _ready(): + color_rect.visible = false + animation_player.animation_finished.connect(_on_animation_finished) + +func _on_animation_finished(anim_name): + if anim_name == "fade_in": + SignalBus.on_transition_finished.emit() + animation_player.play("fade_out") + elif anim_name == "fade_out": + color_rect.visible = false + +func transition(): + color_rect.visible = true + animation_player.play("fade_in") diff --git a/scripts/globals/gameManager.gd b/scripts/globals/gameManager.gd index 2682daf..27048cd 100644 --- a/scripts/globals/gameManager.gd +++ b/scripts/globals/gameManager.gd @@ -5,8 +5,34 @@ const JUGADOR = preload("res://scenes/jugador.tscn") var initSpeed = 130 var interactive:Node2D +var isTrigger:bool + +var codigoCajaFuerte:String = "1904" #variables +var evento +var ItemTexture +var ItemMaxScale +var ItemMinScale +var ItemSpeed + + +var zoomItem:bool=false +var DialogVisible:bool=false +var puzzleLayer:CanvasLayer=null + +#variables objetos +var key:bool=false +var screwdriver:bool=false +var dni:bool=false +var postIt:bool=false + +#variable de puzzles +var rejilla:bool +var foto_encimera:bool +var foto_estanteria:bool +var mapa:bool +var caja_fuerte:bool # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta): @@ -14,57 +40,158 @@ func _process(delta): func _ready() -> void: SignalBus.execute_event.connect(_on_event_execute) + SignalBus.wait_input.connect(_on_input_recived) + SignalBus.puzzle_enter.connect(_setPuzzleLayer) + SignalBus.puzzle_exit.connect(_exitPuzzle) pass -func get_player(): +func _setPuzzleLayer(puzzleLayer: CanvasLayer): + self.puzzleLayer = puzzleLayer + pass +func _exitPuzzle(puzzleLayer): + if self.puzzleLayer==puzzleLayer: + self.puzzleLayer=null + pass + +func get_player(): if(player == null): player = JUGADOR.instantiate() - player.position.y = player.position.y+50 player.SPEED = initSpeed + player.position.y+=45 return player + +func get_key(): + return self.key + +func eventHandler(): + get_event_from_interactive() + if evento !=null: + #Si es trigger saltar automaticamente + if evento["EVENT_CONDITION"] == "TRIGGER": + isTrigger=true + player.required=false + interactive.on_triggered() + #go_to_next() + pass + #Si no es trigger, esperar interaccion + elif evento["EVENT_CONDITION"] == "NONE" or evento["EVENT_CONDITION"] == "PUZZLE": + isTrigger=false + SignalBus.input_required.emit() + pass + pass + else: + print("Evento no encontrado") + pass + pass + + pass func setInteractive(body:Node2D): - interactive=body + if body==null: + player.required=false + interactive=null + else: + interactive=body + eventHandler() + +func get_event_from_interactive(): -func _on_event_execute(event_id): - print("Ejecutando evento: "+event_id) #Buscar evento en csv - var evento = DataManager.scriptData.get(event_id) + evento = DataManager.scriptData.get(interactive.event_id) - if evento == null: - print("Clave de evento no encontrada") - else: - # ejecutar opciones canvas - SignalBus.execute_canvas_option.emit(evento["SHADER_OPTIONS"]) - # ejecutar opciones camara - SignalBus.execute_camera_option.emit(evento["CAMERA_OPTIONS"]) - - SignalBus.execute_dialog.emit(evento["ES"]) - - if evento["NEXT"] != "": - - if evento["EVENT_CONDITION"] == "PUZZLE": - # si ejecuta puzles mandar "next" al puzle para que pueda continuar el arbol - SignalBus.execute_puzzle.emit(event_id) - pass - elif evento["EVENT_CONDITION"] == "TRIGGER": - # si depende de un trigger mandar al trigger "next" esperarlo - SignalBus.event_waiting.emit(evento["NEXT"]) - pass - elif evento["EVENT_CONDITION"] == "NONE": - # si no tiene señal de puzle ni de triger ejecuta la siguiente escena - - pass - - else: - # si no tiene next finaliza esa rama de dialogo - SignalBus.event_waiting.emit("") - pass + pass +func get_event(event_id): + return DataManager.scriptData.get(event_id) + pass +func go_to_next(): + SignalBus.event_waiting.emit(evento["NEXT"]) + if evento["NEXT"]!="": + eventHandler() - +func _on_event_execute(event_id,aux): + if !DialogVisible: + + print("Ejecutando evento: "+event_id) + #Configuracion Shaders y Camera + + #Si es puzzle ejecutar puzzle + if evento["EVENT_CONDITION"] == "PUZZLE": + print("puzzle entrando") + player.required=true + SignalBus.execute_puzzle.emit(event_id) + + pass + if event_id == "ENDING1" or event_id == "ENDING2": + SignalBus.execute_ending.emit(evento["ES"], event_id) + else: + if aux: + var aux_event = get_event(event_id) + #Dependiendo del idioma ES o EN + SignalBus.execute_dialog.emit(aux_event["ES"], event_id) + else: + SignalBus.execute_dialog.emit(evento["ES"], event_id) + pass + +func _on_input_recived(): + if !DialogVisible and puzzleLayer==null and !zoomItem: + if interactive!=null and !isTrigger: + interactive.on_triggered() + pass + pass + + if !zoomItem and interactive!=null and interactive.event_id!="": + if interactive.event_id == "Ev_Corpse_02": + print("Llave") + ItemTexture=preload( "res://assets/sprites/Puzles/Puzle1-llave/llave-puzle-1.png") + ItemMaxScale=64*3 + ItemMinScale=64 + ItemSpeed=150 + SignalBus.zoom_item.emit(ItemTexture,ItemMaxScale,ItemMinScale,ItemSpeed) + key=true + elif interactive.event_id == "Ev_Screwdriver_02": + print("Destornillador") + ItemTexture=preload("res://assets/sprites/Puzles/destornillador.png") + ItemMaxScale=64*3 + ItemMinScale=64 + ItemSpeed=150 + SignalBus.zoom_item.emit(ItemTexture,ItemMaxScale,ItemMinScale,ItemSpeed) + screwdriver=true + elif interactive.event_id == "Ev_FirstCode": + print("PostIt") + ItemTexture=preload("res://assets/sprites/Puzles/caja fuerte/post-it.png") + ItemMaxScale=64*3 + ItemMinScale=64 + ItemSpeed=150 + SignalBus.zoom_item.emit(ItemTexture,ItemMaxScale,ItemMinScale,ItemSpeed) + postIt=true + elif interactive.event_id == "Ev_DNI": + print("DNI") + #if atraco y foto (si: dniAfter) + if mapa and foto_encimera and foto_estanteria: + evento["NEXT"] = "Ev_DNIAfter" + + else: + evento["NEXT"] = "Ev_DNIBefore" + + elif interactive.event_id == "Ev_DNIAfter": + print("Ev_DNIAfter") + ItemTexture=preload("res://assets/sprites/Escenario/DNI.png") + ItemMaxScale=64*3 + ItemMinScale=64 + ItemSpeed=150 + SignalBus.zoom_item.emit(ItemTexture,ItemMaxScale,ItemMinScale,ItemSpeed) + dni=true + elif interactive.event_id == "Ev_SecondBrokenPicture_01": + print("Ev_SecondBrokenPicture_01") + + + elif interactive.event_id == "TXT_TEST_2" and key: + print("Sal") + pass + pass diff --git a/scripts/globals/optionManager.gd b/scripts/globals/optionManager.gd index bce7459..4fa2a19 100644 --- a/scripts/globals/optionManager.gd +++ b/scripts/globals/optionManager.gd @@ -3,6 +3,7 @@ extends Node var busNameMaster = "Master" var busNameMusic = "Music" var busNameSFX = "SFX" +var language:String = "ES" var busIndexMaster = AudioServer.get_bus_index("Master") diff --git a/scripts/jugador.gd b/scripts/jugador.gd index e21d286..6f0cb07 100644 --- a/scripts/jugador.gd +++ b/scripts/jugador.gd @@ -1,9 +1,8 @@ extends CharacterBody2D # variables -var interactionObject #objeto que se recive -var flagInteractuando = false #indicador si se esta interactuando o no - +var required +var estado:String = "" # variables para diseñador @export var SPEED = 130 @@ -24,32 +23,38 @@ func _physics_process(delta): #region menu de pausa if Input.is_action_just_pressed("escape"): - CanvasManager.alternate_pause() + if CanvasManager.inPause: + CanvasManager.inPause = false + CanvasManager.play_resume_pause_menu() + print("MenuPausa: " + str(CanvasManager.inPause) ) + else: + CanvasManager.inPause = true + CanvasManager.play_pause_menu() + print("MenuPausa: " + str(CanvasManager.inPause)) #endregion #region interaccion - if GameManager.interactive != null: - if Input.is_action_just_pressed("interaccion"): - if flagInteractuando == true: - SignalBus.wait_input.emit() - flagInteractuando = false - pass - else: - GameManager.interactive.on_triggered() - pass - pass + if !CanvasManager.inPause and Input.is_action_just_pressed("interaccion"): + + if required: + required=false + SignalBus.wait_input.emit() + pass #endregion #region movimiento - if flagInteractuando: + if (GameManager.puzzleLayer!=null or GameManager.DialogVisible) or CanvasManager.inPause: + velocity.x=0 + velocity.y=0 pass else : + # Obtiene la dirección de entrada y maneja el movimiento/desaceleración var direccionHorizontal = Input.get_axis("left", "right") var directionVertical = Input.get_axis("up", "down") @@ -71,8 +76,10 @@ func _physics_process(delta): if direccionHorizontal != 0: if direccionHorizontal > 0: #el if este esta implementado por el movimiento con el joistic velocity.x = 1 * SPEED + estado = "" else: velocity.x = -1 * SPEED + estado = "" else: velocity.x = move_toward(velocity.x, 0, SPEED) # Desacelera el eje Y para mantener solo el movimiento en X @@ -81,10 +88,13 @@ func _physics_process(delta): elif ultima_direccion == "vertical": # Si la última entrada fue vertical, mueve solo en el eje Y if directionVertical != 0: + #print(directionVertical) if directionVertical > 0: #el if este esta implementado por el movimiento con el joistic velocity.y = 1 * SPEED + estado = "" else: velocity.y = -1 * SPEED + estado = "UP" else: velocity.y = move_toward(velocity.y, 0, SPEED) @@ -101,7 +111,10 @@ func _physics_process(delta): #region control de animaciones de movimiento if directionVertical == 0 and direccionHorizontal == 0: - animated_sprite_2d.play("idle") + if estado == "UP": + animated_sprite_2d.play("idleUp") + else: + animated_sprite_2d.play("idle") elif ultima_direccion == "horizontal": animated_sprite_2d.play("walk") # Cambia la dirección del sprite según la dirección que toma el personaje @@ -111,8 +124,10 @@ func _physics_process(delta): animated_sprite_2d.flip_h = false # Voltear el sprite horizontalmente elif ultima_direccion == "vertical": - animated_sprite_2d.play("walkFront") - + if directionVertical > 0: + animated_sprite_2d.play("walkFront") + elif directionVertical < 0: + animated_sprite_2d.play("WalkUp") #endregion @@ -121,15 +136,10 @@ func _physics_process(delta): #endregion - - - - - # Mueve al personaje usando la física move_and_slide() func _on_input_required(): - flagInteractuando=true + required=true pass diff --git a/scripts/pastillas.gd b/scripts/pastillas.gd index 9f094df..7863e14 100644 --- a/scripts/pastillas.gd +++ b/scripts/pastillas.gd @@ -12,10 +12,6 @@ func _unhandled_input(event: InputEvent) -> void: print("Clic izquierdo detectado") - - - - # Called when the node enters the scene tree for the first time. func _ready(): pass # Replace with function body. diff --git a/scripts/pieza_atraco.gd b/scripts/pieza_atraco.gd new file mode 100644 index 0000000..3da60a9 --- /dev/null +++ b/scripts/pieza_atraco.gd @@ -0,0 +1,34 @@ +extends TextureButton + +@onready var puzzle_mapa_atraco: CanvasLayer = $"../.." + + +var pesionando: bool = false +# Almacena el desplazamiento entre la posición del ratón y el botón +var offset: Vector2 = Vector2.ZERO + +# Función que se llama al iniciar el arrastre +func _ready() -> void: + pass + + +# Esta función se llama cada fotograma para actualizar la posición si se está arrastrando +func _process(delta: float) -> void: + if pesionando: + #print("cambiando posicion") + global_position = get_global_mouse_position() + offset + + + +func _on_button_up() -> void: + pesionando = false + var marcador = puzzle_mapa_atraco.comprobarMarcador(self)#obtenemos el marcador correspondiente + puzzle_mapa_atraco.comprobarPosicion(self, marcador)#comprovamos si esta en su sitio + #print("_on_button_up()") + + +func _on_button_down() -> void: + if !GameManager.mapa: + pesionando = true + offset = global_position - get_global_mouse_position() + #print("_on_button_down()") diff --git a/scripts/puzzle/puzzle_caja_fuerte.gd b/scripts/puzzle/puzzle_caja_fuerte.gd new file mode 100644 index 0000000..7defc61 --- /dev/null +++ b/scripts/puzzle/puzzle_caja_fuerte.gd @@ -0,0 +1,70 @@ +extends CanvasLayer +@onready var pistola = $pistola +const PISTOLA_DINERO = preload("res://assets/sprites/Puzles/caja fuerte/pistola_dinero.png") + +@export var event_id = "" +@onready var CFpistola = $cajaFuerteAbierta/pistola +@onready var caja_fuerte_abierta = $cajaFuerteAbierta +@onready var resultado = $resultado +@export var tamanioCodigo: int = 4 + +@export var event_id_success="" +@export var event_id_failure="" + +var codigo: String = GameManager.codigoCajaFuerte +var onceProcess = false +# Called when the node enters the scene tree for the first time. +func _ready(): + + #conecto la señal creada en SignalBus.gd a la funcion _on__pressed + SignalBus.input_caja_fuerte.connect(_on__pressed) + SignalBus.wait_input.connect(_on_input_recived) + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta): + if GameManager.puzzleLayer==self: + if !GameManager.DialogVisible and !GameManager.zoomItem and !onceProcess: + onceProcess=true + SignalBus.input_required.emit() + pass + +func _on_input_recived(): + if GameManager.puzzleLayer==self: + if !GameManager.DialogVisible and !GameManager.zoomItem: + SignalBus.puzzle_exit.emit(self) + pass + + +#funcion para cada tecla +func _on__pressed(character): + print(character) + if character == "EXIT":#recarga el resultado + resultado.text = "" + elif character == "ENTER":#comprueva el resultado + comprobarCodigo(resultado.text) + elif character == "PISTOLA":#interactua con la pistola + SignalBus.execute_event.emit(event_id_success,true) + CFpistola.queue_free()#eliminamos el boton + GameManager.caja_fuerte = true + onceProcess=false + SignalBus.zoom_item.emit(PISTOLA_DINERO,200,4,100) + #pistola.visible = true#muestra la puistola obtenida + ##fin de scene + elif resultado.text.length() >= tamanioCodigo:#comprueva k no supere el limite + pass + else: + resultado.text += character + + + +#si el codigo es el correcto puesta la siguiente imagen #falta hacer +func comprobarCodigo(resultado: String): + if resultado == codigo: + caja_fuerte_abierta.visible = true + print("conseguido") + else: + print("Intentalo de nuevo") + SignalBus.execute_event.emit(event_id_failure,true) + onceProcess=false + _on__pressed("EXIT") diff --git a/scripts/puzzle/puzzle_fotos_estanteria.gd b/scripts/puzzle/puzzle_fotos_estanteria.gd new file mode 100644 index 0000000..ab3a93e --- /dev/null +++ b/scripts/puzzle/puzzle_fotos_estanteria.gd @@ -0,0 +1,80 @@ +extends CanvasLayer + +const FOTO_MARIO_PEQUE_O = preload("res://assets/sprites/Puzles/puzle4_fotos/foto_mario_pequeño.png") +const FOTO_ROTA = preload("res://assets/sprites/Puzles/puzle4_fotos/foto_rota.png") +const FOTO_FRAN_PEQUE_O = preload("res://assets/sprites/Puzles/puzle4_fotos/foto_fran_pequeño.png") +const FOTO_ROTA_TRASERA = preload("res://assets/sprites/Puzles/puzle4_fotos/foto_rota_trasera.png") + +var canExit=true + +@onready var fotos_estanterias_vacia: TextureRect = $FotosEstanteriasVacia240x135 +@onready var trasera_button: TextureButton = $TraseraButton + + + +@export var event_id="" + +@export var event_id_foto_fran="" +@export var event_id_foto_mario="" +@export var event_id_foto_rota="" +@export var event_id_foto_rota_trasera="" +@export var event_id_recoger_foto1="" +@export var event_id_recoger_foto2="" + + +func _ready() -> void: + SignalBus.wait_input.connect(_on_input_recieved) + SignalBus.exit_zoom_item.connect(_on_zoom_out) + trasera_button.hide() + fotos_estanterias_vacia.hide() + pass + +func _on_zoom_out(texture): + canExit=true + + pass + +func _on_francesco_foto_button_pressed() -> void: + print("Francesco") + SignalBus.zoom_item.emit(FOTO_FRAN_PEQUE_O,900,100,1000) + SignalBus.execute_event.emit(event_id_foto_fran,true) + pass + + + +func _on_mario_foto_button_pressed() -> void: + print("Mario") + SignalBus.zoom_item.emit(FOTO_MARIO_PEQUE_O,900,100,1000) + SignalBus.execute_event.emit(event_id_foto_mario,true) + pass + + + +func _on_foto_rota_button_pressed() -> void: + print("Rota "+event_id) + SignalBus.zoom_item.emit(FOTO_ROTA,900,100,1000) + SignalBus.execute_event.emit(event_id_foto_rota,true) + #SignalBus.execute_event.emit(DataManager.scriptData.get(event_id_foto_rota)["NEXT"]) + + pass + +func _on_input_recieved(): + if GameManager.puzzleLayer==self : + if !GameManager.DialogVisible and !GameManager.zoomItem: + SignalBus.puzzle_exit.emit(self) + pass + + +func _on_esquina_rota_pressed() -> void: + print("Rota trasera "+event_id) + SignalBus.zoom_item.emit(FOTO_ROTA_TRASERA,900,100,1000) + SignalBus.execute_event.emit(event_id_foto_rota,true) + + trasera_button.show() + fotos_estanterias_vacia.show() + + pass # Replace with function body. + + +func _on_trasera_button_pressed() -> void: + pass # Replace with function body. diff --git a/scripts/puzzle/puzzle_mapa_atraco.gd b/scripts/puzzle/puzzle_mapa_atraco.gd new file mode 100644 index 0000000..6cf00e0 --- /dev/null +++ b/scripts/puzzle/puzzle_mapa_atraco.gd @@ -0,0 +1,98 @@ +extends CanvasLayer + +@export var event_id = "" + +@export var distanciaDeInteraccion: float = 50 +@export var animTamanioMax = 1000 +@export var animTamanioMin = 4 +@export var animVelocidad = 300 + +@export var event_id_atraco="" + +const PUZLE_ATRACO = preload("res://assets/sprites/Puzles/puzle_atraco/puzle_atraco.png") + +func _ready() -> void: + + SignalBus.wait_input.connect(_on_input_recived) + + pass + +func _on_input_recived(): + if GameManager.puzzleLayer== self : + print("piripi") + if !GameManager.DialogVisible and !GameManager.zoomItem: + SignalBus.puzzle_exit.emit(self) + pass + +# Arrays para las piezas y sus marcadores correspondientes +@onready var piezas: Array = [ + $piezas/EsquinaSuperiorHizquierda, + $piezas/EsquinaSuperiorDerecha, + $piezas/EsquinaInferiorDerecha, + $piezas/EsquinaInferiorHizquierda, + $piezas/Superior, + $piezas/Inferior, + $piezas/Centro +] + +@onready var markers: Array = [ + $piezas/Marker2DEsquinaSuperiorHizquierda, + $piezas/Marker2DEsquinaSuperiorDerecha, + $piezas/Marker2DEsquinaInferiorDerecha, + $piezas/Marker2DEsquinaInferiorHizquierda, + $piezas/Marker2DSuperior, + $piezas/Marker2DInferior, + $piezas/Marker2DCentro +] + +#array de afirmaciones de colocaciones +var condiciones: Array = [ + false, + false, + false, + false, + false, + false, + false +] + +#se ejecuta cuando se completa el puzzle +func complete(): + GameManager.mapa = true + SignalBus.zoom_item.emit(PUZLE_ATRACO,animTamanioMax,animTamanioMin,animVelocidad) + SignalBus.execute_event.emit(event_id_atraco,true) + +#te debuelve el marcador correspondiente a la piezza +func comprobarMarcador(body: TextureButton) -> int: + + var num = 0 + + for i in piezas.size(): + if piezas[i] == body: + num = i + return num + +#comprueva si esta la pieza en su sitio +func comprobarPosicion(body: TextureButton, num: int): + #region colocacion + if !GameManager.mapa: + var marker = markers[num] + + + # Verifica si la pieza no está siendo presionada y está cerca del marcador + if body.global_position.distance_to(marker.global_position - (Vector2(body.size*body.scale / 2))) < distanciaDeInteraccion: + body.global_position = marker.global_position - (Vector2(body.size*body.scale / 2)) + condiciones[num] = true + print("Pieza %d colocada correctamente" % (num + 1)) + + #region condiciones del completado + if not condiciones.has(false): # Verifica que no haya ningún `false` + print("¡Todas las condiciones son verdaderas!") + complete() + + #endregion + else: + condiciones[num] = false + #endregion + else: + SignalBus.puzzle_exit.emit(self) diff --git a/scripts/puzzle/puzzles.gd b/scripts/puzzle/puzzles.gd new file mode 100644 index 0000000..6044421 --- /dev/null +++ b/scripts/puzzle/puzzles.gd @@ -0,0 +1,29 @@ +extends Node + + +var childrens + +func _ready() -> void: + + SignalBus.execute_puzzle.connect(_on_puzzle_execute) + SignalBus.puzzle_exit.connect(_exit_puzzle) + childrens = get_children() + + pass + + +func _on_puzzle_execute(event_id): + print(event_id) + if(GameManager.puzzleLayer==null): + for child in childrens: + if child.event_id == event_id: + child.show() + print("Show Puzzle") + SignalBus.puzzle_enter.emit(child) + pass + pass + pass + +func _exit_puzzle(puzzleLayer): + puzzleLayer.hide() +pass diff --git a/scripts/puzzle/texture_button.gd b/scripts/puzzle/texture_button.gd new file mode 100644 index 0000000..97ced0b --- /dev/null +++ b/scripts/puzzle/texture_button.gd @@ -0,0 +1,22 @@ +extends TextureButton + +@export var numero: String + + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta): + pass + + + + +func _on_pressed(): + #emito la señal input_caja_fuerte creada en SignalBus y le mando un String + SignalBus.input_caja_fuerte.emit(numero) + SignalBus.input_rejilla.emit(numero) + pass # Replace with function body. diff --git a/scripts/puzzles_rejilla.gd b/scripts/puzzles_rejilla.gd new file mode 100644 index 0000000..e992672 --- /dev/null +++ b/scripts/puzzles_rejilla.gd @@ -0,0 +1,77 @@ +extends CanvasLayer +@onready var rejilla_sin_pastis: Sprite2D = $"Rejilla-sin-pastis" + +@onready var rejilla_sin_tornillos = $"Rejilla-sin-tornillos" +@onready var pastillasButton = $"Rejilla-sin-pastis/pastillas" +@onready var rejilla_sin_rejilla = $"Rejilla-sin-rejilla" +@onready var panel_container = $PanelContainer +const PASTILLAS_64X_64 = preload("res://assets/sprites/Puzles/puzle2-rejilla/pastillas64x64.png") + +@export var event_id="" +@export var event_id_screwdriver="" +@export var event_id_pastillas="" + +var mostrar1=true + +var tornillosQuitados = 0 + +#eliminar estos +var pastillasQuitadas = 0 + +var rejilla_sin_tornillos_existe = true +var rejilla_sin_rejilla_existe = true +var pastillas = true + +# Called when the node enters the scene tree for the first time. +func _ready(): + + #conecto la señal creada en SignalBus.gd a la funcion _on__pressed + SignalBus.input_rejilla.connect(_on__pressed) + SignalBus.wait_input.connect(_on_input_recived) + SignalBus.puzzle_enter.connect(_on_puzzle_enter) +#funcion para cada tecla + + +func _on_puzzle_enter(puzzleLayer): + if puzzleLayer==self: + mostrar1=true + + pass + +func _on__pressed(character): + print(character) + if character == "PASTILLAS":#recarga el resultado + pastillasButton.queue_free() + GameManager.rejilla = true + SignalBus.zoom_item.emit(PASTILLAS_64X_64,200,4,100) + SignalBus.execute_event.emit(event_id_pastillas,true) + +func _on_input_recived(): + if GameManager.puzzleLayer==self : + if !GameManager.DialogVisible and !GameManager.zoomItem: + SignalBus.puzzle_exit.emit(self) + pass + +func comprobarTornillos(): + if tornillosQuitados == 4: + rejilla_sin_pastis.visible = true + rejilla_sin_tornillos.queue_free() + #rejilla_sin_tornillos_existe = false + #print("rejilla_sin_tornillos: " + str(rejilla_sin_tornillos_existe)) + +func _process(delta: float) -> void: + if GameManager.puzzleLayer == self: + if !GameManager.rejilla: + if !GameManager.zoomItem and !GameManager.DialogVisible and mostrar1 : + + if GameManager.screwdriver: + SignalBus.execute_event.emit(event_id_screwdriver,true) + mostrar1=false + + pass + if !GameManager.DialogVisible and !GameManager.zoomItem: + + SignalBus.input_required.emit() + + pass + diff --git a/scripts/scene_rejilla.gd b/scripts/scene_rejilla.gd deleted file mode 100644 index 7412fcb..0000000 --- a/scripts/scene_rejilla.gd +++ /dev/null @@ -1,39 +0,0 @@ -extends CanvasLayer - -@onready var rejilla_sin_tornillos = $"MarginContainer/Rejilla-sin-tornillos" -@onready var rejilla_sin_rejilla = $"MarginContainer/Rejilla-sin-rejilla" -@onready var panel_container = $MarginContainer/PanelContainer - - -#eliminar estos -var tornillosQuitados = 0 -var pastillasQuitadas = 0 - -var rejilla_sin_tornillos_existe = true -var rejilla_sin_rejilla_existe = true -var pastillas = true - -# Called when the node enters the scene tree for the first time. -func _ready(): - pass # Replace with function body. - - -# Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta): - - if GameManager.flag1 : - pastillasQuitadas = 1 - print("pastillasQuitadas: " + str(pastillasQuitadas)) - - if tornillosQuitados == 4 and rejilla_sin_tornillos_existe:#if GameManager.tornillosQuitados == 4: - rejilla_sin_tornillos.queue_free() - rejilla_sin_tornillos_existe = false - print("rejilla_sin_tornillos: " + str(rejilla_sin_tornillos_existe)) - - if pastillasQuitadas == 1 and rejilla_sin_rejilla_existe:#if GameManager.pastillasQuitadas == 1: - rejilla_sin_rejilla.queue_free() - rejilla_sin_rejilla_existe = false - panel_container.visible = true - print("rejilla_sin_rejilla: " + str(rejilla_sin_rejilla_existe)) - - diff --git a/scripts/shaders/vinieta.gdshader b/scripts/shaders/vinieta.gdshader index c851709..2ffe50c 100644 --- a/scripts/shaders/vinieta.gdshader +++ b/scripts/shaders/vinieta.gdshader @@ -6,7 +6,7 @@ uniform vec3 vignette_color = vec3(0.0, 0.0, 0.0); // Color de la viñeta (puede void fragment() { // Obtener las coordenadas de píxel normalizadas - vec2 uv = FRAGCOORD.xy / SCREEN_PIXEL_SIZE.xy; + vec2 uv = FRAGCOORD.xy / SCREEN_PIXEL_SIZE.xy; // Calcular la distancia del centro float dist = distance(uv, vec2(0.5, 0.5)); // Distancia desde el centro de la pantalla (0.5, 0.5) diff --git a/scripts/tornillo_derecho.gd b/scripts/tornillo_derecho.gd deleted file mode 100644 index 9492bbf..0000000 --- a/scripts/tornillo_derecho.gd +++ /dev/null @@ -1,43 +0,0 @@ -extends Sprite2D -@onready var animation_player = $AnimationPlayer - -#eliminar esto -@onready var scene_rejilla = $"../.." - -# Variable para almacenar si el clic izquierdo se ha realizado -var clicked_left: bool = false - -# Called when the node enters the scene tree for the first time. -func _ready(): - pass # Aquí puedes poner algo que quieras hacer al iniciar - -# Detectar entrada del ratón (clic izquierdo) -func _unhandled_input(event: InputEvent) -> void: - if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT and get_global_mouse_position().distance_to(global_position) < 20.0: - print("clikIzquierdo") # Si se hace clic izquierdo - if event.pressed and get_global_mouse_position().distance_to(global_position) < 20.0: - clicked_left = true # Cambia el estado a true al hacer clic - print("Clic izquierdo detectado") - -# Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta): - - if clicked_left and not animation_player.is_playing(): #if clicked_left and GameManager.destornillador: # Verifica que GameManager.flag1 esté activado - clicked_left = false - animation_player.play("rotar") # Activa la animación llamada "rotar" - - print("animacionejecutada") - #await animation_player.finished - # Restablece el estado después de iniciar la animación - #queue_free() - - pass - - - - -func _on_animation_player_animation_finished(anim_name): - scene_rejilla.tornillosQuitados += 1 - print("tornillos quitados: "+str(scene_rejilla.tornillosQuitados)) - - queue_free() # Replace with function body. diff --git a/scripts/tornillos.gd b/scripts/tornillos.gd new file mode 100644 index 0000000..9d228c0 --- /dev/null +++ b/scripts/tornillos.gd @@ -0,0 +1,25 @@ +extends TextureButton +@onready var animation_player = $AnimationPlayer + +#eliminar esto +@onready var puzzle_rejilla = $"../.." + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Aquí puedes poner algo que quieras hacer al iniciar + +func _on_pressed() -> void: + print("Pressed") + if GameManager.screwdriver == true: + animation_player.play("rotar") + + else: + print("No tengo destornillador") + pass + +func _on_animation_player_animation_finished(anim_name): + puzzle_rejilla.tornillosQuitados += 1 + puzzle_rejilla.comprobarTornillos() + print("tornillos quitados: "+str(puzzle_rejilla.tornillosQuitados)) + + queue_free() # Replace with function body. diff --git a/scripts/trigger.gd b/scripts/trigger.gd index 1ae41c7..679cdf7 100644 --- a/scripts/trigger.gd +++ b/scripts/trigger.gd @@ -5,22 +5,29 @@ extends Marker2D func _ready() -> void: SignalBus.event_waiting.connect(_on_event_wating) + pass - -func _process(delta: float) -> void: - pass - func on_triggered(): if(event_id!=""): - SignalBus.execute_event.emit(event_id) + SignalBus.execute_event.emit(event_id,false) pass func _on_event_wating(event_id:String): - self.event_id = event_id + if GameManager.interactive==self: + if event_id != "": + self.event_id=event_id + else : + self.queue_free() pass func _on_area_2d_body_entered(body: Node2D) -> void: + #if GameManager.startEvent == false and isTriggered == true: + # GameManager.setInteractive(self) + # on_triggered() + # GameManager.startEvent = true + + if GameManager.player == body and GameManager.interactive==null: GameManager.setInteractive(self) @@ -28,8 +35,9 @@ func _on_area_2d_body_entered(body: Node2D) -> void: func _on_area_2d_body_exited(body: Node2D) -> void: - - if GameManager.player == body: + if GameManager.player == body and GameManager.interactive==self: GameManager.setInteractive(null) - + # if isTriggered: + # if trigger_inicio != null: + # trigger_inicio.queue_free() pass diff --git a/scripts/zoom_item.gd b/scripts/zoom_item.gd new file mode 100644 index 0000000..6790b41 --- /dev/null +++ b/scripts/zoom_item.gd @@ -0,0 +1,47 @@ +extends CanvasLayer + +@onready var texture_item: TextureRect = $PanelContainer/TextureRect + +var textureMinSize +var textureMaxSize +var speed +var waiting + +func _ready() -> void: + + SignalBus.zoom_item.connect(_zoom_item_execute) + SignalBus.wait_input.connect(_on_input_recieved) + pass + +func _process(delta: float) -> void: + if GameManager.zoomItem and !waiting: + if texture_item.custom_minimum_size.x < textureMaxSize: + texture_item.custom_minimum_size.x+=delta*speed + texture_item.custom_minimum_size.y+=delta*speed + else : + SignalBus.input_required.emit() + print("animationFinished") + waiting=true + pass + +func _zoom_item_execute(texture,textureMaxSize,textureMinSize,speed): + show() + GameManager.zoomItem=true + texture_item.texture = texture + self.textureMaxSize=textureMaxSize + self.textureMinSize=textureMinSize + self.texture_item.texture=texture + self.texture_item.custom_minimum_size.x = textureMinSize + self.texture_item.custom_minimum_size.y = textureMinSize + self.speed=speed + waiting=false + pass + +func _on_input_recieved(): + if GameManager.zoomItem : + if GameManager.DialogVisible and waiting: + if texture_item.custom_minimum_size.x >= textureMaxSize: + GameManager.zoomItem=false + hide() + GameManager.player.required=true + SignalBus.exit_zoom_item.emit(texture_item.texture)