85 lines
2.9 KiB
Text
85 lines
2.9 KiB
Text
[gd_scene load_steps=15 format=3 uid="uid://8l43dsk30uq3"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/enemy.gd" id="1_4aawx"]
|
|
[ext_resource type="Texture2D" uid="uid://blrbc8mp71nub" path="res://Textures/Route/Route 1.png" id="2_h84n4"]
|
|
[ext_resource type="Texture2D" uid="uid://cphw4low4de4b" path="res://Textures/Route/Route 2.png" id="3_tnxi1"]
|
|
[ext_resource type="Texture2D" uid="uid://dwdn12rkkr1uo" path="res://Textures/Route/Route 3.png" id="4_8tegk"]
|
|
[ext_resource type="Texture2D" uid="uid://bbupn4br1fog7" path="res://Textures/Route/Route 4.png" id="5_nodwr"]
|
|
[ext_resource type="Texture2D" uid="uid://tfbp816emics" path="res://Textures/Route/Route 5.png" id="6_dky81"]
|
|
[ext_resource type="Texture2D" uid="uid://cl0sil1psnxs1" path="res://Textures/Route/Route 6.png" id="7_lif88"]
|
|
[ext_resource type="Texture2D" uid="uid://cgv78fuua01eg" path="res://Textures/Route/Route 7.png" id="8_slcma"]
|
|
[ext_resource type="Texture2D" uid="uid://y2e4mmb2u3h5" path="res://Textures/Route/Route 8.png" id="9_g78pb"]
|
|
[ext_resource type="Texture2D" uid="uid://cfonr11og4um" path="res://Textures/Route/Route 9.png" id="10_i4jqp"]
|
|
[ext_resource type="Texture2D" uid="uid://dtgyeeu1t0n7h" path="res://Textures/Route/Route 10.png" id="11_skrsr"]
|
|
[ext_resource type="Texture2D" uid="uid://b1xcgdrf6sdbp" path="res://Textures/Route/Route 11.png" id="12_gr3uw"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_48384"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_h84n4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_tnxi1")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_8tegk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_nodwr")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_dky81")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("7_lif88")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("8_slcma")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("9_g78pb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("10_i4jqp")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("11_skrsr")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("12_gr3uw")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 22.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_t28hd"]
|
|
size = Vector2(77, 77)
|
|
|
|
[node name="Enemy" type="RigidBody2D" groups=["Enemy"]]
|
|
collision_layer = 3
|
|
collision_mask = 3
|
|
mass = 50.0
|
|
gravity_scale = 0.0
|
|
lock_rotation = true
|
|
custom_integrator = true
|
|
contact_monitor = true
|
|
max_contacts_reported = 1
|
|
script = ExtResource("1_4aawx")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
position = Vector2(-9, 4)
|
|
scale = Vector2(0.08, 0.08)
|
|
sprite_frames = SubResource("SpriteFrames_48384")
|
|
autoplay = "default"
|
|
frame_progress = 0.329504
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0.5, 0.5)
|
|
shape = SubResource("RectangleShape2D_t28hd")
|
|
|
|
[node name="Arm" type="Node2D" parent="."]
|
|
|
|
[node name="Marker2D" type="Marker2D" parent="Arm"]
|
|
position = Vector2(-130, 0)
|