the-crypt/magic/Beams/WaveBeam.tscn
2020-07-21 18:08:31 -05:00

28 lines
803 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://magic/Beams/WaveBeam.gd" type="Script" id=1]
[ext_resource path="res://magic/Beams/KnockbackBeam.png" type="Texture" id=2]
[ext_resource path="res://Sound Effects/WaveProjectile.wav" type="AudioStream" id=3]
[node name="WaveBeam" 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="FireSound" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 3 )