Perfected spell card

This commit is contained in:
MaddoScientisto 2025-02-13 21:19:35 +01:00
commit a9b2c8c873
17 changed files with 352 additions and 6 deletions

View file

@ -1,9 +1,11 @@
[gd_resource type="Resource" script_class="BossPhase" load_steps=9 format=3 uid="uid://ddb5dqocmk6x7"]
[gd_resource type="Resource" script_class="BossPhase" load_steps=15 format=3 uid="uid://ddb5dqocmk6x7"]
[ext_resource type="PackedScene" uid="uid://dh81snen2f6bf" path="res://Scenes/Weapons/Bullets/enemyBullet_rice_blue_small.tscn" id="1_as8n2"]
[ext_resource type="Script" path="res://Scripts/Resources/BossPhase.cs" id="1_fdlxv"]
[ext_resource type="PackedScene" uid="uid://ck6f08w1fy5fa" path="res://Scenes/Weapons/Bullets/enemyBullet_rice_yellow.tscn" id="1_r6kqy"]
[ext_resource type="Script" path="res://Scripts/Resources/TimeModifier.cs" id="2_kghxb"]
[ext_resource type="Script" path="res://Scripts/AttackPatterns/SpiralPattern.cs" id="2_wkmhk"]
[ext_resource type="PackedScene" uid="uid://ctrk5qrb7n3fm" path="res://Scenes/Weapons/Bullets/enemyBullet_rice_green_small.tscn" id="4_tek7n"]
[ext_resource type="PackedScene" uid="uid://chowj81jsdvcx" path="res://Scenes/Weapons/Bullets/enemyBullet_rice_red_small.tscn" id="5_n4xqo"]
[sub_resource type="Resource" id="Resource_17kqi"]
script = ExtResource("2_kghxb")
@ -13,7 +15,7 @@ Value = 90.0
[sub_resource type="Resource" id="Resource_puvpt"]
script = ExtResource("2_wkmhk")
BulletScene = ExtResource("1_r6kqy")
BulletScene = ExtResource("1_as8n2")
bulletSpeed = 20.0
bulletCount = 20
rotationSpeed = 0.0
@ -36,12 +38,80 @@ Value = -90.0
[sub_resource type="Resource" id="Resource_44j24"]
script = ExtResource("2_wkmhk")
BulletScene = ExtResource("1_r6kqy")
BulletScene = ExtResource("1_as8n2")
bulletSpeed = 20.0
bulletCount = 20
rotationSpeed = 0.0
_rotationOffset = 180.0
duration = 5.0
duration = 2.0
burstInterval = 6.0
spread = 360.0
owner = 2
_damageType = 0
_bulletDamage = 1.0
_timeModifiers = Array[Resource]([SubResource("Resource_sk6w4")])
_targetPlayer = false
WaitForCompletion = true
[sub_resource type="Resource" id="Resource_wkxow"]
script = ExtResource("2_wkmhk")
BulletScene = ExtResource("4_tek7n")
bulletSpeed = 20.0
bulletCount = 20
rotationSpeed = 0.0
_rotationOffset = 0.0
duration = 1.0
burstInterval = 2.0
spread = 360.0
owner = 2
_damageType = 0
_bulletDamage = 1.0
_timeModifiers = Array[Resource]([SubResource("Resource_17kqi")])
_targetPlayer = false
WaitForCompletion = false
[sub_resource type="Resource" id="Resource_gcqck"]
script = ExtResource("2_wkmhk")
BulletScene = ExtResource("4_tek7n")
bulletSpeed = 20.0
bulletCount = 20
rotationSpeed = 0.0
_rotationOffset = 180.0
duration = 2.0
burstInterval = 6.0
spread = 360.0
owner = 2
_damageType = 0
_bulletDamage = 1.0
_timeModifiers = Array[Resource]([SubResource("Resource_sk6w4")])
_targetPlayer = false
WaitForCompletion = true
[sub_resource type="Resource" id="Resource_bxbto"]
script = ExtResource("2_wkmhk")
BulletScene = ExtResource("5_n4xqo")
bulletSpeed = 20.0
bulletCount = 20
rotationSpeed = 0.0
_rotationOffset = 0.0
duration = 1.0
burstInterval = 2.0
spread = 360.0
owner = 2
_damageType = 0
_bulletDamage = 1.0
_timeModifiers = Array[Resource]([SubResource("Resource_17kqi")])
_targetPlayer = false
WaitForCompletion = false
[sub_resource type="Resource" id="Resource_q48s1"]
script = ExtResource("2_wkmhk")
BulletScene = ExtResource("5_n4xqo")
bulletSpeed = 20.0
bulletCount = 20
rotationSpeed = 0.0
_rotationOffset = 180.0
duration = 2.0
burstInterval = 6.0
spread = 360.0
owner = 2
@ -56,4 +126,4 @@ script = ExtResource("1_fdlxv")
PhaseName = ""
Threshold = 800
PlayAnimation = false
Patterns = Array[Object]([SubResource("Resource_puvpt"), SubResource("Resource_44j24")])
Patterns = Array[Object]([SubResource("Resource_puvpt"), SubResource("Resource_44j24"), SubResource("Resource_wkxow"), SubResource("Resource_gcqck"), SubResource("Resource_bxbto"), SubResource("Resource_q48s1")])

