mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-18 08:43:47 +00:00
Danmaku system
This commit is contained in:
parent
9c8ec486fc
commit
fdec052c16
38 changed files with 924 additions and 9 deletions
43
Resources/BossPhases/TestBoss1.tres
Normal file
43
Resources/BossPhases/TestBoss1.tres
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[gd_resource type="Resource" script_class="BossPhase" load_steps=9 format=3 uid="uid://ks6fypeil6gk"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Resources/BossPhase.cs" id="1_0cgch"]
|
||||
[ext_resource type="Script" path="res://Scripts/Resources/SimpleMovementPattern.cs" id="1_xksf5"]
|
||||
[ext_resource type="Resource" uid="uid://csudslb5tliw4" path="res://Resources/Patterns/rumia_ns_1.tres" id="2_3486e"]
|
||||
[ext_resource type="Resource" uid="uid://du2kuv125vbrx" path="res://Resources/Patterns/rumia_ns_2.tres" id="3_mwcf3"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_acaax"]
|
||||
script = ExtResource("1_xksf5")
|
||||
relativeTargetPosition = Vector2(-100, 20)
|
||||
moveDuration = 4.0
|
||||
transitionType = 1
|
||||
easeType = 2
|
||||
WaitForCompletion = false
|
||||
|
||||
[sub_resource type="Resource" id="Resource_o8win"]
|
||||
script = ExtResource("1_xksf5")
|
||||
relativeTargetPosition = Vector2(0, 0)
|
||||
moveDuration = 4.0
|
||||
transitionType = 1
|
||||
easeType = 2
|
||||
WaitForCompletion = false
|
||||
|
||||
[sub_resource type="Resource" id="Resource_k77ig"]
|
||||
script = ExtResource("1_xksf5")
|
||||
relativeTargetPosition = Vector2(-100, 20)
|
||||
moveDuration = 4.0
|
||||
transitionType = 1
|
||||
easeType = 2
|
||||
WaitForCompletion = false
|
||||
|
||||
[sub_resource type="Resource" id="Resource_5ocg5"]
|
||||
script = ExtResource("1_xksf5")
|
||||
relativeTargetPosition = Vector2(0, 0)
|
||||
moveDuration = 4.0
|
||||
transitionType = 1
|
||||
easeType = 2
|
||||
WaitForCompletion = false
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_0cgch")
|
||||
Threshold = 20
|
||||
Patterns = Array[Resource]([SubResource("Resource_acaax"), ExtResource("2_3486e"), ExtResource("3_mwcf3"), SubResource("Resource_o8win"), ExtResource("2_3486e"), ExtResource("3_mwcf3"), SubResource("Resource_k77ig"), ExtResource("2_3486e"), ExtResource("3_mwcf3"), SubResource("Resource_5ocg5"), ExtResource("2_3486e"), ExtResource("3_mwcf3")])
|
||||
21
Resources/Patterns/rumia_ns_1.tres
Normal file
21
Resources/Patterns/rumia_ns_1.tres
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[gd_resource type="Resource" script_class="TargetedPattern" load_steps=5 format=3 uid="uid://csudslb5tliw4"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://by2rk6gx67f7e" path="res://Scenes/Weapons/Bullets/enemyBullet_yellow.tscn" id="1_pocps"]
|
||||
[ext_resource type="Script" path="res://Scripts/Resources/DecreasingSpeedModifier.cs" id="2_wxqq0"]
|
||||
[ext_resource type="Script" path="res://Scripts/AttackPatterns/TargetedPattern.cs" id="3_ht3k1"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_jeq72"]
|
||||
script = ExtResource("2_wxqq0")
|
||||
decreaseRate = 4.0
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_ht3k1")
|
||||
BulletScene = ExtResource("1_pocps")
|
||||
bulletSpeed = 50.0
|
||||
duration = 4.0
|
||||
burstInterval = 0.4
|
||||
bulletsPerShot = 10
|
||||
spread = 0.0
|
||||
owner = 2
|
||||
modifier = SubResource("Resource_jeq72")
|
||||
WaitForCompletion = true
|
||||
47
Resources/Patterns/rumia_ns_2.tres
Normal file
47
Resources/Patterns/rumia_ns_2.tres
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
[gd_resource type="Resource" script_class="PatternGroup" load_steps=8 format=3 uid="uid://du2kuv125vbrx"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b0clsnefjsohc" path="res://Scenes/Weapons/Bullets/enemyBullet_mid.tscn" id="1_tt36x"]
|
||||
[ext_resource type="Script" path="res://Scripts/AttackPatterns/SpiralPattern.cs" id="2_ee42k"]
|
||||
[ext_resource type="PackedScene" uid="uid://dohakkayqj4w2" path="res://Scenes/Weapons/Bullets/enemyBullet_green.tscn" id="3_gr7a3"]
|
||||
[ext_resource type="Script" path="res://Scripts/Resources/PatternGroup.cs" id="3_jvysx"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ne4q3"]
|
||||
script = ExtResource("2_ee42k")
|
||||
BulletScene = ExtResource("1_tt36x")
|
||||
bulletSpeed = 20.0
|
||||
bulletCount = 10
|
||||
rotationSpeed = 120.0
|
||||
duration = 4.0
|
||||
burstInterval = 2.0
|
||||
spread = 360.0
|
||||
owner = 2
|
||||
WaitForCompletion = true
|
||||
|
||||
[sub_resource type="Resource" id="Resource_kohuh"]
|
||||
script = ExtResource("2_ee42k")
|
||||
BulletScene = ExtResource("3_gr7a3")
|
||||
bulletSpeed = 20.0
|
||||
bulletCount = 16
|
||||
rotationSpeed = 120.0
|
||||
duration = 4.0
|
||||
burstInterval = 2.0
|
||||
spread = 360.0
|
||||
owner = 2
|
||||
WaitForCompletion = true
|
||||
|
||||
[sub_resource type="Resource" id="Resource_depjj"]
|
||||
script = ExtResource("2_ee42k")
|
||||
BulletScene = ExtResource("1_tt36x")
|
||||
bulletSpeed = 30.0
|
||||
bulletCount = 10
|
||||
rotationSpeed = 120.0
|
||||
duration = 4.0
|
||||
burstInterval = 2.0
|
||||
spread = 360.0
|
||||
owner = 2
|
||||
WaitForCompletion = true
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_jvysx")
|
||||
patterns = Array[Resource]([SubResource("Resource_ne4q3"), SubResource("Resource_kohuh"), SubResource("Resource_depjj")])
|
||||
WaitForCompletion = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue