several bones to pick with skelarchers :)

This commit is contained in:
Haze Weathers 2023-01-20 18:43:25 -05:00
parent e4b7dd435c
commit 3b1d2b4068
4 changed files with 72 additions and 6 deletions

View file

@ -0,0 +1,19 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://graphics/enemy/bone.png" type="Texture" id=1]
[sub_resource type="PhysicsMaterial" id=2]
bounce = 0.75
[sub_resource type="SegmentShape2D" id=1]
a = Vector2( 0, -2 )
b = Vector2( 0, 2 )
[node name="BoneParticle" type="RigidBody2D"]
physics_material_override = SubResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )