50 lines
1.6 KiB
Plaintext
50 lines
1.6 KiB
Plaintext
|
[gd_scene load_steps=9 format=3 uid="uid://b1iu27y3u2hkh"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://eyeball.gd" id="1_nw4j4"]
|
||
|
[ext_resource type="Texture2D" uid="uid://bafnrn6op1sks" path="res://assets/eyeball enemy.png" id="2_aq74w"]
|
||
|
[ext_resource type="Texture2D" uid="uid://bgfs8dp7hxre5" path="res://assets/Eyeball tentacles 1.png" id="3_pcrml"]
|
||
|
[ext_resource type="Texture2D" uid="uid://t7rfy3nkknuu" path="res://assets/Eyeball tentacles 2.png" id="4_1qlwt"]
|
||
|
[ext_resource type="Texture2D" uid="uid://bbh0076ummars" path="res://assets/Eyeball tentacles 3.png" id="5_o0i1g"]
|
||
|
[ext_resource type="Texture2D" uid="uid://ba16is2pmwcyq" path="res://assets/Eyeball Center.png" id="6_og1wa"]
|
||
|
|
||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_1buim"]
|
||
|
animations = [{
|
||
|
"frames": [{
|
||
|
"duration": 1.0,
|
||
|
"texture": ExtResource("3_pcrml")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": ExtResource("4_1qlwt")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": ExtResource("5_o0i1g")
|
||
|
}, {
|
||
|
"duration": 1.0,
|
||
|
"texture": ExtResource("4_1qlwt")
|
||
|
}],
|
||
|
"loop": true,
|
||
|
"name": &"default",
|
||
|
"speed": 5.0
|
||
|
}]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_cgpfj"]
|
||
|
radius = 40.0
|
||
|
|
||
|
[node name="Eyeball" type="Area2D"]
|
||
|
script = ExtResource("1_nw4j4")
|
||
|
|
||
|
[node name="Eyeball" type="Sprite2D" parent="."]
|
||
|
texture = ExtResource("2_aq74w")
|
||
|
|
||
|
[node name="Tails" type="AnimatedSprite2D" parent="."]
|
||
|
z_index = -1
|
||
|
scale = Vector2(1.25, 1.25)
|
||
|
sprite_frames = SubResource("SpriteFrames_1buim")
|
||
|
offset = Vector2(0, 45)
|
||
|
|
||
|
[node name="Iris" type="Sprite2D" parent="."]
|
||
|
texture = ExtResource("6_og1wa")
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource("CircleShape2D_cgpfj")
|