Files
ludum_dare_46/src/Objects/Barrel/Barrel.tscn
Conrad fafd1956c6 Added cards for objects + MISC
- Added flame animation
- Added cards for objects
- Added new background animation
- Added placeable walls

Co-Authored-By: deranonymos <deranonymos@users.noreply.github.com>
2020-04-20 15:54:40 +02:00

44 lines
1.2 KiB
Plaintext

[gd_scene load_steps=7 format=2]
[ext_resource path="res://Overlap/HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=1]
[ext_resource path="res://Objects/Barrel/Barrel.gd" type="Script" id=2]
[ext_resource path="res://Objects/Barrel/fass.png" type="Texture" id=3]
[ext_resource path="res://Overlap/Kind.tscn" type="PackedScene" id=4]
[sub_resource type="CapsuleShape2D" id=1]
radius = 12.72
height = 2.50714
[sub_resource type="CapsuleShape2D" id=2]
radius = 6.37219
height = 8.78242
[node name="Barrel" type="StaticBody2D"]
script = ExtResource( 2 )
[node name="Kind" parent="." instance=ExtResource( 4 )]
general = 1
kind = 9
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0.244171, -10.0111 )
texture = ExtResource( 3 )
[node name="Hurtbox" parent="." groups=[
"HittableByPlayer",
] instance=ExtResource( 1 )]
collision_layer = 8
collision_mask = 128
[node name="CollisionShape2D" parent="Hurtbox" index="0"]
position = Vector2( 0.322258, -10.0297 )
shape = SubResource( 1 )
[node name="Body" type="CollisionShape2D" parent="."]
position = Vector2( 0.0780792, -0.0460815 )
rotation = 1.5708
shape = SubResource( 2 )
[connection signal="area_entered" from="Hurtbox" to="." method="_on_Hurtbox_area_entered"]
[editable path="Hurtbox"]