Files
TheRailGoat f94d68efef
ci/woodpecker/push/woodpecker Pipeline was successful
Saws!
2026-10-18 20:13:23 -05:00

55 lines
1.8 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="RectangleShape2D" id="RectangleShape2D_f3sb7"]
size = Vector2(32, 26)
[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="RectangleShape2D" id="RectangleShape2D_3uo2v"]
size = Vector2(34, 28)
[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("RectangleShape2D_f3sb7")
[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("RectangleShape2D_3uo2v")
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
[connection signal="body_exited" from="Area2D" to="." method="on_leave"]