173 lines
5.1 KiB
Plaintext
173 lines
5.1 KiB
Plaintext
[gd_scene load_steps=15 format=3 uid="uid://bdd6q3m06bnn3"]
|
|
|
|
[ext_resource type="Script" uid="uid://enxayokme5rs" path="res://levels/levelFinal/core/core.gd" id="1_6sogb"]
|
|
[ext_resource type="Texture2D" uid="uid://c54p5kdrt1r71" path="res://levels/levelFinal/core/coreSprites/planetCore_0001.png" id="1_macrm"]
|
|
[ext_resource type="Texture2D" uid="uid://b6qm6xu5ojpww" path="res://levels/levelFinal/core/coreSprites/planetCore_0002.png" id="2_6sogb"]
|
|
[ext_resource type="Texture2D" uid="uid://bbt2g8bk7kke8" path="res://levels/levelFinal/core/coreSprites/planetCore_0003.png" id="3_fpp5w"]
|
|
[ext_resource type="Texture2D" uid="uid://ch6720bqxcsmf" path="res://levels/levelFinal/core/coreSprites/planetCore_0004.png" id="4_c0dob"]
|
|
[ext_resource type="Texture2D" uid="uid://cd3n7wtnkho61" path="res://levels/levelFinal/core/coreSprites/planetCore_0005.png" id="5_v2s1a"]
|
|
[ext_resource type="Texture2D" uid="uid://bykh05626og5c" path="res://levels/levelFinal/core/coreSprites/planetCore_0006.png" id="6_in0ky"]
|
|
[ext_resource type="Script" uid="uid://jeddvfkorpxu" path="res://levels/levelOne/animation_player.gd" id="8_d4a53"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_macrm"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("1_macrm")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_6sogb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_fpp5w")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_c0dob")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_v2s1a")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_in0ky")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 10.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_a5wrw"]
|
|
radius = 112.0
|
|
|
|
[sub_resource type="Animation" id="Animation_h31ej"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("ColorRect:color")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(0, 0, 0, 1)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("ColorRect:modulate")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(0, 0, 0, 1)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_a6hc6"]
|
|
resource_name = "fadeIn"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("ColorRect:color")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(0, 0, 0, 1), Color(0, 0, 0, 0)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("ColorRect:modulate")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(0, 0, 0, 1), Color(0, 0, 0, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_e5775"]
|
|
resource_name = "fadeOut"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("ColorRect:color")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("ColorRect:modulate")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_h31ej"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_h31ej"),
|
|
&"fadeIn": SubResource("Animation_a6hc6"),
|
|
&"fadeOut": SubResource("Animation_e5775")
|
|
}
|
|
|
|
[node name="core" type="Area2D"]
|
|
collision_layer = 3
|
|
collision_mask = 3
|
|
script = ExtResource("1_6sogb")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
position = Vector2(-7, 0)
|
|
sprite_frames = SubResource("SpriteFrames_macrm")
|
|
autoplay = "default"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, -1)
|
|
shape = SubResource("CircleShape2D_a5wrw")
|
|
|
|
[node name="fadeOut" type="CanvasLayer" parent="."]
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="fadeOut"]
|
|
physics_interpolation_mode = 1
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_h31ej")
|
|
}
|
|
autoplay = "fadeIn"
|
|
script = ExtResource("8_d4a53")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="fadeOut"]
|
|
modulate = Color(0, 0, 0, 1)
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
color = Color(0, 0, 0, 1)
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="Label" type="Label" parent="fadeOut"]
|
|
offset_left = 510.0
|
|
offset_top = -39.0
|
|
offset_right = 602.0
|
|
offset_bottom = -16.0
|
|
text = "placeholder"
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
|
[connection signal="playerExit" from="." to="fadeOut/AnimationPlayer" method="_on_exit_zone_player_exit"]
|