Reimu sprites

This commit is contained in:
Marco 2025-06-06 09:56:19 +02:00
commit bc67da05e6
11 changed files with 173 additions and 184 deletions

Binary file not shown.

Binary file not shown.

View file

@ -1,40 +1,11 @@
[gd_resource type="Resource" script_class="EnemyResource" load_steps=10 format=3 uid="uid://bqdvyxs8sj3qa"]
[gd_resource type="Resource" script_class="EnemyResource" load_steps=6 format=3 uid="uid://bqdvyxs8sj3qa"]
[ext_resource type="Script" uid="uid://cq65aed620ijo" path="res://Scripts/Resources/Loot/LootDrop.cs" id="1_0qdnn"]
[ext_resource type="Resource" uid="uid://dlhe7by67eu4v" path="res://Resources/BossPhases/Reimu/Reimu_Boss_Script.tres" id="1_amg33"]
[ext_resource type="Texture2D" uid="uid://bbdrws471xslc" path="res://Sprites/Actors/Rumia-world.png" id="1_gjra5"]
[ext_resource type="SpriteFrames" uid="uid://dpaxpwb2himus" path="res://Resources/Sprites/Reimu_Boss.tres" id="1_gjra5"]
[ext_resource type="Resource" uid="uid://b54lru8ulinjl" path="res://Resources/Weapons/EnemyWeapon_Big.tres" id="2_amg33"]
[ext_resource type="Script" uid="uid://cd5o0ceb50jki" path="res://Scripts/Resources/EnemyResource.cs" id="3_gjra5"]
[sub_resource type="AtlasTexture" id="AtlasTexture_lukoi"]
atlas = ExtResource("1_gjra5")
region = Rect2(0, 0, 8, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_wegsk"]
atlas = ExtResource("1_gjra5")
region = Rect2(8, 0, 8, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_a6ruk"]
atlas = ExtResource("1_gjra5")
region = Rect2(16, 0, 8, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_v6t43"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_lukoi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wegsk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_a6ruk")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[resource]
script = ExtResource("3_gjra5")
EnemyName = &"Reimu"
@ -54,6 +25,6 @@ StrafeSpeed = 25.0
MaxStrafeDistance = 64.0
MinStrafeDistance = 16.0
ResponseTime = 0.5
AnimationFrames = SubResource("SpriteFrames_v6t43")
AnimationFrames = ExtResource("1_gjra5")
BossScript = ExtResource("1_amg33")
metadata/_custom_type_script = "uid://cd5o0ceb50jki"

View file

@ -0,0 +1,56 @@
[gd_resource type="SpriteFrames" load_steps=7 format=3 uid="uid://dpaxpwb2himus"]
[ext_resource type="Texture2D" uid="uid://bqpjq0po68bgn" path="res://Sprites/Actors/Reimu_World.png" id="1_2wot2"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ow48c"]
atlas = ExtResource("1_2wot2")
region = Rect2(16, 32, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_lak82"]
atlas = ExtResource("1_2wot2")
region = Rect2(32, 32, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_w22y2"]
atlas = ExtResource("1_2wot2")
region = Rect2(32, 16, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_bbvpy"]
atlas = ExtResource("1_2wot2")
region = Rect2(16, 16, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_gi8qe"]
atlas = ExtResource("1_2wot2")
region = Rect2(0, 0, 16, 16)
[resource]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ow48c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lak82")
}],
"loop": true,
"name": &"Left",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_w22y2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bbvpy")
}],
"loop": true,
"name": &"Right",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_gi8qe")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

View file

@ -0,0 +1,63 @@
[gd_resource type="SpriteFrames" load_steps=8 format=3 uid="uid://b40acsfrnssox"]
[ext_resource type="Texture2D" uid="uid://bcqgke6dthlrj" path="res://Sprites/Actors/Rumia.png" id="1_6kfqs"]
[sub_resource type="AtlasTexture" id="AtlasTexture_vqdji"]
atlas = ExtResource("1_6kfqs")
region = Rect2(0, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_egx0r"]
atlas = ExtResource("1_6kfqs")
region = Rect2(16, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_opbj8"]
atlas = ExtResource("1_6kfqs")
region = Rect2(0, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_7asmc"]
atlas = ExtResource("1_6kfqs")
region = Rect2(16, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ikvnf"]
atlas = ExtResource("1_6kfqs")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ifwrk"]
atlas = ExtResource("1_6kfqs")
region = Rect2(16, 0, 16, 32)
[resource]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_vqdji")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_egx0r")
}],
"loop": true,
"name": &"Left",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_opbj8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7asmc")
}],
"loop": true,
"name": &"Right",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ikvnf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ifwrk")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=45 format=3 uid="uid://d2xmlov4ee2fc"]
[gd_scene load_steps=41 format=3 uid="uid://d2xmlov4ee2fc"]
[ext_resource type="Script" uid="uid://bi2edpdosngll" path="res://Scripts/Components/FSM/Enemy/EnemyFSMProxy.cs" id="1_c4gmu"]
[ext_resource type="Resource" uid="uid://bqdvyxs8sj3qa" path="res://Resources/Enemies/Reimu_Boss.tres" id="2_glyek"]
@ -8,9 +8,9 @@
[ext_resource type="Script" uid="uid://dbmc3klko5x18" path="res://Scripts/Components/FSM/Enemy/Alert.cs" id="8_yc20b"]
[ext_resource type="Script" uid="uid://difn6d5np1pui" path="res://Scripts/Components/FSM/Boss/Shooting.cs" id="9_afh63"]
[ext_resource type="Resource" uid="uid://dlhe7by67eu4v" path="res://Resources/BossPhases/Reimu/Reimu_Boss_Script.tres" id="10_3f6i0"]
[ext_resource type="SpriteFrames" uid="uid://dpaxpwb2himus" path="res://Resources/Sprites/Reimu_Boss.tres" id="11_glyek"]
[ext_resource type="Script" uid="uid://4hwtlc1ftjsc" path="res://Scripts/Components/FSM/Enemy/Dead.cs" id="11_t2767"]
[ext_resource type="Script" uid="uid://dj37rup1ibnn6" path="res://Scripts/Components/FSM/Enemy/Controlled.cs" id="12_4svw5"]
[ext_resource type="Texture2D" uid="uid://bbdrws471xslc" path="res://Sprites/Actors/Rumia-world.png" id="13_xltp3"]
[ext_resource type="Script" uid="uid://dathhlufbe6gr" path="res://Scripts/Components/FSM/Enemy/EnemyFSMAnimatedSprite.cs" id="14_p6xck"]
[ext_resource type="Script" uid="uid://mb4ugq74a17c" path="res://Scripts/Components/FSM/Enemy/PlayerDetectionModule.cs" id="15_dueum"]
[ext_resource type="Script" uid="uid://bflvr26h52c55" path="res://Scripts/Components/FSM/Enemy/EnemyStorageModule.cs" id="16_xyblu"]
@ -36,35 +36,6 @@
[sub_resource type="CircleShape2D" id="CircleShape2D_pnkma"]
radius = 23.0217
[sub_resource type="AtlasTexture" id="AtlasTexture_lukoi"]
atlas = ExtResource("13_xltp3")
region = Rect2(0, 0, 8, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_wegsk"]
atlas = ExtResource("13_xltp3")
region = Rect2(8, 0, 8, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_a6ruk"]
atlas = ExtResource("13_xltp3")
region = Rect2(16, 0, 8, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_v6t43"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_lukoi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wegsk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_a6ruk")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_5wstg"]
radius = 92.0054
@ -166,7 +137,7 @@ EquippedWeapon = NodePath("../../EnemyWeapon")
_moduleNodes = [NodePath("../../AnimationModule")]
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_v6t43")
sprite_frames = ExtResource("11_glyek")
script = ExtResource("14_p6xck")
[node name="PlayerDetection" type="Area2D" parent="."]

View file

@ -1,18 +1,16 @@
[gd_scene load_steps=48 format=3 uid="uid://culg3euj7mdv3"]
[gd_scene load_steps=41 format=3 uid="uid://culg3euj7mdv3"]
[ext_resource type="Script" uid="uid://bi2edpdosngll" path="res://Scripts/Components/FSM/Enemy/EnemyFSMProxy.cs" id="1_0gxmm"]
[ext_resource type="Script" uid="uid://cq65aed620ijo" path="res://Scripts/Resources/Loot/LootDrop.cs" id="2_wegsk"]
[ext_resource type="Resource" uid="uid://b54lru8ulinjl" path="res://Resources/Weapons/EnemyWeapon_Big.tres" id="3_a6ruk"]
[ext_resource type="Resource" uid="uid://bqdvyxs8sj3qa" path="res://Resources/Enemies/Reimu_Boss.tres" id="2_lukoi"]
[ext_resource type="Script" uid="uid://dn6dbog1s2818" path="res://Scripts/Components/FSM/Enemy/EnemyStateMachine.cs" id="3_wegsk"]
[ext_resource type="Script" uid="uid://rrelumir3g6n" path="res://Scripts/Components/FSM/Enemy/Init.cs" id="4_a6ruk"]
[ext_resource type="Script" uid="uid://cd5o0ceb50jki" path="res://Scripts/Resources/EnemyResource.cs" id="4_v6t43"]
[ext_resource type="Script" uid="uid://cprumccndvblc" path="res://Scripts/Components/FSM/Boss/Idle.cs" id="5_v6t43"]
[ext_resource type="Script" uid="uid://dbmc3klko5x18" path="res://Scripts/Components/FSM/Enemy/Alert.cs" id="6_d2s01"]
[ext_resource type="Script" uid="uid://difn6d5np1pui" path="res://Scripts/Components/FSM/Boss/Shooting.cs" id="7_kngip"]
[ext_resource type="Script" uid="uid://4hwtlc1ftjsc" path="res://Scripts/Components/FSM/Enemy/Dead.cs" id="9_7d6b4"]
[ext_resource type="Script" uid="uid://dj37rup1ibnn6" path="res://Scripts/Components/FSM/Enemy/Controlled.cs" id="10_1tl7e"]
[ext_resource type="Resource" uid="uid://dlhe7by67eu4v" path="res://Resources/BossPhases/Reimu/Reimu_Boss_Script.tres" id="10_wegsk"]
[ext_resource type="Texture2D" uid="uid://bbdrws471xslc" path="res://Sprites/Actors/Rumia-world.png" id="11_0gxmm"]
[ext_resource type="SpriteFrames" uid="uid://dpaxpwb2himus" path="res://Resources/Sprites/Reimu_Boss.tres" id="11_lukoi"]
[ext_resource type="Script" uid="uid://mb4ugq74a17c" path="res://Scripts/Components/FSM/Enemy/PlayerDetectionModule.cs" id="12_ip1so"]
[ext_resource type="Script" uid="uid://bflvr26h52c55" path="res://Scripts/Components/FSM/Enemy/EnemyStorageModule.cs" id="13_7ebnx"]
[ext_resource type="Script" uid="uid://cq3hkweplldbr" path="res://Scripts/Components/Actors/GenericDamageReceiver.cs" id="14_7d52v"]
@ -35,59 +33,9 @@
[ext_resource type="Script" uid="uid://c6467d6yx50qh" path="res://Scripts/Components/BulletSpawner.cs" id="30_y5vru"]
[ext_resource type="PackedScene" uid="uid://cuixq5ex0j40h" path="res://Scenes/enemyBullet.tscn" id="31_51xhs"]
[sub_resource type="Resource" id="Resource_d2s01"]
script = ExtResource("4_v6t43")
EnemyName = &"Reimu"
EnemyKey = &"REIMU"
PrefabPath = &"uid://culg3euj7mdv3"
MaxHealth = 500.0
MovementSpeed = 20.0
Weapon = ExtResource("3_a6ruk")
LootDrops = Array[ExtResource("2_wegsk")]([])
MotivationReward = 4.0
PredictPlayer = false
PlayerDetectionRange = 90.0
ViewRange = 120.0
AlarmReactRange = 0.0
PlayerDisengageRange = 0.0
StrafeSpeed = 25.0
MaxStrafeDistance = 64.0
MinStrafeDistance = 16.0
ResponseTime = 0.5
metadata/_custom_type_script = "uid://cd5o0ceb50jki"
[sub_resource type="CircleShape2D" id="CircleShape2D_pnkma"]
radius = 23.0217
[sub_resource type="AtlasTexture" id="AtlasTexture_lukoi"]
atlas = ExtResource("11_0gxmm")
region = Rect2(0, 0, 8, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_wegsk"]
atlas = ExtResource("11_0gxmm")
region = Rect2(8, 0, 8, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_a6ruk"]
atlas = ExtResource("11_0gxmm")
region = Rect2(16, 0, 8, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_v6t43"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_lukoi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wegsk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_a6ruk")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_5wstg"]
radius = 92.0054
@ -138,7 +86,7 @@ collision_layer = 16
collision_mask = 33
script = ExtResource("1_0gxmm")
EnemyFSM = NodePath("StateMachine")
EnemyResource = SubResource("Resource_d2s01")
EnemyResource = ExtResource("2_lukoi")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_pnkma")
@ -189,7 +137,7 @@ EquippedWeapon = NodePath("../../EnemyWeapon")
_moduleNodes = [NodePath("../../AnimationModule")]
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_v6t43")
sprite_frames = ExtResource("11_lukoi")
script = ExtResource("14_a6ruk")
[node name="PlayerDetection" type="Area2D" parent="."]

View file

@ -1,74 +1,14 @@
[gd_scene load_steps=20 format=3 uid="uid://d1rlw6ddpmrn8"]
[gd_scene load_steps=13 format=3 uid="uid://d1rlw6ddpmrn8"]
[ext_resource type="Script" uid="uid://bjs2u8gogvs03" path="res://Scripts/Actors/Boss.cs" id="1_na4uq"]
[ext_resource type="Texture2D" uid="uid://bcqgke6dthlrj" path="res://Sprites/Actors/Rumia.png" id="2_7k5gp"]
[ext_resource type="Script" uid="uid://c4qmuxjhheahr" path="res://Scripts/Components/ProximityPlayerDetection.cs" id="3_gka5j"]
[ext_resource type="SpriteFrames" uid="uid://b40acsfrnssox" path="res://Resources/Sprites/Rumia_Boss.tres" id="3_vqdji"]
[ext_resource type="PackedScene" uid="uid://crry0rgk7a8sm" path="res://Scenes/Weapons/BaseWeapon.tscn" id="4_xc6nm"]
[ext_resource type="PackedScene" uid="uid://cuixq5ex0j40h" path="res://Scenes/enemyBullet.tscn" id="5_g1p0m"]
[ext_resource type="Resource" uid="uid://d2l607uabv3d6" path="res://Resources/BossPhases/Rumia_Boss_Script.tres" id="6_ifwrk"]
[ext_resource type="Script" uid="uid://c6467d6yx50qh" path="res://Scripts/Components/BulletSpawner.cs" id="7_2obh7"]
[ext_resource type="Script" uid="uid://dtg2vhquyrib3" path="res://Scripts/Components/Actors/BossSpriteAnimator.cs" id="8_vqdji"]
[sub_resource type="AtlasTexture" id="AtlasTexture_vqdji"]
atlas = ExtResource("2_7k5gp")
region = Rect2(0, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_egx0r"]
atlas = ExtResource("2_7k5gp")
region = Rect2(16, 64, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_opbj8"]
atlas = ExtResource("2_7k5gp")
region = Rect2(0, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_7asmc"]
atlas = ExtResource("2_7k5gp")
region = Rect2(16, 32, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ikvnf"]
atlas = ExtResource("2_7k5gp")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ifwrk"]
atlas = ExtResource("2_7k5gp")
region = Rect2(16, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_opbj8"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_vqdji")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_egx0r")
}],
"loop": true,
"name": &"Left",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_opbj8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7asmc")
}],
"loop": true,
"name": &"Right",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ikvnf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ifwrk")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_8gtts"]
radius = 7.0
@ -92,7 +32,7 @@ Health = 200.0
metadata/_edit_group_ = true
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_opbj8")
sprite_frames = ExtResource("3_vqdji")
animation = &"Left"
autoplay = "default"
frame = 1

BIN
Sprites/Actors/Reimu_World.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Sprites/Actors/Reimu_World.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bqpjq0po68bgn"
path="res://.godot/imported/Reimu_World.png-d16aa70b5b4ca3190c07588eb34faea8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Actors/Reimu_World.png"
dest_files=["res://.godot/imported/Reimu_World.png-d16aa70b5b4ca3190c07588eb34faea8.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1