mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-12 05:22:23 +02:00
Merge branch 'devMechanics' into devPlayerStats
This commit is contained in:
36
src/Objects/Barrel/Barrel.tscn
Normal file
36
src/Objects/Barrel/Barrel.tscn
Normal file
@@ -0,0 +1,36 @@
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Fass.gd" type="Script" id=2]
|
||||
[ext_resource path="res://testSprites/Fass.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 10.7634
|
||||
height = 5.12255
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=2]
|
||||
radius = 6.37219
|
||||
height = 8.78242
|
||||
|
||||
[node name="Barrel" type="StaticBody2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0.244171, -10.0111 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Hurtbox" parent="." instance=ExtResource( 1 )]
|
||||
collision_layer = 8
|
||||
collision_mask = 0
|
||||
|
||||
[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"]
|
||||
Reference in New Issue
Block a user