forked from team-sg/hero-mark-2
more finalboss workd
This commit is contained in:
parent
63b24cb614
commit
5b520f0a46
5 changed files with 87 additions and 26 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=25 format=2]
|
||||
[gd_scene load_steps=28 format=2]
|
||||
|
||||
[ext_resource path="res://objects/enemy/boss/famira.gd" type="Script" id=1]
|
||||
[ext_resource path="res://shaders/scale3x.gdshader" type="Shader" id=2]
|
||||
|
@ -15,6 +15,10 @@
|
|||
[ext_resource path="res://graphics/enemy/antlion_body.png" type="Texture" id=13]
|
||||
[ext_resource path="res://graphics/enemy/tentacle.png" type="Texture" id=14]
|
||||
[ext_resource path="res://graphics/particles/dust.png" type="Texture" id=15]
|
||||
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=16]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=11]
|
||||
extents = Vector2( 28, 64 )
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=1]
|
||||
shader = ExtResource( 2 )
|
||||
|
@ -729,6 +733,7 @@ tracks/13/keys = {
|
|||
[sub_resource type="Animation" id=3]
|
||||
resource_name = "roar"
|
||||
length = 1.5
|
||||
loop = true
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("Hip/Body:rotation_degrees")
|
||||
tracks/0/interp = 1
|
||||
|
@ -1086,6 +1091,11 @@ tracks/14/keys = {
|
|||
"values": [ false, true, false ]
|
||||
}
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=10]
|
||||
shader = ExtResource( 16 )
|
||||
shader_param/border_color = Color( 0, 0, 0, 1 )
|
||||
shader_param/border_corners = false
|
||||
|
||||
[sub_resource type="Curve" id=8]
|
||||
_data = [ Vector2( 0, 0.5 ), 0.0, 0.890696, 0, 0, Vector2( 0.814474, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), -13.2988, 0.0, 0, 0 ]
|
||||
|
||||
|
@ -1099,6 +1109,14 @@ __meta__ = {
|
|||
"_edit_vertical_guides_": [ ]
|
||||
}
|
||||
|
||||
[node name="Hitbox" type="KinematicBody2D" parent="."]
|
||||
collision_layer = 4
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
|
||||
position = Vector2( 12, -64 )
|
||||
shape = SubResource( 11 )
|
||||
|
||||
[node name="ChickenMan" type="Node2D" parent="."]
|
||||
material = SubResource( 1 )
|
||||
|
||||
|
@ -1151,6 +1169,14 @@ offset = Vector2( 0, -6 )
|
|||
region_enabled = true
|
||||
region_rect = Rect2( 0, 0, 16, 12 )
|
||||
|
||||
[node name="BackArmBorder" type="Node2D" parent="ChickenMan/Hip/Body/BackArm"]
|
||||
show_behind_parent = true
|
||||
material = SubResource( 10 )
|
||||
script = ExtResource( 12 )
|
||||
texture = ExtResource( 13 )
|
||||
segments = 4
|
||||
target = NodePath("../HandBack")
|
||||
|
||||
[node name="FrontArm" type="Node2D" parent="ChickenMan/Hip/Body"]
|
||||
use_parent_material = true
|
||||
position = Vector2( -15.3626, -6.5891 )
|
||||
|
@ -1171,6 +1197,14 @@ offset = Vector2( 0, -6 )
|
|||
region_enabled = true
|
||||
region_rect = Rect2( 0, 0, 16, 12 )
|
||||
|
||||
[node name="FrontArmBorder" type="Node2D" parent="ChickenMan/Hip/Body/FrontArm"]
|
||||
show_behind_parent = true
|
||||
material = SubResource( 10 )
|
||||
script = ExtResource( 12 )
|
||||
texture = ExtResource( 13 )
|
||||
segments = 4
|
||||
target = NodePath("../HandFront")
|
||||
|
||||
[node name="Neck" type="Sprite" parent="ChickenMan/Hip/Body"]
|
||||
show_behind_parent = true
|
||||
use_parent_material = true
|
||||
|
@ -1256,6 +1290,11 @@ script = ExtResource( 6 )
|
|||
to = NodePath("../PushedBack")
|
||||
event = "start_push"
|
||||
|
||||
[node name="On PlayerDead" type="Node" parent="StateChart/Root"]
|
||||
script = ExtResource( 6 )
|
||||
to = NodePath("../Roar")
|
||||
event = "player_dead"
|
||||
|
||||
[node name="Roar" type="Node" parent="StateChart/Root"]
|
||||
script = ExtResource( 5 )
|
||||
|
||||
|
@ -1263,6 +1302,7 @@ script = ExtResource( 5 )
|
|||
script = ExtResource( 6 )
|
||||
to = NodePath("../../Chasing")
|
||||
event = "roar_done"
|
||||
guard_expression = "not player_dead"
|
||||
|
||||
[node name="Chasing" type="Node" parent="StateChart/Root"]
|
||||
script = ExtResource( 5 )
|
||||
|
@ -1282,7 +1322,7 @@ script = ExtResource( 5 )
|
|||
|
||||
[node name="On OutOfRange" type="Node" parent="StateChart/Root/Punching"]
|
||||
script = ExtResource( 6 )
|
||||
to = NodePath("../../PunchCooldown")
|
||||
to = NodePath("../../Roar")
|
||||
event = "out_of_range"
|
||||
|
||||
[node name="PunchCooldown" type="Node" parent="StateChart/Root"]
|
||||
|
@ -1290,6 +1330,7 @@ script = ExtResource( 5 )
|
|||
|
||||
[node name="On Cooldown" type="Node" parent="StateChart/Root/PunchCooldown"]
|
||||
script = ExtResource( 6 )
|
||||
to = NodePath("../../Roar")
|
||||
delay = 0.5
|
||||
|
||||
[node name="Shooting" type="Node" parent="StateChart/Root"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue