Camera sprite sweep

This commit is contained in:
Marco 2025-02-05 09:40:24 +01:00
commit 88fd702cea
5 changed files with 59 additions and 7 deletions

View file

@ -22,8 +22,6 @@ _playerDetection = NodePath("PlayerDetection")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = ExtResource("2_omkb8")
animation = &"full_scan"
frame_progress = 0.779565
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_nkpag")
@ -34,6 +32,7 @@ collision_mask = 2
script = ExtResource("3_ax0x5")
SweepSpeed = 10.0
Debug = true
SpritePath = NodePath("../AnimatedSprite2D")
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerDetection"]
shape = SubResource("CircleShape2D_gs7jc")