forked from team-sg/hero-mark-2
done with the scrump
This commit is contained in:
parent
298308d805
commit
f4a6c97ca1
39 changed files with 1147 additions and 8 deletions
|
@ -14,6 +14,7 @@ onready var shootpoint = $Position2D
|
|||
onready var blood_position = $BloodPosition
|
||||
onready var map = get_owner()
|
||||
const Projectile = preload("res://objects/enemy/boss/boss1_projectile.tscn")
|
||||
const Gore = preload("res://objects/enemy/boss/boss1_gore.tscn")
|
||||
|
||||
|
||||
func _ready():
|
||||
|
@ -28,6 +29,7 @@ func _on_ShootTimer_timeout():
|
|||
|
||||
func die():
|
||||
hp -= 1
|
||||
Game.play_sound(Game.a_die,Game.ac_boss)
|
||||
match hp:
|
||||
2:
|
||||
emit_signal("entered_phase", 2)
|
||||
|
@ -38,9 +40,15 @@ func die():
|
|||
speed = phase3_speed
|
||||
shoot_time = Vector2(0.3,0.5)
|
||||
0:
|
||||
.die()
|
||||
Game.instance_node(Gore,position.x,position.y,map)
|
||||
Game.play_sound(Game.a_gover,Game.ac_boss)
|
||||
emit_signal("entered_phase",4)
|
||||
queue_free()
|
||||
|
||||
#Bleed particles
|
||||
var death_particles = DeathParticles.instance()
|
||||
death_particles.global_position = blood_position.global_position
|
||||
death_particles.emitting = true
|
||||
death_particles.amount = 64
|
||||
death_particles.lifetime = 0.45
|
||||
get_parent().add_child(death_particles)
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump.png" type="Texture" id=1]
|
||||
[ext_resource path="res://objects/enemy/boss/boss1.gd" type="Script" id=2]
|
||||
[ext_resource path="res://audio/sounds/die.wav" type="AudioStream" id=3]
|
||||
[ext_resource path="res://audio/sounds/gover.wav" type="AudioStream" id=4]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 5.5, 9.5 )
|
||||
|
@ -13,6 +15,8 @@ extents = Vector2( 20, 27 )
|
|||
script = ExtResource( 2 )
|
||||
move_direction = 1
|
||||
flip_sprite = false
|
||||
phase2_speed = 75
|
||||
phase3_speed = 100
|
||||
|
||||
[node name="Sus" type="ColorRect" parent="."]
|
||||
visible = false
|
||||
|
@ -80,6 +84,12 @@ texture = ExtResource( 1 )
|
|||
[node name="BloodPosition" type="Position2D" parent="."]
|
||||
position = Vector2( 0, 14 )
|
||||
|
||||
[node name="HurtSound" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 3 )
|
||||
|
||||
[node name="DeathSound" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 4 )
|
||||
|
||||
[connection signal="area_entered" from="Hitbox" to="." method="_on_Hitbox_area_entered"]
|
||||
[connection signal="timeout" from="ShootTimer" to="." method="_on_ShootTimer_timeout"]
|
||||
[connection signal="timeout" from="ArrowSpawnTimer" to="." method="_on_ArrowSpawnTimer_timeout"]
|
||||
|
|
13
objects/enemy/boss/boss1_gore.gd
Normal file
13
objects/enemy/boss/boss1_gore.gd
Normal file
|
@ -0,0 +1,13 @@
|
|||
extends RigidBody2D
|
||||
|
||||
#MINUMUM AND MAXIMUM IMPULSE
|
||||
var impulse_min = 100
|
||||
var impulse_max = 300
|
||||
|
||||
var rot = 0
|
||||
|
||||
func _ready():
|
||||
#SHOOT OFF AT A RANDOM DIRECTION
|
||||
var impulse_strength = rand_range(impulse_min, impulse_max)
|
||||
var angle = rand_range(-360,360)
|
||||
apply_central_impulse(Vector2(cos(angle), sin(angle)) * impulse_strength)
|
349
objects/enemy/boss/boss1_gore.tscn
Normal file
349
objects/enemy/boss/boss1_gore.tscn
Normal file
|
@ -0,0 +1,349 @@
|
|||
[gd_scene load_steps=35 format=2]
|
||||
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/eyestalk.png" type="Texture" id=1]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/eye.png" type="Texture" id=2]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/headupper.png" type="Texture" id=3]
|
||||
[ext_resource path="res://objects/enemy/boss/boss1_gore.gd" type="Script" id=4]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/headlower.png" type="Texture" id=5]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/tentacle5.png" type="Texture" id=6]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/tentacle3.png" type="Texture" id=7]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/tentacle4.png" type="Texture" id=8]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/tentacle1.png" type="Texture" id=9]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/tentacle6.png" type="Texture" id=10]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/tentacle2.png" type="Texture" id=11]
|
||||
[ext_resource path="res://objects/enemy/constant_bleed.tscn" type="PackedScene" id=12]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/brain4.png" type="Texture" id=13]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/brain3.png" type="Texture" id=14]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/brain1.png" type="Texture" id=15]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/brain2.png" type="Texture" id=16]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id=21]
|
||||
bounce = 0.3
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=17]
|
||||
radius = 7.26425
|
||||
height = 4.59118
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=18]
|
||||
radius = 4.7065
|
||||
height = 9.55582
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=19]
|
||||
radius = 7.26425
|
||||
height = 6.06268
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=20]
|
||||
radius = 2.66902
|
||||
height = 10.9959
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id=4]
|
||||
bounce = 1.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id=3]
|
||||
radius = 6.0
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=13]
|
||||
radius = 1.27316
|
||||
height = 11.6157
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=14]
|
||||
radius = 1.27316
|
||||
height = 9.45369
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=15]
|
||||
radius = 1.27316
|
||||
height = 9.45369
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=5]
|
||||
radius = 12.0465
|
||||
height = 15.9447
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=6]
|
||||
radius = 7.00002
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=7]
|
||||
radius = 2.0
|
||||
height = 10.5018
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=8]
|
||||
radius = 2.0
|
||||
height = 12.0
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=9]
|
||||
radius = 3.0
|
||||
height = 14.0
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=10]
|
||||
radius = 3.0
|
||||
height = 12.0
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=11]
|
||||
radius = 2.0
|
||||
height = 12.0
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=12]
|
||||
radius = 3.0
|
||||
height = 14.0
|
||||
|
||||
[node name="Gore" type="Node2D"]
|
||||
|
||||
[node name="Brain1" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 21 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Brain1"]
|
||||
position = Vector2( 27, 27 )
|
||||
texture = ExtResource( 15 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Brain1"]
|
||||
position = Vector2( 23, 18 )
|
||||
rotation = 0.504296
|
||||
shape = SubResource( 17 )
|
||||
|
||||
[node name="DeathSplatter" parent="Brain1" instance=ExtResource( 12 )]
|
||||
position = Vector2( 29, 9 )
|
||||
|
||||
[node name="DeathSplatter2" parent="Brain1" instance=ExtResource( 12 )]
|
||||
position = Vector2( 15, 24 )
|
||||
|
||||
[node name="Brain2" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 21 )
|
||||
|
||||
[node name="DeathSplatter" parent="Brain2" instance=ExtResource( 12 )]
|
||||
position = Vector2( 48, 11 )
|
||||
|
||||
[node name="DeathSplatter2" parent="Brain2" instance=ExtResource( 12 )]
|
||||
position = Vector2( 37, 29 )
|
||||
|
||||
[node name="Sprite2" type="Sprite" parent="Brain2"]
|
||||
position = Vector2( 27, 27 )
|
||||
texture = ExtResource( 16 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Brain2"]
|
||||
position = Vector2( 47, 23 )
|
||||
rotation = 0.34434
|
||||
shape = SubResource( 18 )
|
||||
|
||||
[node name="Brain3" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 21 )
|
||||
|
||||
[node name="DeathSplatter" parent="Brain3" instance=ExtResource( 12 )]
|
||||
position = Vector2( 44, 7 )
|
||||
|
||||
[node name="DeathSplatter2" parent="Brain3" instance=ExtResource( 12 )]
|
||||
position = Vector2( 32, 25 )
|
||||
|
||||
[node name="Sprite3" type="Sprite" parent="Brain3"]
|
||||
position = Vector2( 27, 27 )
|
||||
texture = ExtResource( 14 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Brain3"]
|
||||
position = Vector2( 38, 17 )
|
||||
rotation = 0.504296
|
||||
shape = SubResource( 19 )
|
||||
|
||||
[node name="Brain4" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 21 )
|
||||
|
||||
[node name="DeathSplatter" parent="Brain4" instance=ExtResource( 12 )]
|
||||
position = Vector2( 49, 23 )
|
||||
|
||||
[node name="Sprite3" type="Sprite" parent="Brain4"]
|
||||
position = Vector2( 27, 27 )
|
||||
texture = ExtResource( 13 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Brain4"]
|
||||
position = Vector2( 46, 32 )
|
||||
rotation = 0.294044
|
||||
shape = SubResource( 20 )
|
||||
|
||||
[node name="Eye" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 4 )
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Eye" instance=ExtResource( 12 )]
|
||||
position = Vector2( 6, 9 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Eye"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Eye"]
|
||||
position = Vector2( 5, 15 )
|
||||
shape = SubResource( 3 )
|
||||
|
||||
[node name="Eyestalk" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 21 )
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Eyestalk" instance=ExtResource( 12 )]
|
||||
position = Vector2( 6, 8 )
|
||||
|
||||
[node name="DeathSplatter2" parent="Eyestalk" instance=ExtResource( 12 )]
|
||||
position = Vector2( 25, 5 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Eyestalk"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Eyestalk"]
|
||||
position = Vector2( 9, 3 )
|
||||
rotation = 0.669829
|
||||
shape = SubResource( 13 )
|
||||
|
||||
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Eyestalk"]
|
||||
position = Vector2( 18, -3 )
|
||||
rotation = 1.57079
|
||||
shape = SubResource( 14 )
|
||||
|
||||
[node name="CollisionShape2D3" type="CollisionShape2D" parent="Eyestalk"]
|
||||
position = Vector2( 25, 1 )
|
||||
rotation = 2.57212
|
||||
shape = SubResource( 15 )
|
||||
|
||||
[node name="UpperHead" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 21 )
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="UpperHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 41, 10 )
|
||||
|
||||
[node name="DeathSplatter2" parent="UpperHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 49, 20 )
|
||||
|
||||
[node name="DeathSplatter3" parent="UpperHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 42, 26 )
|
||||
|
||||
[node name="DeathSplatter4" parent="UpperHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 33, 28 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="UpperHead"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="UpperHead"]
|
||||
position = Vector2( 33, 19 )
|
||||
rotation = 1.59593
|
||||
shape = SubResource( 5 )
|
||||
|
||||
[node name="LowerHead" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 21 )
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="LowerHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 32, 28 )
|
||||
|
||||
[node name="DeathSplatter2" parent="LowerHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 43, 27 )
|
||||
|
||||
[node name="DeathSplatter3" parent="LowerHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 18, 37 )
|
||||
|
||||
[node name="DeathSplatter4" parent="LowerHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 26, 38 )
|
||||
|
||||
[node name="DeathSplatter5" parent="LowerHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 35, 37 )
|
||||
|
||||
[node name="DeathSplatter6" parent="LowerHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 44, 37 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="LowerHead"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 5 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="LowerHead"]
|
||||
position = Vector2( 35, 33 )
|
||||
rotation = 1.57079
|
||||
shape = SubResource( 6 )
|
||||
|
||||
[node name="Tentacle1" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 21 )
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Tentacle1" instance=ExtResource( 12 )]
|
||||
position = Vector2( 19, 37 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Tentacle1"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 9 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Tentacle1"]
|
||||
position = Vector2( 19, 45 )
|
||||
rotation = 0.188719
|
||||
shape = SubResource( 7 )
|
||||
|
||||
[node name="Tentacle2" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 21 )
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Tentacle2" instance=ExtResource( 12 )]
|
||||
position = Vector2( 23, 38 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Tentacle2"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 11 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Tentacle2"]
|
||||
position = Vector2( 24, 47 )
|
||||
rotation = 0.16322
|
||||
shape = SubResource( 8 )
|
||||
|
||||
[node name="Tentacle3" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 21 )
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Tentacle3" instance=ExtResource( 12 )]
|
||||
position = Vector2( 27, 38 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Tentacle3"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 7 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Tentacle3"]
|
||||
position = Vector2( 27, 48 )
|
||||
shape = SubResource( 9 )
|
||||
|
||||
[node name="Tentacle4" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 21 )
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Tentacle4" instance=ExtResource( 12 )]
|
||||
position = Vector2( 33, 38 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Tentacle4"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 8 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Tentacle4"]
|
||||
position = Vector2( 33, 48 )
|
||||
shape = SubResource( 10 )
|
||||
|
||||
[node name="Tentacle5" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 21 )
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Tentacle5" instance=ExtResource( 12 )]
|
||||
position = Vector2( 38, 38 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Tentacle5"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 6 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Tentacle5"]
|
||||
position = Vector2( 39, 47 )
|
||||
shape = SubResource( 11 )
|
||||
|
||||
[node name="Tentacle6" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 21 )
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Tentacle6" instance=ExtResource( 12 )]
|
||||
position = Vector2( 43, 38 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Tentacle6"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 10 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Tentacle6"]
|
||||
position = Vector2( 44, 48 )
|
||||
shape = SubResource( 12 )
|
190
objects/enemy/boss/boss1_gore2.tscn
Normal file
190
objects/enemy/boss/boss1_gore2.tscn
Normal file
|
@ -0,0 +1,190 @@
|
|||
[gd_scene load_steps=15 format=2]
|
||||
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/eyestalk.png" type="Texture" id=1]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/eye.png" type="Texture" id=2]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/headupper.png" type="Texture" id=3]
|
||||
[ext_resource path="res://objects/enemy/boss/boss1_gore.gd" type="Script" id=4]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/headlower.png" type="Texture" id=5]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/tentacle5.png" type="Texture" id=6]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/tentacle3.png" type="Texture" id=7]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/tentacle4.png" type="Texture" id=8]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/tentacle1.png" type="Texture" id=9]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/tentacle6.png" type="Texture" id=10]
|
||||
[ext_resource path="res://graphics/enemy/boss/scrump_gore/tentacle2.png" type="Texture" id=11]
|
||||
[ext_resource path="res://objects/enemy/constant_bleed.tscn" type="PackedScene" id=12]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id=4]
|
||||
bounce = 1.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id=3]
|
||||
radius = 6.0
|
||||
|
||||
[node name="Gore" type="Node2D"]
|
||||
|
||||
[node name="Eye" type="RigidBody2D" parent="."]
|
||||
physics_material_override = SubResource( 4 )
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Eye" instance=ExtResource( 12 )]
|
||||
position = Vector2( 6, 9 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Eye"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Eye"]
|
||||
position = Vector2( 5, 15 )
|
||||
shape = SubResource( 3 )
|
||||
|
||||
[node name="Eyestalk" type="RigidBody2D" parent="."]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Eyestalk" instance=ExtResource( 12 )]
|
||||
position = Vector2( 6, 8 )
|
||||
|
||||
[node name="DeathSplatter2" parent="Eyestalk" instance=ExtResource( 12 )]
|
||||
position = Vector2( 25, 5 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Eyestalk"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="Eyestalk"]
|
||||
position = Vector2( 5, 15 )
|
||||
polygon = PoolVector2Array( 23, -9, 23, -13, 17, -19, 9, -19, 8, -19, 7, -18, 3, -13, 0, -7, 4, -7, 4, -11, 4, -11, 8, -16, 17, -16, 18, -15, 18, -9, 19, -8, 22, -8 )
|
||||
|
||||
[node name="UpperHead" type="RigidBody2D" parent="."]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="UpperHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 41, 10 )
|
||||
|
||||
[node name="DeathSplatter2" parent="UpperHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 49, 20 )
|
||||
|
||||
[node name="DeathSplatter3" parent="UpperHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 42, 26 )
|
||||
|
||||
[node name="DeathSplatter4" parent="UpperHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 33, 28 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="UpperHead"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="UpperHead"]
|
||||
position = Vector2( 5, 15 )
|
||||
polygon = PoolVector2Array( 19, -9, 18, -8, 9, 0, 9, 5, 9, 10, 10, 11, 43, 12, 44, 9, 43, 8, 40, 8, 36, 8, 40, 3, 37, 0, 35, -1, 37, -4, 33, -6, 24, -9, 22, -9 )
|
||||
|
||||
[node name="LowerHead" type="RigidBody2D" parent="."]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="LowerHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 32, 28 )
|
||||
|
||||
[node name="DeathSplatter2" parent="LowerHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 43, 27 )
|
||||
|
||||
[node name="DeathSplatter3" parent="LowerHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 18, 37 )
|
||||
|
||||
[node name="DeathSplatter4" parent="LowerHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 26, 38 )
|
||||
|
||||
[node name="DeathSplatter5" parent="LowerHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 35, 37 )
|
||||
|
||||
[node name="DeathSplatter6" parent="LowerHead" instance=ExtResource( 12 )]
|
||||
position = Vector2( 44, 37 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="LowerHead"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 5 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="LowerHead"]
|
||||
position = Vector2( 5, 15 )
|
||||
polygon = PoolVector2Array( 28, 14, 20, 17, 15, 17, 10, 17, 10, 19, 16, 23, 43, 23, 46, 20, 46, 19, 47, 18, 47, 11, 44, 10, 36, 12, 34, 12 )
|
||||
|
||||
[node name="Tentacle1" type="RigidBody2D" parent="."]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Tentacle1" instance=ExtResource( 12 )]
|
||||
position = Vector2( 19, 37 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Tentacle1"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 9 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="Tentacle1"]
|
||||
position = Vector2( 5, 15 )
|
||||
polygon = PoolVector2Array( 14, 23, 13, 31, 11, 34, 11, 36, 12, 36, 12, 34, 15, 31, 17, 26, 16, 23 )
|
||||
|
||||
[node name="Tentacle2" type="RigidBody2D" parent="."]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Tentacle2" instance=ExtResource( 12 )]
|
||||
position = Vector2( 23, 38 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Tentacle2"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 11 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="Tentacle2"]
|
||||
position = Vector2( 5, 15 )
|
||||
polygon = PoolVector2Array( 18, 26, 19, 27, 19, 33, 18, 37, 17, 38, 18, 38, 19, 37, 20, 33, 20, 24 )
|
||||
|
||||
[node name="Tentacle3" type="RigidBody2D" parent="."]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Tentacle3" instance=ExtResource( 12 )]
|
||||
position = Vector2( 27, 38 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Tentacle3"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 7 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="Tentacle3"]
|
||||
position = Vector2( 5, 15 )
|
||||
polygon = PoolVector2Array( 21, 42, 22, 42, 23, 33, 25, 30, 24, 24, 22, 24, 21, 25 )
|
||||
|
||||
[node name="Tentacle4" type="RigidBody2D" parent="."]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Tentacle4" instance=ExtResource( 12 )]
|
||||
position = Vector2( 33, 38 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Tentacle4"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 8 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="Tentacle4"]
|
||||
position = Vector2( 5, 15 )
|
||||
polygon = PoolVector2Array( 25, 24, 28, 40, 26, 43, 27, 43, 30, 39, 30, 33, 30, 24 )
|
||||
|
||||
[node name="Tentacle5" type="RigidBody2D" parent="."]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Tentacle5" instance=ExtResource( 12 )]
|
||||
position = Vector2( 38, 38 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Tentacle5"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 6 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="Tentacle5"]
|
||||
position = Vector2( 5, 15 )
|
||||
polygon = PoolVector2Array( 31, 25, 34, 32, 34, 38, 35, 38, 36, 25, 34, 23 )
|
||||
|
||||
[node name="Tentacle6" type="RigidBody2D" parent="."]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="DeathSplatter" parent="Tentacle6" instance=ExtResource( 12 )]
|
||||
position = Vector2( 43, 38 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Tentacle6"]
|
||||
position = Vector2( 26, 27 )
|
||||
texture = ExtResource( 10 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="Tentacle6"]
|
||||
position = Vector2( 5, 15 )
|
||||
polygon = PoolVector2Array( 37, 26, 39, 32, 39, 34, 36, 38, 36, 41, 37, 39, 41, 34, 41, 25, 39, 24 )
|
24
objects/enemy/constant_bleed.tscn
Normal file
24
objects/enemy/constant_bleed.tscn
Normal file
|
@ -0,0 +1,24 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://graphics/particles/blood.png" type="Texture" id=1]
|
||||
|
||||
[sub_resource type="Curve" id=43]
|
||||
_data = [ Vector2( 0, 1 ), 0.0, -0.113537, 0, 0, Vector2( 1, 0 ), -3.35032, 0.0, 0, 0 ]
|
||||
|
||||
[node name="DeathSplatter" type="CPUParticles2D"]
|
||||
lifetime = 0.2
|
||||
local_coords = false
|
||||
texture = ExtResource( 1 )
|
||||
emission_shape = 2
|
||||
emission_rect_extents = Vector2( 4, 4 )
|
||||
direction = Vector2( 0, -1 )
|
||||
spread = 180.0
|
||||
gravity = Vector2( 0, 50 )
|
||||
initial_velocity = 60.0
|
||||
initial_velocity_random = 0.9
|
||||
damping = 2.0
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale_amount = 0.5
|
||||
scale_amount_random = 1.0
|
||||
scale_amount_curve = SubResource( 43 )
|
Loading…
Add table
Add a link
Reference in a new issue