2020-07-20 23:55:16 -05:00
|
|
|
[gd_scene load_steps=3 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://magic/Projectiles/EcoBeam.png" type="Texture" id=1]
|
|
|
|
[ext_resource path="res://magic/Beams/EcoBeam.gd" type="Script" id=2]
|
|
|
|
|
|
|
|
[node name="EcoBeam" type="Node2D"]
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="Beam" type="Sprite" parent="."]
|
|
|
|
position = Vector2( 0, -4 )
|
|
|
|
texture = ExtResource( 1 )
|
|
|
|
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
|
2020-07-21 00:13:31 -05:00
|
|
|
cast_to = Vector2( 400, 0 )
|
2020-07-20 23:55:16 -05:00
|
|
|
|
|
|
|
[node name="End" type="Position2D" parent="."]
|