101 lines
3.5 KiB
Text
101 lines
3.5 KiB
Text
[gd_scene load_steps=19 format=3 uid="uid://cvg4akmwt77sx"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/enemy.gd" id="1_kdxi1"]
|
|
[ext_resource type="Texture2D" uid="uid://dw3bcaslqj467" path="res://Textures/Coin/Coin 1.png" id="2_s8unv"]
|
|
[ext_resource type="Texture2D" uid="uid://cnpg71q8pydtg" path="res://Textures/Coin/Coin 2.png" id="3_mlxhs"]
|
|
[ext_resource type="Texture2D" uid="uid://c0kygvqnsfse5" path="res://Textures/Coin/Coin 3.png" id="4_lo4ud"]
|
|
[ext_resource type="Texture2D" uid="uid://c21ggslv66qpg" path="res://Textures/Coin/Coin 4.png" id="5_g16sj"]
|
|
[ext_resource type="Texture2D" uid="uid://dn2vx0de2c724" path="res://Textures/Coin/Coin 5.png" id="6_06yps"]
|
|
[ext_resource type="Texture2D" uid="uid://cro4ea1qh3kj8" path="res://Textures/Coin/Coin 6.png" id="7_3470u"]
|
|
[ext_resource type="Texture2D" uid="uid://bb8bpnqbtgd0x" path="res://Textures/Coin/Coin 7.png" id="8_1q3om"]
|
|
[ext_resource type="Texture2D" uid="uid://d0lqxih7m0e5w" path="res://Textures/Coin/Coin 8.png" id="9_8niih"]
|
|
[ext_resource type="Texture2D" uid="uid://c8w32asukhshm" path="res://Textures/Coin/Coin 9.png" id="10_urhte"]
|
|
[ext_resource type="Texture2D" uid="uid://cjsoadwiu0248" path="res://Textures/Coin/Coin 10.png" id="11_kmbik"]
|
|
[ext_resource type="Texture2D" uid="uid://l2jd4lf4x4ip" path="res://Textures/Coin/Coin 11.png" id="12_lxhk4"]
|
|
[ext_resource type="Texture2D" uid="uid://damvch2xehg0m" path="res://Textures/Coin/Coin 12.png" id="13_cymrp"]
|
|
[ext_resource type="Texture2D" uid="uid://ctmtjvr8jqpq" path="res://Textures/Coin/Coin 13.png" id="14_oeilk"]
|
|
[ext_resource type="Texture2D" uid="uid://vm6wphb3xf2s" path="res://Textures/Coin/Coin 14.png" id="15_8wghn"]
|
|
[ext_resource type="Texture2D" uid="uid://ct2oc7jj6u6n3" path="res://Textures/Coin/Coin 15.png" id="16_52kjy"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_bx8oo"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_s8unv")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_mlxhs")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_lo4ud")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_g16sj")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_06yps")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("7_3470u")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("8_1q3om")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("9_8niih")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("10_urhte")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("11_kmbik")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("12_lxhk4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("13_cymrp")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("14_oeilk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("15_8wghn")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("16_52kjy")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 7.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rhob5"]
|
|
size = Vector2(28, 28)
|
|
|
|
[node name="SmallEnemy" type="RigidBody2D" groups=["Enemy"]]
|
|
collision_layer = 3
|
|
collision_mask = 3
|
|
mass = 10.0
|
|
gravity_scale = 0.0
|
|
lock_rotation = true
|
|
contact_monitor = true
|
|
max_contacts_reported = 1
|
|
script = ExtResource("1_kdxi1")
|
|
Speed = 500
|
|
Health = 3
|
|
ScoreAmount = 100
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
scale = Vector2(0.03, 0.03)
|
|
sprite_frames = SubResource("SpriteFrames_bx8oo")
|
|
autoplay = "default"
|
|
frame_progress = 0.44266
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_rhob5")
|
|
|
|
[node name="Arm" type="Node2D" parent="."]
|
|
|
|
[node name="Marker2D" type="Marker2D" parent="Arm"]
|
|
position = Vector2(-130, 0)
|