mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 02:05:54 +00:00
Enemy sprites
This commit is contained in:
parent
1fd9b70485
commit
91e063c01b
10 changed files with 118 additions and 9 deletions
|
|
@ -1,14 +1,32 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://v8s3kubgb2qg"]
|
||||
[gd_scene load_steps=13 format=3 uid="uid://v8s3kubgb2qg"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://b4ynnb14mb4uq" path="res://Sprites/Reisen.png" id="1_4w8mj"]
|
||||
[ext_resource type="Script" path="res://Scripts/Enemy.cs" id="1_lpwdj"]
|
||||
[ext_resource type="Texture2D" uid="uid://buwohektt3k00" path="res://Sprites/Actors/Robot1.png" id="2_hqnpo"]
|
||||
[ext_resource type="PackedScene" uid="uid://cuixq5ex0j40h" path="res://Scenes/enemyBullet.tscn" id="2_ogldd"]
|
||||
[ext_resource type="Script" path="res://Scripts/Components/ProximityPlayerDetection.cs" id="3_1nqn5"]
|
||||
[ext_resource type="PackedScene" uid="uid://crry0rgk7a8sm" path="res://Scenes/Weapons/BaseWeapon.tscn" id="4_2k1dv"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2brqc"]
|
||||
atlas = ExtResource("1_4w8mj")
|
||||
region = Rect2(0, 0, 8, 16)
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_d7fe2"]
|
||||
atlas = ExtResource("2_hqnpo")
|
||||
region = Rect2(0, 0, 16, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_r6ku6"]
|
||||
atlas = ExtResource("2_hqnpo")
|
||||
region = Rect2(16, 0, 16, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_xl1qg"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_d7fe2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_r6ku6")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_8gtts"]
|
||||
radius = 7.0
|
||||
|
|
@ -31,8 +49,9 @@ _playerDetection = NodePath("PlayerDetection")
|
|||
_navigationEnabled = true
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = SubResource("AtlasTexture_2brqc")
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_xl1qg")
|
||||
frame_progress = 0.280415
|
||||
|
||||
[node name="Damage_HitBox" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue