Add MovingPlatformComponent and moving platform scene; implement movement along a path with customizable speed and loop modes

This commit is contained in:
2025-09-13 14:43:58 +02:00
parent 7257242fce
commit bc3108ea37
5 changed files with 135 additions and 6 deletions

View File

@@ -123,12 +123,12 @@ bus = &"sfx"
script = ExtResource("6_q78ru")
Area = NodePath("../Hitbox")
[node name="PeriodicShootingComponent" type="Node" parent="." node_paths=PackedStringArray("BulletSpawnRight", "BulletSpawnLeft")]
[node name="PeriodicShootingComponent" type="Node" parent="." node_paths=PackedStringArray("BulletSpawnPointRight", "BulletSpawnPointLeft")]
script = ExtResource("7_weo6b")
BulletScene = ExtResource("7_4ajjm")
ShootInterval = 2.0
BulletSpawnRight = NodePath("../laser spawn point right")
BulletSpawnLeft = NodePath("../laser spawn point left")
BulletSpawnPointRight = NodePath("../laser spawn point right")
BulletSpawnPointLeft = NodePath("../laser spawn point left")
ShootingIntervalVariation = 0.5
[node name="EnemyDeathComponent" type="Node" parent="." node_paths=PackedStringArray("CollisionShape", "Health")]