294 lines
7.9 KiB
Plaintext
294 lines
7.9 KiB
Plaintext
[gd_scene load_steps=17 format=3 uid="uid://bhbg8bu70suwo"]
|
|
|
|
[ext_resource type="Script" uid="uid://fnwnfflaoeqp" path="res://addons/escoria-core/game/core-scripts/esc_background.gd" id="1"]
|
|
[ext_resource type="Script" uid="uid://c7fcpp72w3dnj" path="res://addons/escoria-core/game/core-scripts/esc_room.gd" id="2"]
|
|
[ext_resource type="Script" uid="uid://dshelmw7y44qg" path="res://addons/escoria-core/game/core-scripts/esc_item.gd" id="3"]
|
|
[ext_resource type="Texture2D" uid="uid://j8g8uv6qisoj" path="res://gymkhana/rooms/intro/escoria_background.png" id="4"]
|
|
[ext_resource type="Texture2D" uid="uid://dubihfjeptqqi" path="res://gymkhana/rooms/intro/escoria-logo-comet-anim.png" id="5"]
|
|
[ext_resource type="Texture2D" uid="uid://do6yakpk8w4ct" path="res://gymkhana/rooms/intro/escoria-logo-comet.png" id="6"]
|
|
[ext_resource type="Texture2D" uid="uid://c7tkx0w1rpnj7" path="res://gymkhana/rooms/intro/intro_background_space.png" id="7"]
|
|
|
|
[sub_resource type="AtlasTexture" id="1"]
|
|
atlas = ExtResource("5")
|
|
region = Rect2(0, 0, 340, 400)
|
|
|
|
[sub_resource type="AtlasTexture" id="2"]
|
|
atlas = ExtResource("5")
|
|
region = Rect2(340, 0, 340, 400)
|
|
|
|
[sub_resource type="AtlasTexture" id="3"]
|
|
atlas = ExtResource("5")
|
|
region = Rect2(680, 0, 340, 400)
|
|
|
|
[sub_resource type="AtlasTexture" id="4"]
|
|
atlas = ExtResource("5")
|
|
region = Rect2(1020, 0, 340, 400)
|
|
|
|
[sub_resource type="AtlasTexture" id="5"]
|
|
atlas = ExtResource("5")
|
|
region = Rect2(1360, 0, 340, 400)
|
|
|
|
[sub_resource type="AtlasTexture" id="6"]
|
|
atlas = ExtResource("5")
|
|
region = Rect2(1700, 0, 340, 400)
|
|
|
|
[sub_resource type="SpriteFrames" id="7"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("1")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("6")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 10.0
|
|
}]
|
|
|
|
[sub_resource type="Animation" id="8"]
|
|
length = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("asteroid:visible")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [false]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("animated_asteroid:visible")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("ESCBackground:visible")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/path = NodePath("asteroid:position")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(620, 450)]
|
|
}
|
|
tracks/4/type = "value"
|
|
tracks/4/imported = false
|
|
tracks/4/enabled = true
|
|
tracks/4/path = NodePath("Polygon2D:visible")
|
|
tracks/4/interp = 1
|
|
tracks/4/loop_wrap = true
|
|
tracks/4/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [true]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="9"]
|
|
length = 6.0
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("animated_asteroid:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(350, -20), Vector2(630, 471)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("animated_asteroid:playing")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("animated_asteroid:scale")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0, 3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(0.1, 0.1), Vector2(1, 1)]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/path = NodePath("animated_asteroid:visible")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/keys = {
|
|
"times": PackedFloat32Array(0, 3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [true, false]
|
|
}
|
|
tracks/4/type = "value"
|
|
tracks/4/imported = false
|
|
tracks/4/enabled = true
|
|
tracks/4/path = NodePath("asteroid:visible")
|
|
tracks/4/interp = 1
|
|
tracks/4/loop_wrap = true
|
|
tracks/4/keys = {
|
|
"times": PackedFloat32Array(0, 3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [false, true]
|
|
}
|
|
tracks/5/type = "value"
|
|
tracks/5/imported = false
|
|
tracks/5/enabled = true
|
|
tracks/5/path = NodePath("asteroid:modulate")
|
|
tracks/5/interp = 1
|
|
tracks/5/loop_wrap = true
|
|
tracks/5/keys = {
|
|
"times": PackedFloat32Array(0, 3.5, 4.5),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
|
}
|
|
tracks/6/type = "value"
|
|
tracks/6/imported = false
|
|
tracks/6/enabled = true
|
|
tracks/6/path = NodePath("Polygon2D:color")
|
|
tracks/6/interp = 1
|
|
tracks/6/loop_wrap = true
|
|
tracks/6/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1)]
|
|
}
|
|
tracks/7/type = "value"
|
|
tracks/7/imported = false
|
|
tracks/7/enabled = true
|
|
tracks/7/path = NodePath("Polygon2D:modulate")
|
|
tracks/7/interp = 1
|
|
tracks/7/loop_wrap = true
|
|
tracks/7/keys = {
|
|
"times": PackedFloat32Array(0, 3, 3.5, 5),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
|
}
|
|
tracks/8/type = "value"
|
|
tracks/8/imported = false
|
|
tracks/8/enabled = true
|
|
tracks/8/path = NodePath("asteroid:position")
|
|
tracks/8/interp = 1
|
|
tracks/8/loop_wrap = true
|
|
tracks/8/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(620, 450)]
|
|
}
|
|
tracks/9/type = "value"
|
|
tracks/9/imported = false
|
|
tracks/9/enabled = true
|
|
tracks/9/path = NodePath("Polygon2D:visible")
|
|
tracks/9/interp = 1
|
|
tracks/9/loop_wrap = true
|
|
tracks/9/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
|
|
[node name="ESCRoom" type="Node2D"]
|
|
script = ExtResource("2")
|
|
global_id = "intro_cutscene"
|
|
esc_script = "res://gymkhana/rooms/intro/esc/intro.esc"
|
|
camera_limits = [Rect2(0, 0, 1920, 1080)]
|
|
|
|
[node name="ESCBackground" type="TextureRect" parent="."]
|
|
offset_right = 1279.0
|
|
offset_bottom = 900.0
|
|
mouse_filter = 2
|
|
texture = ExtResource("4")
|
|
expand = true
|
|
stretch_mode = 1
|
|
script = ExtResource("1")
|
|
|
|
[node name="IntroBackgroundSpace" type="Sprite2D" parent="."]
|
|
position = Vector2(641, 451)
|
|
texture = ExtResource("7")
|
|
|
|
[node name="animated_asteroid" type="AnimatedSprite2D" parent="."]
|
|
visible = false
|
|
position = Vector2(630, 471)
|
|
frames = SubResource("7")
|
|
|
|
[node name="Polygon2D" type="Polygon2D" parent="."]
|
|
modulate = Color(1, 1, 1, 0)
|
|
position = Vector2(0, 2)
|
|
polygon = PackedVector2Array(0, 0, 1280, 0, 1280, 900, 0, 900)
|
|
|
|
[node name="asteroid" type="Sprite2D" parent="."]
|
|
visible = false
|
|
modulate = Color(1, 1, 1, 0)
|
|
position = Vector2(620, 450)
|
|
texture = ExtResource("6")
|
|
|
|
[node name="ESCItem" type="Area2D" parent="."]
|
|
process_mode = 1
|
|
script = ExtResource("3")
|
|
global_id = "intro_animation_player"
|
|
combine_when_selected_action_is_in = []
|
|
dialog_color = Color(1, 1, 1, 1)
|
|
animations = null
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="ESCItem"]
|
|
root_node = NodePath("../..")
|
|
anims/RESET = SubResource("8")
|
|
anims/intro = SubResource("9")
|