Hsif/Scenes/Spear.tscn

18 lines
641 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://whd0o674ot6u"]
[ext_resource type="Script" path="res://Scripts/Spear.gd" id="1_82tvu"]
[ext_resource type="Texture2D" uid="uid://narrefbak446" path="res://Sprites/Spear.png" id="2_hafs4"]
[node name="Spear" type="Area2D"]
show_behind_parent = true
script = ExtResource("1_82tvu")
[node name="SpearSprite" type="Sprite2D" parent="."]
position = Vector2(-1, 53)
texture = ExtResource("2_hafs4")
[node name="SpearCollision" type="CollisionPolygon2D" parent="."]
polygon = PackedVector2Array(-34, 427, -3, 502, 29, 427)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]