54 lines
1.9 KiB
Plaintext
54 lines
1.9 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://df6xmsx4rav7n"]
|
|
|
|
[ext_resource type="Script" uid="uid://enxayokme5rs" path="res://core.gd" id="1_6sogb"]
|
|
[ext_resource type="Texture2D" uid="uid://c54p5kdrt1r71" path="res://levelFinal/core/coreSprites/planetCore_0001.png" id="1_macrm"]
|
|
[ext_resource type="Texture2D" uid="uid://b6qm6xu5ojpww" path="res://levelFinal/core/coreSprites/planetCore_0002.png" id="2_6sogb"]
|
|
[ext_resource type="Texture2D" uid="uid://bbt2g8bk7kke8" path="res://levelFinal/core/coreSprites/planetCore_0003.png" id="3_fpp5w"]
|
|
[ext_resource type="Texture2D" uid="uid://ch6720bqxcsmf" path="res://levelFinal/core/coreSprites/planetCore_0004.png" id="4_c0dob"]
|
|
[ext_resource type="Texture2D" uid="uid://cd3n7wtnkho61" path="res://levelFinal/core/coreSprites/planetCore_0005.png" id="5_v2s1a"]
|
|
[ext_resource type="Texture2D" uid="uid://bykh05626og5c" path="res://levelFinal/core/coreSprites/planetCore_0006.png" id="6_in0ky"]
|
|
|
|
[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
|
|
|
|
[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")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, -1)
|
|
shape = SubResource("CircleShape2D_a5wrw")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|