Files
TheRailGoat 43b38b2428
ci/woodpecker/push/woodpecker Pipeline was successful
Saw updates + experimental new level
2026-10-28 23:28:40 -05:00

55 lines
1.7 KiB
Plaintext

[gd_scene format=3 uid="uid://c13khrhjy5nrj"]
[ext_resource type="Script" uid="uid://dxgg37v8cxi76" path="res://saw.gd" id="1_reoe3"]
[ext_resource type="Texture2D" uid="uid://cpftgnwkpx1rp" path="res://art/saw.png" id="2_b8b65"]
[ext_resource type="Texture2D" uid="uid://dfdjachaibh2u" path="res://art/saw2.png" id="3_tse5f"]
[ext_resource type="Texture2D" uid="uid://cwvvgwo87pct0" path="res://art/saw3.png" id="4_yv4k5"]
[sub_resource type="CircleShape2D" id="CircleShape2D_axvpk"]
radius = 16.0
[sub_resource type="SpriteFrames" id="SpriteFrames_lmieu"]
animations = [{
"frames": [{
"duration": 0.3,
"texture": ExtResource("2_b8b65")
}, {
"duration": 0.3,
"texture": ExtResource("3_tse5f")
}, {
"duration": 0.3,
"texture": ExtResource("4_yv4k5")
}],
"loop": 1,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_xp7he"]
radius = 18.0
[node name="Saw" type="RigidBody2D" unique_id=1409784601]
gravity_scale = 0.0
freeze = true
script = ExtResource("1_reoe3")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
shape = SubResource("CircleShape2D_axvpk")
[node name="Sprite2D" type="AnimatedSprite2D" parent="." unique_id=790714481]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_lmieu")
autoplay = "default"
frame_progress = 0.39573506
[node name="Area2D" type="Area2D" parent="." unique_id=1910272404]
position = Vector2(19, 7)
rotation = -6.834404e-05
[node name="ShapeCast2D" type="CollisionShape2D" parent="Area2D" unique_id=934904308]
position = Vector2(-18.999523, -7.0012984)
shape = SubResource("CircleShape2D_xp7he")
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
[connection signal="body_exited" from="Area2D" to="." method="on_leave"]