617 lines
20 KiB
Text
617 lines
20 KiB
Text
[gd_scene load_steps=60 format=3 uid="uid://4i2kop2nto56"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://b0ky8bjwk3xp4" path="res://scenes/game_manager.tscn" id="1_a6e3b"]
|
|
[ext_resource type="PackedScene" uid="uid://fu50vlhoj4tc" path="res://scenes/crt.tscn" id="3_82t0k"]
|
|
[ext_resource type="PackedScene" uid="uid://gds4ywca08dr" path="res://scenes/text_typing.tscn" id="3_enu1t"]
|
|
[ext_resource type="Texture2D" uid="uid://bfuksp220ejmv" path="res://sprites/background.png" id="3_gecr6"]
|
|
[ext_resource type="Texture2D" uid="uid://hwdnd10qvxn4" path="res://sprites/fondo general.png" id="3_iqnac"]
|
|
[ext_resource type="Script" path="res://scripts/effects/shake.gd" id="3_ogixi"]
|
|
[ext_resource type="Texture2D" uid="uid://b02f0labhmgac" path="res://sprites/fx/estrellita_cutre.png" id="4_aaugx"]
|
|
[ext_resource type="Texture2D" uid="uid://r1vlkamrdvut" path="res://sprites/ondas.png" id="4_ugm7x"]
|
|
[ext_resource type="Texture2D" uid="uid://gh06fhvhmn35" path="res://sprites/retrato.png" id="5_8rmq8"]
|
|
[ext_resource type="Script" path="res://scripts/game_flow.gd" id="6_8btdw"]
|
|
[ext_resource type="Texture2D" uid="uid://4abm8qv3y12q" path="res://sprites/motor izquierdo.png" id="6_hoqpc"]
|
|
[ext_resource type="Texture2D" uid="uid://bmwvo4wau13e8" path="res://sprites/motor derecho.png" id="7_mflr1"]
|
|
[ext_resource type="Script" path="res://scripts/effects/engines.gd" id="7_mwk5j"]
|
|
[ext_resource type="Texture2D" uid="uid://cd7ebcxsui4c3" path="res://sprites/ondas1.png" id="7_plbq2"]
|
|
[ext_resource type="Texture2D" uid="uid://d35eui04v3k80" path="res://sprites/ondas2.png" id="8_8nqun"]
|
|
[ext_resource type="Texture2D" uid="uid://c3s7ahkssti82" path="res://sprites/luz 4.png" id="8_mlnnv"]
|
|
[ext_resource type="Script" path="res://scripts/effects/lights.gd" id="9_72l8n"]
|
|
[ext_resource type="Texture2D" uid="uid://3jt08tccjv7p" path="res://sprites/luz 3.png" id="9_bpqdk"]
|
|
[ext_resource type="Texture2D" uid="uid://d33s6pef40flk" path="res://sprites/luz 2.png" id="10_5e241"]
|
|
[ext_resource type="Texture2D" uid="uid://bn160j1ao7da5" path="res://sprites/luz 1.png" id="11_ftija"]
|
|
[ext_resource type="Texture2D" uid="uid://d0fbphqlv1pcp" path="res://sprites/cara tieso.png" id="12_pgcgj"]
|
|
[ext_resource type="Texture2D" uid="uid://hjwhjwfpabnj" path="res://sprites/cara panico.png" id="13_tnoyt"]
|
|
[ext_resource type="Script" path="res://scripts/effects/light_face.gd" id="14_5samn"]
|
|
[ext_resource type="Texture2D" uid="uid://c5p8vhabiwx3d" path="res://sprites/cara feliz.png" id="14_g7lfk"]
|
|
[ext_resource type="Texture2D" uid="uid://cymf1kthfn0am" path="res://sprites/altavoz encendido.png" id="15_ymy1l"]
|
|
[ext_resource type="Script" path="res://scripts/effects/speaker.gd" id="16_53e0o"]
|
|
[ext_resource type="Texture2D" uid="uid://chem1yo0ossu1" path="res://sprites/altavoz apagado.png" id="16_sgsed"]
|
|
[ext_resource type="AudioStream" uid="uid://bbk7bwso0hlpp" path="res://audio/sfx/coche_choque.wav" id="17_uxtxy"]
|
|
[ext_resource type="AudioStream" uid="uid://tpf5bcnaugm8" path="res://audio/sfx/cucaracha.wav" id="18_2e634"]
|
|
[ext_resource type="AudioStream" uid="uid://bilo0hq0hxfqx" path="res://audio/sfx/metal.wav" id="19_jjs05"]
|
|
[ext_resource type="AudioStream" uid="uid://bibremy5etxpr" path="res://audio/sfx/le_fishe.wav" id="20_yv348"]
|
|
[ext_resource type="Script" path="res://scripts/effects/shadow.gd" id="21_86vaa"]
|
|
[ext_resource type="Texture2D" uid="uid://dbq3yme5m8th8" path="res://sprites/retrato2.png" id="28_ax6da"]
|
|
[ext_resource type="Texture2D" uid="uid://dtr13fgmo5i3n" path="res://sprites/retrato3.png" id="29_a1guj"]
|
|
[ext_resource type="Shader" path="res://shaders/vignette.gdshader" id="31_3ivd2"]
|
|
[ext_resource type="Script" path="res://scripts/arduino_control/pulse_generator.gd" id="31_kyreg"]
|
|
[ext_resource type="Script" path="res://scripts/effects/vignette.gd" id="32_qlewj"]
|
|
[ext_resource type="Script" path="res://scripts/effects/smoke.gd" id="36_0c4t4"]
|
|
[ext_resource type="Texture2D" uid="uid://cfj7novxcpont" path="res://sprites/burbuja_Blur.png" id="36_7dbgh"]
|
|
[ext_resource type="Texture2D" uid="uid://dfwqex0goxj5j" path="res://sprites/mascara.png" id="36_l7cj1"]
|
|
[ext_resource type="AudioStream" uid="uid://dokkkq3u0tgmr" path="res://audio/music.wav" id="39_ecyg1"]
|
|
[ext_resource type="AudioStream" uid="uid://ddejj31me7x4m" path="res://audio/ingame/dinamo03.wav" id="40_swbqh"]
|
|
[ext_resource type="Script" path="res://scripts/explosion_player.gd" id="43_4k1hy"]
|
|
[ext_resource type="AudioStream" uid="uid://d3gfdigg7qmkq" path="res://audio/ingame/explosion/bigboom-42826.mp3" id="44_r4e8v"]
|
|
[ext_resource type="AudioStream" uid="uid://cx6c74xlim53n" path="res://audio/ingame/explosion/distant-explosion-47562.mp3" id="45_ojk1h"]
|
|
[ext_resource type="AudioStream" uid="uid://dgntsonvvvwjn" path="res://audio/ingame/explosion/medium-explosion-40472.mp3" id="46_nvk6r"]
|
|
[ext_resource type="AudioStream" uid="uid://cqkwp7ohpy4wt" path="res://audio/ingame/alarm/beep-warning-6387.mp3" id="47_ra8w3"]
|
|
[ext_resource type="AudioStream" uid="uid://gsr48kyou765" path="res://audio/ingame/alarm/red-alert_nuclear_buzzer-99741.mp3" id="48_3jpdp"]
|
|
|
|
[sub_resource type="Animation" id="Animation_hsrc7"]
|
|
resource_name = "game_flow"
|
|
length = 120.0
|
|
tracks/0/type = "method"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("GameManager/AnimationPlayer")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(2, 7, 13, 16.1, 18.1, 24, 31, 34, 37.1, 42, 48, 49, 53, 56, 59, 62, 67, 68, 73, 79, 80, 82.9, 86, 91, 97, 101, 104.5, 106, 109, 114),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
|
"values": [{
|
|
"args": [],
|
|
"method": &"mishap1"
|
|
}, {
|
|
"args": [],
|
|
"method": &"play_5s_shake"
|
|
}, {
|
|
"args": [],
|
|
"method": &"mishap2"
|
|
}, {
|
|
"args": [2],
|
|
"method": &"distort"
|
|
}, {
|
|
"args": [],
|
|
"method": &"play_5s_shake"
|
|
}, {
|
|
"args": [],
|
|
"method": &"mishap3"
|
|
}, {
|
|
"args": [],
|
|
"method": &"play_5s_shake"
|
|
}, {
|
|
"args": [2],
|
|
"method": &"distort"
|
|
}, {
|
|
"args": [],
|
|
"method": &"mishap4"
|
|
}, {
|
|
"args": [],
|
|
"method": &"play_5s_shake"
|
|
}, {
|
|
"args": [],
|
|
"method": &"mishap5"
|
|
}, {
|
|
"args": [3],
|
|
"method": &"distort"
|
|
}, {
|
|
"args": [],
|
|
"method": &"play_5s_shake"
|
|
}, {
|
|
"args": [6],
|
|
"method": &"distort"
|
|
}, {
|
|
"args": [],
|
|
"method": &"mishap6"
|
|
}, {
|
|
"args": [],
|
|
"method": &"play_5s_shake"
|
|
}, {
|
|
"args": [6],
|
|
"method": &"distort"
|
|
}, {
|
|
"args": [],
|
|
"method": &"mishap7"
|
|
}, {
|
|
"args": [],
|
|
"method": &"play_5s_shake"
|
|
}, {
|
|
"args": [],
|
|
"method": &"mishap8"
|
|
}, {
|
|
"args": [],
|
|
"method": &"play_5s_shake"
|
|
}, {
|
|
"args": [2],
|
|
"method": &"distort"
|
|
}, {
|
|
"args": [],
|
|
"method": &"mishap9"
|
|
}, {
|
|
"args": [],
|
|
"method": &"play_5s_shake"
|
|
}, {
|
|
"args": [],
|
|
"method": &"mishap10"
|
|
}, {
|
|
"args": [],
|
|
"method": &"play_5s_shake"
|
|
}, {
|
|
"args": [4],
|
|
"method": &"distort"
|
|
}, {
|
|
"args": [],
|
|
"method": &"mishap11"
|
|
}, {
|
|
"args": [],
|
|
"method": &"play_5s_shake"
|
|
}, {
|
|
"args": [],
|
|
"method": &"end_game"
|
|
}]
|
|
}
|
|
tracks/1/type = "method"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("ArduinoShake")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(),
|
|
"transitions": PackedFloat32Array(),
|
|
"values": []
|
|
}
|
|
tracks/2/type = "method"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("Spawner")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(6, 12.5, 18.3, 24.6, 32.1, 37.5, 45.2, 51.5, 59.5, 69.6, 78.3, 86.1, 95.5, 105.1),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
|
"values": [{
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}, {
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}, {
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}, {
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}, {
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}, {
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}, {
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}, {
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}, {
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}, {
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}, {
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}, {
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}, {
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}, {
|
|
"args": [],
|
|
"method": &"spawn"
|
|
}]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_86qm3"]
|
|
_data = {
|
|
"game_flow": SubResource("Animation_hsrc7")
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_uyck0"]
|
|
resource_name = "RESET"
|
|
length = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("../Camera2D:intensity")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [0.0]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("../CanvasLayer/Vignette:intensity")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [0.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_mq20l"]
|
|
resource_name = "shake 5s"
|
|
length = 5.0
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("../Camera2D:intensity")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 4.9, 5),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [0.0, 1.0, 0.0]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("../CanvasLayer/Vignette:intensity")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 4.9, 5),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [0.0, 1.5, 0.0]
|
|
}
|
|
tracks/2/type = "method"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("../ArduinoShake")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(4.7),
|
|
"transitions": PackedFloat32Array(1),
|
|
"values": [{
|
|
"args": [2],
|
|
"method": &"shakeController"
|
|
}]
|
|
}
|
|
tracks/3/type = "method"
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/path = NodePath("../sfx")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/keys = {
|
|
"times": PackedFloat32Array(1.8, 4.7),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"values": [{
|
|
"args": [],
|
|
"method": &"play_alarm"
|
|
}, {
|
|
"args": [],
|
|
"method": &"play_explosion"
|
|
}]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_odc1g"]
|
|
_data = {
|
|
"RESET": SubResource("Animation_uyck0"),
|
|
"shake 5s": SubResource("Animation_mq20l")
|
|
}
|
|
|
|
[sub_resource type="Curve" id="Curve_pxncd"]
|
|
_data = [Vector2(0, 0.0395778), 0.0, 0.0, 0, 0, Vector2(1, 0.751319), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="Gradient" id="Gradient_sww5j"]
|
|
interpolation_mode = 2
|
|
offsets = PackedFloat32Array(0, 0.224638)
|
|
colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_m4rwq"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_ugm7x")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("7_plbq2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("8_8nqun")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 10.0
|
|
}]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_7nj25"]
|
|
shader = ExtResource("31_3ivd2")
|
|
shader_parameter/inner_radius = 0.1
|
|
shader_parameter/outer_radius = 1.0
|
|
shader_parameter/vignette_strength = 0.0
|
|
shader_parameter/dither_strength = 0.03
|
|
shader_parameter/vignette_color = Color(1, 0, 0, 1)
|
|
|
|
[sub_resource type="Curve" id="Curve_lmmd8"]
|
|
max_value = 0.94
|
|
_data = [Vector2(0, 0.94), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="Curve" id="Curve_4x2qo"]
|
|
max_value = 0.94
|
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.129747, 0.459698), 0.0, 0.0, 0, 0, Vector2(0.211886, 0.330693), 0.0, 0.0, 0, 0, Vector2(0.344937, 0.664358), 0.0, 0.0, 0, 0, Vector2(0.490956, 0.567527), 0.0, 0.0, 0, 0, Vector2(0.741602, 0.935452), 0.0, 0.0, 0, 0]
|
|
point_count = 6
|
|
|
|
[node name="Spaceship" type="Node2D"]
|
|
|
|
[node name="GameManager" parent="." node_paths=PackedStringArray("text_typer", "dinamo") instance=ExtResource("1_a6e3b")]
|
|
text_typer = NodePath("../TextTyping")
|
|
dinamo = NodePath("../Dinamo")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="GameManager" node_paths=PackedStringArray("crt")]
|
|
root_node = NodePath("../..")
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_86qm3")
|
|
}
|
|
autoplay = "game_flow"
|
|
script = ExtResource("6_8btdw")
|
|
crt = NodePath("../../CanvasLayer/CRT")
|
|
|
|
[node name="VFX" type="AnimationPlayer" parent="GameManager"]
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_odc1g")
|
|
}
|
|
|
|
[node name="Sprites" type="Node2D" parent="."]
|
|
|
|
[node name="Space" type="Sprite2D" parent="Sprites"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("3_gecr6")
|
|
|
|
[node name="CPUParticles2D" type="CPUParticles2D" parent="Sprites"]
|
|
position = Vector2(960, 540)
|
|
amount = 200
|
|
lifetime = 20.0
|
|
preprocess = 100.0
|
|
texture = ExtResource("4_aaugx")
|
|
spread = 180.0
|
|
gravity = Vector2(0, 0)
|
|
initial_velocity_min = 25.0
|
|
initial_velocity_max = 50.0
|
|
angular_velocity_max = 180.0
|
|
linear_accel_min = 5.0
|
|
linear_accel_max = 5.0
|
|
angle_min = -180.0
|
|
angle_max = 180.0
|
|
scale_amount_min = 0.25
|
|
scale_amount_max = 0.5
|
|
scale_amount_curve = SubResource("Curve_pxncd")
|
|
color_ramp = SubResource("Gradient_sww5j")
|
|
|
|
[node name="Background" type="Sprite2D" parent="Sprites"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("3_iqnac")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Sprites"]
|
|
sprite_frames = SubResource("SpriteFrames_m4rwq")
|
|
autoplay = "default"
|
|
frame_progress = 0.604089
|
|
offset = Vector2(960, 540)
|
|
|
|
[node name="Retrato" type="Sprite2D" parent="Sprites"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("5_8rmq8")
|
|
|
|
[node name="Motores" type="Node2D" parent="Sprites"]
|
|
script = ExtResource("7_mwk5j")
|
|
leftPowerSprites = Array[Texture2D]([null, ExtResource("6_hoqpc")])
|
|
rightPowerSprites = Array[Texture2D]([null, ExtResource("7_mflr1")])
|
|
transitionDelta = 1.0
|
|
|
|
[node name="MotorIzquierdo" type="Sprite2D" parent="Sprites/Motores"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("6_hoqpc")
|
|
|
|
[node name="MotorDerecho" type="Sprite2D" parent="Sprites/Motores"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("7_mflr1")
|
|
|
|
[node name="Luces" type="Node2D" parent="Sprites" node_paths=PackedStringArray("light1", "light2", "light3", "light4")]
|
|
script = ExtResource("9_72l8n")
|
|
light1 = NodePath("Luz1")
|
|
light2 = NodePath("Luz2")
|
|
light3 = NodePath("Luz3")
|
|
light4 = NodePath("Luz4")
|
|
|
|
[node name="Luz4" type="Sprite2D" parent="Sprites/Luces"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("8_mlnnv")
|
|
|
|
[node name="Luz3" type="Sprite2D" parent="Sprites/Luces"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("9_bpqdk")
|
|
|
|
[node name="Luz2" type="Sprite2D" parent="Sprites/Luces"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("10_5e241")
|
|
|
|
[node name="Luz1" type="Sprite2D" parent="Sprites/Luces"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("11_ftija")
|
|
|
|
[node name="Cara" type="Node2D" parent="Sprites" node_paths=PackedStringArray("game_manager")]
|
|
script = ExtResource("14_5samn")
|
|
game_manager = NodePath("../../GameManager")
|
|
|
|
[node name="CaraTieso" type="Sprite2D" parent="Sprites/Cara"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("12_pgcgj")
|
|
|
|
[node name="CaraPanico" type="Sprite2D" parent="Sprites/Cara"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("13_tnoyt")
|
|
|
|
[node name="CaraFeliz" type="Sprite2D" parent="Sprites/Cara"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("14_g7lfk")
|
|
|
|
[node name="Altavoz" type="Node2D" parent="Sprites" node_paths=PackedStringArray("enabled_speaker", "disabled_speaker")]
|
|
script = ExtResource("16_53e0o")
|
|
sound_sources = Array[AudioStream]([ExtResource("17_uxtxy"), ExtResource("18_2e634"), ExtResource("19_jjs05"), ExtResource("20_yv348")])
|
|
enabled_speaker = NodePath("AltavozEncendido")
|
|
disabled_speaker = NodePath("AltavozApagado")
|
|
|
|
[node name="AltavozEncendido" type="Sprite2D" parent="Sprites/Altavoz"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("15_ymy1l")
|
|
|
|
[node name="AltavozApagado" type="Sprite2D" parent="Sprites/Altavoz"]
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("16_sgsed")
|
|
|
|
[node name="Timer" type="Timer" parent="Sprites/Altavoz"]
|
|
|
|
[node name="AudioPlayer" type="AudioStreamPlayer" parent="Sprites/Altavoz"]
|
|
|
|
[node name="TextTyping" parent="." node_paths=PackedStringArray("imageField") instance=ExtResource("3_enu1t")]
|
|
offset_right = 1920.0
|
|
offset_bottom = 1080.0
|
|
imageField = NodePath("../Sprites/Retrato")
|
|
characterPool = Array[Texture2D]([ExtResource("28_ax6da"), ExtResource("29_a1guj"), ExtResource("5_8rmq8")])
|
|
|
|
[node name="BurbujaBlur" type="Sprite2D" parent="TextTyping"]
|
|
modulate = Color(1, 1, 1, 0)
|
|
position = Vector2(962, 708)
|
|
texture = ExtResource("36_7dbgh")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
offset = Vector2(960, 540)
|
|
ignore_rotation = false
|
|
position_smoothing_enabled = true
|
|
position_smoothing_speed = 50.0
|
|
rotation_smoothing_enabled = true
|
|
script = ExtResource("3_ogixi")
|
|
randomStrength = 15.0
|
|
|
|
[node name="ArduinoShake" type="Node" parent="." node_paths=PackedStringArray("colorRect")]
|
|
script = ExtResource("31_kyreg")
|
|
pulseInterval = 0.05
|
|
colorRect = NodePath("../CanvasLayer/Flash")
|
|
|
|
[node name="Spawner" type="Node2D" parent="." node_paths=PackedStringArray("positions")]
|
|
script = ExtResource("36_0c4t4")
|
|
positions = [NodePath("Pos"), NodePath("Pos2"), NodePath("Pos3"), NodePath("Pos4"), NodePath("Pos5"), NodePath("Pos6"), NodePath("Pos7"), NodePath("Pos8"), NodePath("Pos9"), NodePath("Pos10"), NodePath("Pos11"), NodePath("Pos12"), NodePath("Pos13")]
|
|
|
|
[node name="Pos" type="Marker2D" parent="Spawner"]
|
|
position = Vector2(276, 975)
|
|
|
|
[node name="Pos2" type="Marker2D" parent="Spawner"]
|
|
position = Vector2(466, 705)
|
|
|
|
[node name="Pos3" type="Marker2D" parent="Spawner"]
|
|
position = Vector2(1517, 584)
|
|
|
|
[node name="Pos4" type="Marker2D" parent="Spawner"]
|
|
position = Vector2(1441, 819)
|
|
|
|
[node name="Pos5" type="Marker2D" parent="Spawner"]
|
|
position = Vector2(1844, 524)
|
|
|
|
[node name="Pos6" type="Marker2D" parent="Spawner"]
|
|
position = Vector2(647, 311)
|
|
|
|
[node name="Pos7" type="Marker2D" parent="Spawner"]
|
|
position = Vector2(307, 267)
|
|
|
|
[node name="Pos8" type="Marker2D" parent="Spawner"]
|
|
position = Vector2(1199, 423)
|
|
|
|
[node name="Pos9" type="Marker2D" parent="Spawner"]
|
|
position = Vector2(1070, 879)
|
|
|
|
[node name="Pos10" type="Marker2D" parent="Spawner"]
|
|
position = Vector2(591, 932)
|
|
|
|
[node name="Pos11" type="Marker2D" parent="Spawner"]
|
|
position = Vector2(1831, 972)
|
|
|
|
[node name="Pos12" type="Marker2D" parent="Spawner"]
|
|
position = Vector2(952, 423)
|
|
|
|
[node name="Pos13" type="Marker2D" parent="Spawner"]
|
|
position = Vector2(1612, 181)
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
[node name="Vignette" type="ColorRect" parent="CanvasLayer"]
|
|
material = SubResource("ShaderMaterial_7nj25")
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("32_qlewj")
|
|
|
|
[node name="MascaraSombra" type="Sprite2D" parent="CanvasLayer" node_paths=PackedStringArray("bubbleMask")]
|
|
modulate = Color(1, 1, 1, 0)
|
|
position = Vector2(960, 540)
|
|
texture = ExtResource("36_l7cj1")
|
|
script = ExtResource("21_86vaa")
|
|
powerOnCurve = SubResource("Curve_lmmd8")
|
|
shutDownCurve = SubResource("Curve_4x2qo")
|
|
duration = 4.0
|
|
bubbleMask = NodePath("../../TextTyping/BurbujaBlur")
|
|
|
|
[node name="Flash" type="ColorRect" parent="CanvasLayer"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(1, 1, 1, 0)
|
|
|
|
[node name="CRT" parent="CanvasLayer" instance=ExtResource("3_82t0k")]
|
|
|
|
[node name="Music" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("39_ecyg1")
|
|
volume_db = 15.0
|
|
autoplay = true
|
|
|
|
[node name="Dinamo" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("40_swbqh")
|
|
volume_db = -80.0
|
|
autoplay = true
|
|
|
|
[node name="sfx" type="Node" parent="."]
|
|
script = ExtResource("43_4k1hy")
|
|
explosions = Array[AudioStream]([ExtResource("44_r4e8v"), ExtResource("45_ojk1h"), ExtResource("46_nvk6r")])
|
|
alarms = Array[AudioStream]([ExtResource("47_ra8w3"), ExtResource("48_3jpdp")])
|
|
|
|
[connection signal="event_complete" from="GameManager" to="TextTyping" method="_on_event_complete"]
|
|
[connection signal="event_fail" from="GameManager" to="TextTyping" method="_on_event_fail"]
|
|
[connection signal="left_engine_off" from="GameManager" to="Sprites/Motores" method="_on_left_engine_off"]
|
|
[connection signal="left_engine_on" from="GameManager" to="Sprites/Motores" method="_on_left_engine_on"]
|
|
[connection signal="lights_in" from="GameManager" to="CanvasLayer/MascaraSombra" method="_on_lights_in"]
|
|
[connection signal="lights_out" from="GameManager" to="Sprites/Cara" method="_on_lights_out"]
|
|
[connection signal="lights_out" from="GameManager" to="CanvasLayer/MascaraSombra" method="_on_lights_out"]
|
|
[connection signal="right_engine_off" from="GameManager" to="Sprites/Motores" method="_on_right_engine_off"]
|
|
[connection signal="right_engine_on" from="GameManager" to="Sprites/Motores" method="_on_right_engine_on"]
|
|
[connection signal="timeout" from="Sprites/Altavoz/Timer" to="Sprites/Altavoz" method="_on_timer_timeout"]
|