[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="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"]