mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 18:45:53 +00:00
Enemy spawning
This commit is contained in:
parent
ede8f2028a
commit
29dc9bebe0
20 changed files with 564 additions and 105 deletions
85
Resources/Sprites/base_fairy.tres
Normal file
85
Resources/Sprites/base_fairy.tres
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
[gd_resource type="SpriteFrames" load_steps=10 format=3 uid="uid://chjsokgyo0e33"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://xgxxdq37pykh" path="res://Sprites/Actors/Fairy.png" id="1_ierex"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_13sn2"]
|
||||
atlas = ExtResource("1_ierex")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qs3gm"]
|
||||
atlas = ExtResource("1_ierex")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fppxn"]
|
||||
atlas = ExtResource("1_ierex")
|
||||
region = Rect2(0, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_b01sl"]
|
||||
atlas = ExtResource("1_ierex")
|
||||
region = Rect2(16, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jgccb"]
|
||||
atlas = ExtResource("1_ierex")
|
||||
region = Rect2(0, 16, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_v7nm4"]
|
||||
atlas = ExtResource("1_ierex")
|
||||
region = Rect2(16, 16, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_k8fan"]
|
||||
atlas = ExtResource("1_ierex")
|
||||
region = Rect2(0, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ierex"]
|
||||
atlas = ExtResource("1_ierex")
|
||||
region = Rect2(16, 48, 16, 16)
|
||||
|
||||
[resource]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_13sn2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qs3gm")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"down",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fppxn")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_b01sl")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_jgccb")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_v7nm4")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_k8fan")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_k8fan")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ierex")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"up",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
|
@ -1,30 +1,29 @@
|
|||
[gd_resource type="SpriteFrames" load_steps=11 format=3 uid="uid://cnl6ju3qlr2bj"]
|
||||
[gd_resource type="SpriteFrames" load_steps=10 format=3 uid="uid://cnl6ju3qlr2bj"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://xgxxdq37pykh" path="res://Sprites/Actors/Fairy.png" id="1_jhe43"]
|
||||
[ext_resource type="Texture2D" uid="uid://callpd48wwnlw" path="res://Sprites/Actors/Fairy_Special.png" id="2_ucisl"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_13sn2"]
|
||||
atlas = ExtResource("1_jhe43")
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jhe43"]
|
||||
atlas = ExtResource("2_ucisl")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qs3gm"]
|
||||
atlas = ExtResource("1_jhe43")
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ucisl"]
|
||||
atlas = ExtResource("2_ucisl")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fppxn"]
|
||||
atlas = ExtResource("1_jhe43")
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_t6dpn"]
|
||||
atlas = ExtResource("2_ucisl")
|
||||
region = Rect2(0, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_b01sl"]
|
||||
atlas = ExtResource("1_jhe43")
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_g84mp"]
|
||||
atlas = ExtResource("2_ucisl")
|
||||
region = Rect2(16, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jgccb"]
|
||||
atlas = ExtResource("1_jhe43")
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_g3joa"]
|
||||
atlas = ExtResource("2_ucisl")
|
||||
region = Rect2(0, 16, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_v7nm4"]
|
||||
atlas = ExtResource("1_jhe43")
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_geb4s"]
|
||||
atlas = ExtResource("2_ucisl")
|
||||
region = Rect2(16, 16, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pt5ys"]
|
||||
|
|
@ -39,10 +38,10 @@ region = Rect2(16, 48, 16, 16)
|
|||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_13sn2")
|
||||
"texture": SubResource("AtlasTexture_jhe43")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qs3gm")
|
||||
"texture": SubResource("AtlasTexture_ucisl")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"down",
|
||||
|
|
@ -50,10 +49,10 @@ animations = [{
|
|||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fppxn")
|
||||
"texture": SubResource("AtlasTexture_t6dpn")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_b01sl")
|
||||
"texture": SubResource("AtlasTexture_g84mp")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"left",
|
||||
|
|
@ -61,10 +60,10 @@ animations = [{
|
|||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_jgccb")
|
||||
"texture": SubResource("AtlasTexture_g3joa")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_v7nm4")
|
||||
"texture": SubResource("AtlasTexture_geb4s")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"right",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue