Hsif/Scenes/Hook.tscn

29 lines
961 B
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://b0jqcidlj5nqi"]
[ext_resource type="Script" path="res://Scripts/Hook.gd" id="1_33yxr"]
[ext_resource type="Texture2D" uid="uid://c8omthvaa0tvf" path="res://Sprites/Hook.png" id="1_t4axo"]
[sub_resource type="CircleShape2D" id="CircleShape2D_77i7p"]
radius = 35.0571
[sub_resource type="RectangleShape2D" id="RectangleShape2D_lov3l"]
size = Vector2(9, 56)
[node name="Hook" type="Area2D"]
show_behind_parent = true
script = ExtResource("1_33yxr")
[node name="HookSprite" type="Sprite2D" parent="."]
position = Vector2(0, -866)
texture = ExtResource("1_t4axo")
[node name="Hook Collision" type="CollisionShape2D" parent="."]
position = Vector2(-4, 35)
shape = SubResource("CircleShape2D_77i7p")
[node name="Hook Collision 2" type="CollisionShape2D" parent="."]
position = Vector2(28.5, 6)
shape = SubResource("RectangleShape2D_lov3l")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]