forked from team-sg/hero-mark-2
starting work on final boss fight
This commit is contained in:
parent
34a466ae71
commit
6888928fbb
8 changed files with 222 additions and 96 deletions
36
objects/enemy/boss/famira.tscn
Normal file
36
objects/enemy/boss/famira.tscn
Normal file
|
@ -0,0 +1,36 @@
|
|||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://objects/enemy/boss/famira.gd" type="Script" id=1]
|
||||
[ext_resource path="res://graphics/enemy/boss/famira-wip.png" type="Texture" id=2]
|
||||
[ext_resource path="res://shaders/beam_cycle.gdshader" type="Shader" id=3]
|
||||
[ext_resource path="res://graphics/enemy/boss/stg_2600/beam_gradient.png" type="Texture" id=4]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=10]
|
||||
shader = ExtResource( 3 )
|
||||
shader_param/cycle_speed = 1.0
|
||||
shader_param/gradient = ExtResource( 4 )
|
||||
|
||||
[node name="Famira" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
material = SubResource( 10 )
|
||||
position = Vector2( 23, -83 )
|
||||
texture = ExtResource( 2 )
|
||||
flip_h = true
|
||||
|
||||
[node name="PunchCast" type="RayCast2D" parent="."]
|
||||
position = Vector2( 0, -32 )
|
||||
enabled = true
|
||||
cast_to = Vector2( -120, 0 )
|
||||
collision_mask = 4
|
||||
collide_with_areas = true
|
||||
collide_with_bodies = false
|
||||
|
||||
[node name="ChaseCast" type="RayCast2D" parent="."]
|
||||
position = Vector2( 0, -16 )
|
||||
enabled = true
|
||||
cast_to = Vector2( -80, 0 )
|
||||
collision_mask = 4
|
||||
collide_with_areas = true
|
||||
collide_with_bodies = false
|
Loading…
Add table
Add a link
Reference in a new issue