New Modifier

This commit is contained in:
Marco 2025-02-09 09:37:43 +01:00
commit 019f7d7ca0
18 changed files with 423 additions and 45 deletions

View file

@ -38,6 +38,6 @@ lifetime = 0.8
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = ExtResource("2_k58t7")
animation = &"Default"
frame_progress = 0.580599
frame_progress = 0.462812
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

View file

@ -1,32 +1,13 @@
[gd_scene load_steps=12 format=4 uid="uid://bu5fvatj2j08j"]
[gd_scene load_steps=8 format=4 uid="uid://bu5fvatj2j08j"]
[ext_resource type="Script" path="res://Scripts/GameManager.cs" id="1_paetl"]
[ext_resource type="PackedScene" uid="uid://d1rlw6ddpmrn8" path="res://Scenes/Actors/Rumia.tscn" id="2_47q21"]
[ext_resource type="PackedScene" uid="uid://bghghp5ep4w2j" path="res://Scenes/player.tscn" id="2_f17ts"]
[ext_resource type="TileSet" uid="uid://6k28roiljylj" path="res://Tilesets/factory_tileset.tres" id="3_cyhmq"]
[ext_resource type="Resource" uid="uid://ks6fypeil6gk" path="res://Resources/BossPhases/TestBoss1.tres" id="5_jkuab"]
[ext_resource type="PackedScene" uid="uid://dohakkayqj4w2" path="res://Scenes/Weapons/Bullets/enemyBullet_green.tscn" id="6_8e062"]
[ext_resource type="Script" path="res://Scripts/AttackPatterns/SpiralPattern.cs" id="7_pi1kp"]
[ext_resource type="Script" path="res://Scripts/Resources/BossPhase.cs" id="8_jya7d"]
[ext_resource type="Resource" uid="uid://ccj0cqbveey8c" path="res://Resources/BossPhases/Rumia_SP1.tres" id="6_1uicx"]
[ext_resource type="PackedScene" uid="uid://bdp710abe10s5" path="res://Scenes/Interactable/AreaTrigger.tscn" id="9_xhf0g"]
[sub_resource type="Resource" id="Resource_0v4v8"]
script = ExtResource("7_pi1kp")
BulletScene = ExtResource("6_8e062")
bulletSpeed = 40.0
bulletCount = 30
rotationSpeed = 200.0
duration = 8.0
burstInterval = 0.5
spread = 180.0
owner = 2
WaitForCompletion = true
[sub_resource type="Resource" id="Resource_rasgx"]
script = ExtResource("8_jya7d")
Threshold = 600
Patterns = Array[Resource]([SubResource("Resource_0v4v8")])
[node name="GameScene" type="Node2D" node_paths=PackedStringArray("PlayerSpawnMarker")]
script = ExtResource("1_paetl")
PlayerTemplate = ExtResource("2_f17ts")
@ -49,8 +30,8 @@ tile_map_data = PackedByteArray("AAAIAAAAAAAAAAIAAAAJAAAAAAAAAAIAAAAOAAAAAAAAAAI
tile_set = ExtResource("3_cyhmq")
[node name="Rumia" parent="." instance=ExtResource("2_47q21")]
position = Vector2(178, 63)
Phases = Array[Resource]([ExtResource("5_jkuab"), SubResource("Resource_rasgx")])
position = Vector2(176, 44)
Phases = Array[Resource]([ExtResource("6_1uicx"), ExtResource("5_jkuab")])
[node name="PlayerStartPosition" type="Marker2D" parent="."]
position = Vector2(178, 115)

View file

@ -0,0 +1,27 @@
[gd_scene load_steps=4 format=3 uid="uid://dre2wvw4pa3hc"]
[ext_resource type="Script" path="res://Scripts/Bullet.cs" id="1_p8khg"]
[ext_resource type="Texture2D" uid="uid://dooyhu8vt63vm" path="res://Sprites/Bullets/mid_bullet_blue.png" id="2_0v242"]
[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_p8khg")
Speed = 200.0
Owner = 2
metadata/_edit_group_ = true
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_0v242")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_jxptd")
[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,27 @@
[gd_scene load_steps=4 format=3 uid="uid://bi3f14klscvlw"]
[ext_resource type="Script" path="res://Scripts/Bullet.cs" id="1_jnw2a"]
[ext_resource type="Texture2D" uid="uid://cfldr7l7dearo" path="res://Sprites/Bullets/mid_bullet_red.png" id="2_4q6eb"]
[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_jnw2a")
Speed = 200.0
Owner = 2
metadata/_edit_group_ = true
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_4q6eb")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_jxptd")
[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"]