mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 05:45:33 +00:00
Reimu actor
This commit is contained in:
parent
98a37cdc50
commit
762666242e
15 changed files with 624 additions and 29 deletions
11
Resources/BossPhases/Reimu/Reimu_Boss_Script.tres
Normal file
11
Resources/BossPhases/Reimu/Reimu_Boss_Script.tres
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[gd_resource type="Resource" script_class="BossScript" load_steps=4 format=3 uid="uid://dlhe7by67eu4v"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cdd6q2h0t1hhq" path="res://Scripts/Resources/BossPhase.cs" id="1_l72jd"]
|
||||
[ext_resource type="Resource" uid="uid://bu3a6hv5i1qam" path="res://Resources/BossPhases/Reimu/Reimu_NS1.tres" id="2_2reon"]
|
||||
[ext_resource type="Script" uid="uid://inasa76li3ym" path="res://Scripts/Resources/ScriptableBullets/BossScript.cs" id="2_aqid0"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_aqid0")
|
||||
BossName = &"Reimu"
|
||||
Phases = Array[ExtResource("1_l72jd")]([ExtResource("2_2reon")])
|
||||
metadata/_custom_type_script = "uid://inasa76li3ym"
|
||||
39
Resources/BossPhases/Reimu/Reimu_NS1.tres
Normal file
39
Resources/BossPhases/Reimu/Reimu_NS1.tres
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
[gd_resource type="Resource" script_class="BossPhase" load_steps=6 format=3 uid="uid://bu3a6hv5i1qam"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cdd6q2h0t1hhq" path="res://Scripts/Resources/BossPhase.cs" id="1_4trvi"]
|
||||
[ext_resource type="Resource" uid="uid://djjp4nyufqxlp" path="res://Resources/Bullets/Reimu_Card_Bullet_Red.tres" id="1_x3pjh"]
|
||||
[ext_resource type="Script" uid="uid://b5s5mjuk1rng5" path="res://Scripts/Resources/TimeModifier.cs" id="2_sai2e"]
|
||||
[ext_resource type="Script" uid="uid://c0ndqalsc4jve" path="res://Scripts/AttackPatterns/SpiralPattern.cs" id="3_xjypu"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_8tj6w"]
|
||||
script = ExtResource("3_xjypu")
|
||||
BulletResource = ExtResource("1_x3pjh")
|
||||
EmitterOffset = Vector2(0, 0)
|
||||
bulletCount = 16
|
||||
rotationSpeed = 0.0
|
||||
_rotationOffset = 0.0
|
||||
duration = 5.0
|
||||
spread = 360.0
|
||||
burstInterval = 0.5
|
||||
ShotsPerBurst = 100
|
||||
BurstRate = 0.0
|
||||
_targetPlayer = false
|
||||
_predictPlayer = false
|
||||
OverrideOwner = false
|
||||
Owner = 0
|
||||
OverrideDamageType = false
|
||||
DamageType = 0
|
||||
OverrideControllable = false
|
||||
Controllable = false
|
||||
OverrideCreationModifier = false
|
||||
TimeModifiers = Array[ExtResource("2_sai2e")]([])
|
||||
WaitForCompletion = true
|
||||
metadata/_custom_type_script = "uid://c0ndqalsc4jve"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_4trvi")
|
||||
PhaseName = ""
|
||||
Threshold = 400
|
||||
PlayAnimation = false
|
||||
Patterns = Array[Object]([SubResource("Resource_8tj6w")])
|
||||
metadata/_custom_type_script = "uid://cdd6q2h0t1hhq"
|
||||
|
|
@ -49,6 +49,7 @@ BulletScene = ExtResource("4_agmbo")
|
|||
BulletSpeed = 60.0
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 12.0
|
||||
MaxDamage = 1.0
|
||||
Knockback = 1.0
|
||||
LifeTime = 10.0
|
||||
DestroyOnCollision = true
|
||||
|
|
@ -126,6 +127,7 @@ BulletScene = ExtResource("7_du806")
|
|||
BulletSpeed = 120.0
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 12.0
|
||||
MaxDamage = 1.0
|
||||
Knockback = 1.0
|
||||
LifeTime = 10.0
|
||||
DestroyOnCollision = true
|
||||
|
|
@ -170,6 +172,7 @@ BulletScene = ExtResource("6_tppsm")
|
|||
BulletSpeed = 80.0
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 12.0
|
||||
MaxDamage = 1.0
|
||||
Knockback = 1.0
|
||||
LifeTime = 10.0
|
||||
DestroyOnCollision = true
|
||||
|
|
|
|||
24
Resources/Bullets/Reimu_Card_Bullet_Red.tres
Normal file
24
Resources/Bullets/Reimu_Card_Bullet_Red.tres
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[gd_resource type="Resource" script_class="BulletResource" load_steps=3 format=3 uid="uid://djjp4nyufqxlp"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://db10ajastitm" path="res://Scenes/Weapons/Bullets/enemyBullet_reimu_red_small.tscn" id="1_ie3bo"]
|
||||
[ext_resource type="Script" uid="uid://dslyrfcej3g2n" path="res://Scripts/Resources/BulletResource.cs" id="2_gj3rh"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_gj3rh")
|
||||
BulletScene = ExtResource("1_ie3bo")
|
||||
BulletSpeed = 100.0
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 30.0
|
||||
MaxDamage = 30.0
|
||||
Knockback = 1.0
|
||||
LifeTime = 10.0
|
||||
DestroyOnCollision = true
|
||||
Owner = 2
|
||||
DamageType = 0
|
||||
RotateSprite = true
|
||||
Controllable = false
|
||||
Freezable = true
|
||||
Grazeable = true
|
||||
GrazeValue = 1.0
|
||||
TimeModifiers = []
|
||||
metadata/_custom_type_script = "uid://dslyrfcej3g2n"
|
||||
|
|
@ -21,8 +21,8 @@ _name = "Intro"
|
|||
[sub_resource type="Resource" id="Resource_cfhv5"]
|
||||
script = ExtResource("1_ov731")
|
||||
EggIndex = 0
|
||||
StartingEquipment = []
|
||||
RemoveEquipment = []
|
||||
StartingEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
RemoveEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_0k62o"]
|
||||
script = ExtResource("2_tnajf")
|
||||
|
|
@ -34,8 +34,8 @@ StartData = SubResource("Resource_cfhv5")
|
|||
[sub_resource type="Resource" id="Resource_tpb7s"]
|
||||
script = ExtResource("1_ov731")
|
||||
EggIndex = 0
|
||||
StartingEquipment = []
|
||||
RemoveEquipment = []
|
||||
StartingEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
RemoveEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_edoov"]
|
||||
script = ExtResource("2_tnajf")
|
||||
|
|
@ -47,8 +47,8 @@ StartData = SubResource("Resource_tpb7s")
|
|||
[sub_resource type="Resource" id="Resource_1sw5g"]
|
||||
script = ExtResource("1_ov731")
|
||||
EggIndex = 255
|
||||
StartingEquipment = []
|
||||
RemoveEquipment = []
|
||||
StartingEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
RemoveEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_47bot"]
|
||||
script = ExtResource("2_tnajf")
|
||||
|
|
@ -61,7 +61,7 @@ StartData = SubResource("Resource_1sw5g")
|
|||
script = ExtResource("1_ov731")
|
||||
EggIndex = 2
|
||||
StartingEquipment = Array[ExtResource("2_bkci5")]([ExtResource("3_fydgr"), ExtResource("4_38yta"), ExtResource("5_em757"), ExtResource("6_sdmg8")])
|
||||
RemoveEquipment = []
|
||||
RemoveEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_mgdm6"]
|
||||
script = ExtResource("2_tnajf")
|
||||
|
|
@ -79,8 +79,8 @@ _name = "Rebel Base"
|
|||
[sub_resource type="Resource" id="Resource_maxpt"]
|
||||
script = ExtResource("1_ov731")
|
||||
EggIndex = 0
|
||||
StartingEquipment = []
|
||||
RemoveEquipment = []
|
||||
StartingEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
RemoveEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_pein5"]
|
||||
script = ExtResource("2_tnajf")
|
||||
|
|
@ -117,7 +117,7 @@ _name = "Default Scene"
|
|||
script = ExtResource("1_ov731")
|
||||
EggIndex = 0
|
||||
StartingEquipment = Array[ExtResource("2_bkci5")]([ExtResource("7_b3oo5")])
|
||||
RemoveEquipment = []
|
||||
RemoveEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_6ijnv"]
|
||||
script = ExtResource("2_tnajf")
|
||||
|
|
@ -136,8 +136,8 @@ metadata/_custom_type_script = "uid://dnthdjrx78u6m"
|
|||
[sub_resource type="Resource" id="Resource_7sue8"]
|
||||
script = ExtResource("1_ov731")
|
||||
EggIndex = 255
|
||||
StartingEquipment = []
|
||||
RemoveEquipment = []
|
||||
StartingEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
RemoveEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
metadata/_custom_type_script = "uid://mja0rk7n2kln"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ognca"]
|
||||
|
|
@ -151,8 +151,8 @@ metadata/_custom_type_script = "uid://dnthdjrx78u6m"
|
|||
[sub_resource type="Resource" id="Resource_olpjo"]
|
||||
script = ExtResource("1_ov731")
|
||||
EggIndex = 0
|
||||
StartingEquipment = []
|
||||
RemoveEquipment = []
|
||||
StartingEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
RemoveEquipment = Array[ExtResource("2_bkci5")]([])
|
||||
metadata/_custom_type_script = "uid://mja0rk7n2kln"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_nbnej"]
|
||||
|
|
|
|||
14
Resources/Maps/ReimuTest.tres
Normal file
14
Resources/Maps/ReimuTest.tres
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[gd_resource type="Resource" script_class="MapResource" load_steps=3 format=3 uid="uid://d1rd3eep3b0jj"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://cn8tu4jct04rp" path="res://Resources/StartData/Pistol_Start.tres" id="1_5x6vb"]
|
||||
[ext_resource type="Script" uid="uid://quy4d4tgvqfy" path="res://Scripts/Resources/MapResource.cs" id="2_jmix4"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_jmix4")
|
||||
LevelId = 0
|
||||
MapName = &"Reimu Test"
|
||||
MapDescription = &"Reimu Test"
|
||||
ScenePath = &"uid://bn7jvgl1pivrw"
|
||||
WeaponsAllowed = true
|
||||
StartData = ExtResource("1_5x6vb")
|
||||
metadata/_custom_type_script = "uid://quy4d4tgvqfy"
|
||||
295
Scenes/Actors/Reimu_Boss.tscn
Normal file
295
Scenes/Actors/Reimu_Boss.tscn
Normal file
|
|
@ -0,0 +1,295 @@
|
|||
[gd_scene load_steps=47 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="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="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"]
|
||||
[ext_resource type="PackedScene" uid="uid://cm564ue740cpx" path="res://Scenes/Actors/DeadFairyGuard.tscn" id="15_8sayc"]
|
||||
[ext_resource type="Script" uid="uid://cqwvssstkrdmw" path="res://Scripts/Components/Actors/ActorResourceProvider.cs" id="16_xnpg3"]
|
||||
[ext_resource type="Script" uid="uid://ik7s65de723k" path="res://Scripts/Components/FSM/Enemy/NavigationMovementModule.cs" id="17_tmqpi"]
|
||||
[ext_resource type="PackedScene" uid="uid://cj63k0dmk7tl1" path="res://Scenes/Weapons/enemy_weapon_base.tscn" id="18_vcuee"]
|
||||
[ext_resource type="Resource" uid="uid://csdlihliv4cr8" path="res://Resources/Weapons/EnemyWeapon_simple.tres" id="19_wcf4d"]
|
||||
[ext_resource type="Script" uid="uid://dhsqsajq537qn" path="res://Scripts/Components/FSM/Enemy/EnemyAlarmModule.cs" id="20_iaejn"]
|
||||
[ext_resource type="Script" uid="uid://bo5sgbv1t8ril" path="res://Scripts/Components/Actors/PlayerAnimationProvider.cs" id="21_alxtk"]
|
||||
[ext_resource type="Material" uid="uid://dnvwgyt2tbqmr" path="res://Resources/Materials/Player_Blink_Teleport_Material.tres" id="22_kkbhf"]
|
||||
[ext_resource type="Script" uid="uid://dncdgq843sj2f" path="res://Scripts/Components/FSM/Enemy/AnimationModule.cs" id="23_1rrit"]
|
||||
[ext_resource type="Script" uid="uid://bw4t2clyr6lib" path="res://Scripts/Components/FSM/Enemy/EnemyDropsProvider.cs" id="24_k28dw"]
|
||||
[ext_resource type="Texture2D" uid="uid://b2v6j7lsyltrc" path="res://Sprites/Actors/CirnoWings.png" id="25_bvfj4"]
|
||||
[ext_resource type="Script" uid="uid://dq338w2lw5phl" path="res://Scripts/Components/Actors/KeyboardInputProvider.cs" id="26_cvnlx"]
|
||||
[ext_resource type="Script" uid="uid://d208gvthkstvc" path="res://Scripts/Components/Actors/PlayerCrosshairProvider.cs" id="27_ryuot"]
|
||||
[ext_resource type="Texture2D" uid="uid://cf2855sd3hqty" path="res://Sprites/Actors/Aiming_Reticule_Small.png" id="28_hqlxk"]
|
||||
[ext_resource type="Script" uid="uid://c2mngevyoefky" path="res://Scripts/Components/FSM/Boss/BossScriptHostModule.cs" id="29_iyrv3"]
|
||||
[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
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_6x22m"]
|
||||
radius = 24.0156
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_poxpj"]
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 2
|
||||
emission_sphere_radius = 16.0
|
||||
orbit_velocity_min = -1.0
|
||||
orbit_velocity_max = 1.098
|
||||
gravity = Vector3(0, 0, 0)
|
||||
color = Color(0.0392157, 0.380392, 1, 1)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_urwql"]
|
||||
atlas = ExtResource("25_bvfj4")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_wafqr"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_urwql")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_12erk"]
|
||||
atlas = ExtResource("28_hqlxk")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_biwfl"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_12erk")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="Reimu" type="CharacterBody2D" node_paths=PackedStringArray("EnemyFSM")]
|
||||
collision_layer = 16
|
||||
collision_mask = 33
|
||||
script = ExtResource("1_0gxmm")
|
||||
EnemyFSM = NodePath("StateMachine")
|
||||
EnemyResource = SubResource("Resource_d2s01")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_pnkma")
|
||||
|
||||
[node name="StateMachine" type="Node2D" parent="."]
|
||||
script = ExtResource("3_wegsk")
|
||||
|
||||
[node name="Init" type="Node2D" parent="StateMachine" node_paths=PackedStringArray("DamageReceiver", "StorageModule")]
|
||||
script = ExtResource("4_a6ruk")
|
||||
DamageReceiver = NodePath("../../DamageReceiver")
|
||||
StorageModule = NodePath("../../Storage")
|
||||
|
||||
[node name="Idle" type="Node2D" parent="StateMachine" node_paths=PackedStringArray("StorageModule", "DamageReceiver", "_moduleNodes")]
|
||||
script = ExtResource("5_v6t43")
|
||||
StorageModule = NodePath("../../Storage")
|
||||
DamageReceiver = NodePath("../../DamageReceiver")
|
||||
_moduleNodes = [NodePath("../../AnimationModule")]
|
||||
|
||||
[node name="Alert" type="Node2D" parent="StateMachine" node_paths=PackedStringArray("StorageModule", "PlayerDetection", "DamageReceiver", "NavigationModule", "_moduleNodes")]
|
||||
script = ExtResource("6_d2s01")
|
||||
StorageModule = NodePath("../../Storage")
|
||||
PlayerDetection = NodePath("../../PlayerDetection")
|
||||
DamageReceiver = NodePath("../../DamageReceiver")
|
||||
NavigationModule = NodePath("../../NavigationModule")
|
||||
_moduleNodes = [NodePath("../../AnimationModule")]
|
||||
|
||||
[node name="Shooting" type="Node2D" parent="StateMachine" node_paths=PackedStringArray("DamageReceiver", "EquippedWeapon", "StorageModule", "BossScriptHostModule", "_moduleNodes")]
|
||||
script = ExtResource("7_kngip")
|
||||
DamageReceiver = NodePath("../../DamageReceiver")
|
||||
EquippedWeapon = NodePath("../../EnemyWeapon")
|
||||
StorageModule = NodePath("../../Storage")
|
||||
BossScriptHostModule = NodePath("../../ScriptHostModule")
|
||||
BossScript = ExtResource("10_wegsk")
|
||||
_moduleNodes = [NodePath("../../AnimationModule"), NodePath("../../ScriptHostModule")]
|
||||
|
||||
[node name="Dead" type="Node2D" parent="StateMachine" node_paths=PackedStringArray("StorageModule", "DropsProvider")]
|
||||
script = ExtResource("9_7d6b4")
|
||||
StorageModule = NodePath("../../Storage")
|
||||
DropsProvider = NodePath("../../DropsProvider")
|
||||
|
||||
[node name="Controlled" type="Node2D" parent="StateMachine" node_paths=PackedStringArray("StorageModule", "DamageReceiver", "_inputProvider", "CrosshairProvider", "EquippedWeapon", "_moduleNodes")]
|
||||
script = ExtResource("10_1tl7e")
|
||||
StorageModule = NodePath("../../Storage")
|
||||
DamageReceiver = NodePath("../../DamageReceiver")
|
||||
_inputProvider = NodePath("../../InputProvider")
|
||||
CrosshairProvider = NodePath("../../CrosshairProvider")
|
||||
EquippedWeapon = NodePath("../../EnemyWeapon")
|
||||
_moduleNodes = [NodePath("../../AnimationModule")]
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_v6t43")
|
||||
|
||||
[node name="PlayerDetection" type="Area2D" parent="."]
|
||||
visible = false
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
script = ExtResource("12_ip1so")
|
||||
ObstaclesCollisionMask = 81
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerDetection"]
|
||||
shape = SubResource("CircleShape2D_5wstg")
|
||||
|
||||
[node name="Storage" type="Node2D" parent="." node_paths=PackedStringArray("Root")]
|
||||
script = ExtResource("13_7ebnx")
|
||||
Root = NodePath("..")
|
||||
|
||||
[node name="DamageReceiver" type="Area2D" parent="." node_paths=PackedStringArray("HealthProvider")]
|
||||
collision_layer = 64
|
||||
collision_mask = 136
|
||||
script = ExtResource("14_7d52v")
|
||||
HealthProvider = NodePath("Health")
|
||||
BulletGroup = 2
|
||||
Debris = ExtResource("15_8sayc")
|
||||
DeleteParentOnDeath = false
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="DamageReceiver"]
|
||||
position = Vector2(0, 3.865)
|
||||
shape = SubResource("CircleShape2D_6x22m")
|
||||
|
||||
[node name="Health" type="Node2D" parent="DamageReceiver"]
|
||||
script = ExtResource("16_xnpg3")
|
||||
ResourceName = "Health"
|
||||
|
||||
[node name="NavigationModule" type="Node2D" parent="." node_paths=PackedStringArray("StorageModule")]
|
||||
script = ExtResource("17_tmqpi")
|
||||
StorageModule = NodePath("../Storage")
|
||||
|
||||
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="NavigationModule"]
|
||||
target_desired_distance = 8.0
|
||||
path_max_distance = 800.0
|
||||
path_postprocessing = 1
|
||||
avoidance_enabled = true
|
||||
debug_path_custom_color = Color(1, 0, 0, 1)
|
||||
|
||||
[node name="EnemyWeapon" parent="." instance=ExtResource("18_vcuee")]
|
||||
WeaponData = ExtResource("19_wcf4d")
|
||||
|
||||
[node name="AlarmModule" type="Node2D" parent="." node_paths=PackedStringArray("PlayerDetection")]
|
||||
script = ExtResource("20_iaejn")
|
||||
PlayerDetection = NodePath("../PlayerDetection")
|
||||
|
||||
[node name="AnimationProvider" type="Node2D" parent="." node_paths=PackedStringArray("_animatedSprite", "_shieldParticles")]
|
||||
script = ExtResource("21_alxtk")
|
||||
_animatedSprite = NodePath("../AnimatedSprite2D")
|
||||
_shieldParticles = NodePath("ShieldParticles")
|
||||
WalkRightAnimationName = &"right"
|
||||
WalkLeftAnimationName = &"left"
|
||||
WalkDownAnimationName = &"down"
|
||||
WalkUpAnimationName = &"up"
|
||||
BlinkMaterial = ExtResource("22_kkbhf")
|
||||
|
||||
[node name="ShieldParticles" type="GPUParticles2D" parent="AnimationProvider"]
|
||||
emitting = false
|
||||
amount = 32
|
||||
lifetime = 0.4
|
||||
one_shot = true
|
||||
process_material = SubResource("ParticleProcessMaterial_poxpj")
|
||||
|
||||
[node name="AnimationModule" type="Node2D" parent="." node_paths=PackedStringArray("AnimationProvider", "StorageModule")]
|
||||
script = ExtResource("23_1rrit")
|
||||
AnimationProvider = NodePath("../AnimationProvider")
|
||||
StorageModule = NodePath("../Storage")
|
||||
|
||||
[node name="DropsProvider" type="Node2D" parent="." node_paths=PackedStringArray("StorageModule")]
|
||||
script = ExtResource("24_k28dw")
|
||||
StorageModule = NodePath("../Storage")
|
||||
|
||||
[node name="PossessionWings" type="AnimatedSprite2D" parent="."]
|
||||
visible = false
|
||||
sprite_frames = SubResource("SpriteFrames_wafqr")
|
||||
|
||||
[node name="InputProvider" type="Node2D" parent="."]
|
||||
script = ExtResource("26_cvnlx")
|
||||
|
||||
[node name="CrosshairProvider" type="Node2D" parent="." node_paths=PackedStringArray("AnimatedSprite")]
|
||||
visible = false
|
||||
script = ExtResource("27_ryuot")
|
||||
AnimatedSprite = NodePath("Crosshair")
|
||||
CrosshairDistance = 35.0
|
||||
|
||||
[node name="Crosshair" type="AnimatedSprite2D" parent="CrosshairProvider"]
|
||||
sprite_frames = SubResource("SpriteFrames_biwfl")
|
||||
|
||||
[node name="ScriptHostModule" type="Node2D" parent="." node_paths=PackedStringArray("StorageModule")]
|
||||
script = ExtResource("29_iyrv3")
|
||||
StorageModule = NodePath("../Storage")
|
||||
|
||||
[node name="BulletSpawner" type="Node2D" parent="ScriptHostModule"]
|
||||
script = ExtResource("30_y5vru")
|
||||
BulletScene = ExtResource("31_51xhs")
|
||||
|
||||
[connection signal="area_entered" from="PlayerDetection" to="PlayerDetection" method="_on_area_entered"]
|
||||
[connection signal="area_exited" from="PlayerDetection" to="PlayerDetection" method="_on_area_exited"]
|
||||
[connection signal="area_entered" from="DamageReceiver" to="DamageReceiver" method="_on_damage_hitbox_area_entered"]
|
||||
[connection signal="velocity_computed" from="NavigationModule/NavigationAgent2D" to="NavigationModule" method="_on_navigation_agent_2d_velocity_computed"]
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
script = ExtResource("4_u1i8n")
|
||||
EggIndex = 0
|
||||
StartingEquipment = Array[ExtResource("2_g20dv")]([ExtResource("3_6314l")])
|
||||
RemoveEquipment = []
|
||||
RemoveEquipment = Array[ExtResource("2_g20dv")]([])
|
||||
metadata/_custom_type_script = "uid://mja0rk7n2kln"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_1tvdd"]
|
||||
|
|
@ -587,7 +587,7 @@ scale = Vector2(0.66, 2.04)
|
|||
|
||||
[node name="FairyFsm" parent="Tilemaps/AcidHitboxes" node_paths=PackedStringArray("DefeatScript") instance=ExtResource("12_64bae")]
|
||||
position = Vector2(776, -56)
|
||||
ExtraLoot = [SubResource("Resource_w8nwr"), SubResource("Resource_awjkl")]
|
||||
ExtraLoot = Array[ExtResource("13_b3y78")]([SubResource("Resource_w8nwr"), SubResource("Resource_awjkl")])
|
||||
DefeatScript = NodePath("../../Actors/HorizontalForceField2")
|
||||
ActivationType = 2
|
||||
|
||||
|
|
@ -712,7 +712,7 @@ position = Vector2(59, 386)
|
|||
|
||||
[node name="Chest" parent="Tilemaps/Actors" instance=ExtResource("18_v2gcl")]
|
||||
position = Vector2(56, 320)
|
||||
LootTable = [ExtResource("19_1ajuh"), ExtResource("20_rff8l"), ExtResource("21_cub4j"), ExtResource("22_4gtx8"), ExtResource("3_6314l"), ExtResource("23_1ajuh"), ExtResource("23_1ajuh"), ExtResource("23_1ajuh")]
|
||||
LootTable = Array[ExtResource("2_g20dv")]([ExtResource("19_1ajuh"), ExtResource("20_rff8l"), ExtResource("21_cub4j"), ExtResource("22_4gtx8"), ExtResource("3_6314l"), ExtResource("23_1ajuh"), ExtResource("23_1ajuh"), ExtResource("23_1ajuh")])
|
||||
|
||||
[node name="Turret360" parent="Tilemaps/Actors" instance=ExtResource("24_rff8l")]
|
||||
position = Vector2(374, 503)
|
||||
|
|
|
|||
145
Scenes/Maps/ReimuTest.tscn
Normal file
145
Scenes/Maps/ReimuTest.tscn
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1,11 +1,7 @@
|
|||
[gd_scene load_steps=28 format=4 uid="uid://bitld8jkjkflo"]
|
||||
[gd_scene load_steps=23 format=4 uid="uid://bitld8jkjkflo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://doxmbokehw8ci" path="res://Scripts/GameManager.cs" id="1_5vq8r"]
|
||||
[ext_resource type="PackedScene" uid="uid://c4pr2707hbeph" path="res://Scenes/Actors/fsm_player.tscn" id="2_hw6hf"]
|
||||
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="3_27s7d"]
|
||||
[ext_resource type="Resource" uid="uid://cs3ihltcn2166" path="res://Resources/Items/IcicleGun.tres" id="3_uktdb"]
|
||||
[ext_resource type="Script" uid="uid://mja0rk7n2kln" path="res://Scripts/Resources/MapStartDataResource.cs" id="4_6qpgj"]
|
||||
[ext_resource type="Resource" uid="uid://cfq121rs3bsu8" path="res://Resources/Items/Cheat_Gun_Item.tres" id="4_wr8yc"]
|
||||
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="5_y4jv8"]
|
||||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="6_b3f46"]
|
||||
[ext_resource type="Script" uid="uid://o7euvh7co21t" path="res://Scripts/Actors/BossSpawner.cs" id="6_t0f5c"]
|
||||
|
|
@ -25,11 +21,6 @@
|
|||
[ext_resource type="Resource" uid="uid://da1vjfavqs7u2" path="res://Resources/BossPhases/Marisa/marisa_ns1.tres" id="16_vcaqw"]
|
||||
[ext_resource type="LabelSettings" uid="uid://buk3e7bbwmnv1" path="res://Resources/Styles/Hud_Text_Style.tres" id="17_1mcdj"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_6wo78"]
|
||||
script = ExtResource("4_6qpgj")
|
||||
EggIndex = 0
|
||||
StartingEquipment = Array[ExtResource("3_27s7d")]([ExtResource("3_uktdb"), ExtResource("4_wr8yc")])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_cfs7m"]
|
||||
script = ExtResource("11_vcaqw")
|
||||
BossName = &"Rumia"
|
||||
|
|
@ -53,8 +44,6 @@ PlayerTemplate = ExtResource("2_hw6hf")
|
|||
SpawnMarkers = Dictionary[int, NodePath]({
|
||||
0: NodePath("PlayerStartPosition")
|
||||
})
|
||||
StartingEquipment = Array[ExtResource("3_27s7d")]([ExtResource("3_uktdb"), ExtResource("4_wr8yc")])
|
||||
MapStartData = SubResource("Resource_6wo78")
|
||||
|
||||
[node name="Tilemaps" type="Node2D" parent="."]
|
||||
process_mode = 1
|
||||
|
|
|
|||
35
Scenes/Weapons/Bullets/enemyBullet_reimu_red_small.tscn
Normal file
35
Scenes/Weapons/Bullets/enemyBullet_reimu_red_small.tscn
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://db10ajastitm"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dsa4b75hdig8p" path="res://Scripts/Bullet.cs" id="1_4o3gs"]
|
||||
[ext_resource type="Texture2D" uid="uid://bo74kojbs1gvy" path="res://Sprites/Bullets/Reimu_Card_Red.png" id="2_4o3gs"]
|
||||
[ext_resource type="PackedScene" uid="uid://m88tchaflpln" path="res://Scenes/Misc/graze_sound.tscn" id="3_v5lp2"]
|
||||
[ext_resource type="PackedScene" uid="uid://ce83htrsiu7qa" path="res://Scenes/Misc/graze_particles.tscn" id="4_esv3a"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_jxptd"]
|
||||
radius = 2.23607
|
||||
|
||||
[node name="Bullet" type="Area2D" groups=["bullets"]]
|
||||
collision_layer = 128
|
||||
collision_mask = 71
|
||||
script = ExtResource("1_4o3gs")
|
||||
Speed = 200.0
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_4o3gs")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_jxptd")
|
||||
|
||||
[node name="Node2D" type="Node2D" parent="."]
|
||||
editor_description = "Player Bullet"
|
||||
|
||||
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
|
||||
|
||||
[node name="AudioStreamPlayer2D" parent="." instance=ExtResource("3_v5lp2")]
|
||||
|
||||
[node name="GrazeParticles" parent="." instance=ExtResource("4_esv3a")]
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
|
||||
BIN
Sprites/Bullets/Reimu_Card_Red.aseprite
(Stored with Git LFS)
Normal file
BIN
Sprites/Bullets/Reimu_Card_Red.aseprite
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Sprites/Bullets/Reimu_Card_Red.png
(Stored with Git LFS)
Normal file
BIN
Sprites/Bullets/Reimu_Card_Red.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
Sprites/Bullets/Reimu_Card_Red.png.import
Normal file
34
Sprites/Bullets/Reimu_Card_Red.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bo74kojbs1gvy"
|
||||
path="res://.godot/imported/Reimu_Card_Red.png-53a16c498f9d2a25b8e1c892d90cbbcc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Sprites/Bullets/Reimu_Card_Red.png"
|
||||
dest_files=["res://.godot/imported/Reimu_Card_Red.png-53a16c498f9d2a25b8e1c892d90cbbcc.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
|
||||
0
cyclops_settings.config
Normal file
0
cyclops_settings.config
Normal file
Loading…
Add table
Add a link
Reference in a new issue