boss projectile graphics and damage

This commit is contained in:
Haze Weathers 2023-02-20 00:29:01 -05:00
parent 5d7a5a1d29
commit 951bac1d63
7 changed files with 163 additions and 5 deletions

BIN
graphics/particles/goo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/goo.png-02802c5ed00e67c8421d72a2c9c229ca.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://graphics/particles/goo.png"
dest_files=[ "res://.import/goo.png-02802c5ed00e67c8421d72a2c9c229ca.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/goo_back.png-4ac48bbcb9cbbc9966601896a0aabf9d.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://graphics/particles/goo_back.png"
dest_files=[ "res://.import/goo_back.png-4ac48bbcb9cbbc9966601896a0aabf9d.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/goo_trail.png-f255c69fac10319a6308214fbd2f5bb5.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://graphics/particles/goo_trail.png"
dest_files=[ "res://.import/goo_trail.png-f255c69fac10319a6308214fbd2f5bb5.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

@ -1,11 +1,64 @@
[gd_scene load_steps=2 format=2]
[gd_scene load_steps=8 format=2]
[ext_resource path="res://objects/enemy/boss/boss1_projectile.gd" type="Script" id=1]
[ext_resource path="res://graphics/particles/goo_back.png" type="Texture" id=2]
[ext_resource path="res://graphics/particles/goo_trail.png" type="Texture" id=3]
[ext_resource path="res://graphics/particles/goo.png" type="Texture" id=4]
[sub_resource type="Curve" id=2]
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="Curve" id=3]
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 4, 4 )
[node name="Boss1Projectile" type="Node2D"]
script = ExtResource( 1 )
[node name="ColorRect" type="ColorRect" parent="."]
margin_right = 8.0
margin_bottom = 8.0
color = Color( 1, 0, 0, 1 )
[node name="GooTrail" type="CPUParticles2D" parent="."]
z_index = -1
local_coords = false
texture = ExtResource( 3 )
emission_shape = 2
emission_rect_extents = Vector2( 2, 2 )
spread = 180.0
gravity = Vector2( 0, 0 )
initial_velocity = 16.0
angle = 720.0
angle_random = 1.0
scale_amount = 0.5
scale_amount_curve = SubResource( 2 )
[node name="GoodBackground" type="CPUParticles2D" parent="."]
amount = 16
texture = ExtResource( 2 )
emission_shape = 2
emission_rect_extents = Vector2( 2, 2 )
gravity = Vector2( 0, 0 )
angular_velocity = 180.0
angular_velocity_random = 1.0
angle = 720.0
angle_random = 1.0
scale_amount_curve = SubResource( 3 )
[node name="GooForeground" type="CPUParticles2D" parent="."]
lifetime = 0.5
texture = ExtResource( 4 )
emission_shape = 2
emission_rect_extents = Vector2( 2, 2 )
gravity = Vector2( 0, 0 )
angular_velocity = 180.0
angular_velocity_random = 1.0
angle = 720.0
angle_random = 1.0
scale_amount = 0.5
scale_amount_curve = SubResource( 3 )
[node name="Hitbox" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
shape = SubResource( 1 )
[connection signal="area_entered" from="Hitbox" to="." method="_on_Hitbox_area_entered"]