View file

@ -0,0 +1,29 @@
[gd_scene load_steps=4 format=3 uid="uid://dh81snen2f6bf"]
[ext_resource type="Script" path="res://Scripts/Bullet.cs" id="1_xe3ca"]
[ext_resource type="Texture2D" uid="uid://wdw60fumilgh" path="res://Sprites/Bullets/rice_bullet_blue_small.png" id="2_4jjan"]
[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_xe3ca")
Speed = 200.0
metadata/_edit_group_ = true
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_4jjan")
[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="."]
[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"]

View file

@ -0,0 +1,29 @@
[gd_scene load_steps=4 format=3 uid="uid://ctrk5qrb7n3fm"]
[ext_resource type="Script" path="res://Scripts/Bullet.cs" id="1_uru3f"]
[ext_resource type="Texture2D" uid="uid://dtgfe64ck2aey" path="res://Sprites/Bullets/rice_bullet_green_small.png" id="2_vmwwc"]
[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_uru3f")
Speed = 200.0
metadata/_edit_group_ = true
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_vmwwc")
[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="."]
[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"]

View file

@ -0,0 +1,29 @@
[gd_scene load_steps=4 format=3 uid="uid://chowj81jsdvcx"]
[ext_resource type="Script" path="res://Scripts/Bullet.cs" id="1_hv0hc"]
[ext_resource type="Texture2D" uid="uid://iwbak4pr67rw" path="res://Sprites/Bullets/rice_bullet_red_small.png" id="2_8uxgg"]
[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_hv0hc")
Speed = 200.0
metadata/_edit_group_ = true
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_8uxgg")
[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="."]
[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"]

View file

@ -0,0 +1,29 @@
[gd_scene load_steps=4 format=3 uid="uid://dbcj1u77spk6p"]
[ext_resource type="Script" path="res://Scripts/Bullet.cs" id="1_bf0hd"]
[ext_resource type="Texture2D" uid="uid://dmr20ogxne6ee" path="res://Sprites/Bullets/rice_bullet_yellow_small.png" id="2_xwssn"]
[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_bf0hd")
Speed = 200.0
metadata/_edit_group_ = true
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_xwssn")
[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="."]
[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/rice_bullet_blue_small.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Sprites/Bullets/rice_bullet_blue_small.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://wdw60fumilgh"
path="res://.godot/imported/rice_bullet_blue_small.png-ab1e142dd33d72363a13782d31c7526b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Bullets/rice_bullet_blue_small.png"
dest_files=["res://.godot/imported/rice_bullet_blue_small.png-ab1e142dd33d72363a13782d31c7526b.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

BIN
Sprites/Bullets/rice_bullet_green_small.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Sprites/Bullets/rice_bullet_green_small.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dtgfe64ck2aey"
path="res://.godot/imported/rice_bullet_green_small.png-e55653f9d499946a3211717a27580913.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Bullets/rice_bullet_green_small.png"
dest_files=["res://.godot/imported/rice_bullet_green_small.png-e55653f9d499946a3211717a27580913.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

BIN
Sprites/Bullets/rice_bullet_red_small.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Sprites/Bullets/rice_bullet_red_small.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://iwbak4pr67rw"
path="res://.godot/imported/rice_bullet_red_small.png-4d78fd04f57e8085ae0a0f3fb5784df2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Bullets/rice_bullet_red_small.png"
dest_files=["res://.godot/imported/rice_bullet_red_small.png-4d78fd04f57e8085ae0a0f3fb5784df2.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

BIN
Sprites/Bullets/rice_bullet_yellow_small.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Sprites/Bullets/rice_bullet_yellow_small.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dmr20ogxne6ee"
path="res://.godot/imported/rice_bullet_yellow_small.png-5cf8042ea652d74eb8c3df60d8a71eca.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Bullets/rice_bullet_yellow_small.png"
dest_files=["res://.godot/imported/rice_bullet_yellow_small.png-5cf8042ea652d74eb8c3df60d8a71eca.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