forked from team-sg/hero-mark-2
fixed last rolling fiend issue
This commit is contained in:
parent
784df36471
commit
7babb27960
2 changed files with 1 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=34 format=2]
|
||||
[gd_scene load_steps=33 format=2]
|
||||
|
||||
[ext_resource path="res://objects/enemy/boss/sg2083.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://tilesets/t_laboratory.tres" type="TileSet" id=2]
|
||||
|
@ -27,7 +27,6 @@
|
|||
[ext_resource path="res://objects/lore/hills/sg.tscn" type="PackedScene" id=25]
|
||||
[ext_resource path="res://objects/lore/lab/scope.tscn" type="PackedScene" id=26]
|
||||
[ext_resource path="res://shaders/can_stain.tres" type="Material" id=27]
|
||||
[ext_resource path="res://objects/enemy/rolling_fiend.tscn" type="PackedScene" id=28]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=4]
|
||||
shader = ExtResource( 19 )
|
||||
|
@ -366,9 +365,6 @@ anims/drop-stg = SubResource( 2 )
|
|||
position = Vector2( -9001, 167 )
|
||||
texture = ExtResource( 23 )
|
||||
|
||||
[node name="RollingFiend" parent="." instance=ExtResource( 28 )]
|
||||
position = Vector2( 65, 171 )
|
||||
|
||||
[connection signal="cutscene_finished" from="FamiCutscene" to="." method="_on_cutscene_finished"]
|
||||
[connection signal="energy_changed" from="2083" to="." method="_on_2083_energy_changed"]
|
||||
[connection signal="health_changed" from="2083" to="." method="_on_2083_health_changed"]
|
||||
|
|
|
@ -148,11 +148,4 @@ func _on_Shooting_state_physics_processing(delta) -> void:
|
|||
|
||||
func _on_Hitbox_area_entered(area: Area2D) -> void:
|
||||
if area.is_in_group("hurt_famira"):
|
||||
hurt(area.damage)
|
||||
var death_particles = DeathParticles.instance()
|
||||
death_particles.global_position = area.global_position
|
||||
death_particles.emitting = true
|
||||
death_particles.spray_scale = 2.0
|
||||
death_particles.spray_ammount = 2
|
||||
get_parent().add_child(death_particles)
|
||||
area.queue_free()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue