mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-12 21:42:23 +02:00
Traps updated, Live and Collactables added
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
[gd_scene load_steps=6 format=2]
|
||||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Bannana.gd" type="Script" id=2]
|
||||
[ext_resource path="res://Overlap/HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Objects/Banana/Bannana.gd" type="Script" id=2]
|
||||
[ext_resource path="res://testSprites/Bonfire.png" type="Texture" id=3]
|
||||
[ext_resource path="res://Overlap/HurtHit_Box/Hitbox.tscn" type="PackedScene" id=4]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 7.76762
|
||||
@@ -12,6 +13,9 @@ height = 11.2678
|
||||
radius = 7.10652
|
||||
height = 9.88821
|
||||
|
||||
[sub_resource type="CircleShape2D" id=3]
|
||||
radius = 32.0
|
||||
|
||||
[node name="Bonfire" type="StaticBody2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
@@ -33,6 +37,16 @@ shape = SubResource( 1 )
|
||||
position = Vector2( -3.8147e-06, 0.110184 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="Hitbox" parent="." instance=ExtResource( 4 )]
|
||||
collision_layer = 16
|
||||
damage = -0.5
|
||||
|
||||
[node name="CollisionShape2D" parent="Hitbox" index="0"]
|
||||
position = Vector2( 0, -2 )
|
||||
shape = SubResource( 3 )
|
||||
[connection signal="area_entered" from="Hurtbox" to="." method="_on_Hurtbox_area_entered"]
|
||||
|
||||
[editable path="Hurtbox"]
|
||||
|
||||
[editable path="Hitbox"]
|
||||
|
||||
Reference in New Issue
Block a user