[gd_scene load_steps=6 format=2] [ext_resource path="res://magic/Beams/ExplosiveBeam.gd" type="Script" id=1] [ext_resource path="res://magic/Beams/ExplosiveBeam.png" type="Texture" id=2] [ext_resource path="res://Sound Effects/Explosion.wav" type="AudioStream" id=3] [ext_resource path="res://magic/ExplosionParticles.tscn" type="PackedScene" id=4] [sub_resource type="CircleShape2D" id=1] radius = 50.0 [node name="ExplosiveBeam" type="Node2D"] script = ExtResource( 1 ) [node name="Beam" type="Sprite" parent="."] position = Vector2( 0, -4 ) texture = ExtResource( 2 ) centered = false region_enabled = true region_rect = Rect2( 0, 0, 8, 8 ) [node name="Begin" type="Sprite" parent="."] [node name="RayCast2D" type="RayCast2D" parent="."] enabled = true cast_to = Vector2( 400, 0 ) collision_mask = 6 [node name="End" type="Position2D" parent="."] [node name="Area2D" type="Area2D" parent="End"] monitorable = false collision_layer = 0 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="End/Area2D"] shape = SubResource( 1 ) [node name="Particles2D" parent="End" instance=ExtResource( 4 )] one_shot = false [node name="FireSound" type="AudioStreamPlayer2D" parent="."] stream = ExtResource( 3 )