mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-12 05:22:23 +02:00
31 lines
985 B
Plaintext
31 lines
985 B
Plaintext
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://Overlap/HurtHit_Box/Hitbox.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://Objects/Traps/bear.gd" type="Script" id=2]
|
|
[ext_resource path="res://testSprites/falle.png" type="Texture" id=3]
|
|
[ext_resource path="res://Overlap/HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=4]
|
|
|
|
[sub_resource type="CapsuleShape2D" id=1]
|
|
height = 9.0
|
|
|
|
[node name="Bear_trap" type="Node2D"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
position = Vector2( -7.62939e-06, 0 )
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="Hitbox" parent="." instance=ExtResource( 1 )]
|
|
collision_layer = 16
|
|
|
|
[node name="CollisionShape2D" parent="Hitbox" index="0"]
|
|
rotation = 1.5708
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Hurtbox" parent="Hitbox" instance=ExtResource( 4 )]
|
|
collision_layer = 32
|
|
collision_mask = 0
|
|
[connection signal="area_entered" from="Hitbox/Hurtbox" to="." method="_on_Hurtbox_area_entered"]
|
|
|
|
[editable path="Hitbox"]
|