Merge branch 'devMechanics' into devPlayerStats

This commit is contained in:
Jan Schuffenhauer
2020-04-18 16:29:11 +02:00
parent 40ea76cc7c
commit dd870a1aa9
44 changed files with 1963 additions and 40 deletions

View 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"]