STG-2600 death animation.

This commit is contained in:
Haze Weathers 2023-10-16 11:21:49 -04:00
parent f61dbb3d32
commit 46578f033f
6 changed files with 703 additions and 18 deletions

View file

@ -0,0 +1,29 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://graphics/npc/intelli_head.png" type="Texture" id=1]
[ext_resource path="res://objects/enemy/constant_bleed.tscn" type="PackedScene" id=2]
[sub_resource type="PhysicsMaterial" id=17]
bounce = 0.5
[sub_resource type="CircleShape2D" id=16]
radius = 5.0
[node name="IntelliHead" type="RigidBody2D"]
position = Vector2( 0, -4 )
mass = 2.0
physics_material_override = SubResource( 17 )
linear_velocity = Vector2( -80, -80 )
[node name="DeathSplatter" parent="." instance=ExtResource( 2 )]
position = Vector2( -1, 5 )
emission_shape = 0
direction = Vector2( 0, 1 )
spread = 60.0
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
flip_h = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 16 )