41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://Sprites/Assets/Light.png" type="Texture" id=1]
|
|
[ext_resource path="res://Enemies/Projectiles/Glowing Fireball.gd" type="Script" id=2]
|
|
[ext_resource path="res://Sprites/Enemies/Projectiles/Glowing_Fireball.png" type="Texture" id=3]
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
radius = 12.0
|
|
|
|
[node name="Glowing Fireball" type="Area2D" groups=["enemy_projectile_1"]]
|
|
light_mask = 0
|
|
scale = Vector2( 0.5, 0.5 )
|
|
collision_layer = 0
|
|
collision_mask = 2
|
|
input_pickable = false
|
|
monitoring = false
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
visible = false
|
|
light_mask = 0
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Light" type="Light2D" parent="."]
|
|
texture = ExtResource( 1 )
|
|
texture_scale = 0.3
|
|
color = Color( 0.984314, 0.282353, 0.211765, 1 )
|
|
energy = 1.5
|
|
range_item_cull_mask = 15
|
|
shadow_item_cull_mask = 0
|
|
|
|
[node name="Lifetime" type="Timer" parent="."]
|
|
wait_time = 1.5
|
|
one_shot = true
|
|
autostart = true
|
|
|
|
[connection signal="timeout" from="Lifetime" to="." method="_on_lifetime_timeout"]
|