2020-07-19 18:36:36 -05:00
|
|
|
[gd_scene load_steps=3 format=2]
|
2020-07-18 17:09:04 -05:00
|
|
|
|
2020-07-18 19:50:16 -05:00
|
|
|
[ext_resource path="res://art/PrismaticWand.png" type="Texture" id=1]
|
2020-07-21 15:00:32 -05:00
|
|
|
[ext_resource path="res://magic/Wands/PrismWand.gd" type="Script" id=2]
|
2020-07-18 17:09:04 -05:00
|
|
|
|
|
|
|
[node name="PrismWand" type="Sprite"]
|
2020-07-21 15:00:32 -05:00
|
|
|
position = Vector2( 1, 0 )
|
2020-07-18 17:09:04 -05:00
|
|
|
rotation = 1.5708
|
|
|
|
texture = ExtResource( 1 )
|
|
|
|
offset = Vector2( 0, -10 )
|
2020-07-19 18:36:36 -05:00
|
|
|
script = ExtResource( 2 )
|
2020-07-18 17:09:04 -05:00
|
|
|
|
2020-07-19 18:36:36 -05:00
|
|
|
[node name="ProjectileSpawn" type="Position2D" parent="."]
|
2020-07-18 17:09:04 -05:00
|
|
|
position = Vector2( 0, -20 )
|
2020-07-19 18:36:36 -05:00
|
|
|
rotation = -1.5708
|
2020-07-18 17:09:04 -05:00
|
|
|
|
|
|
|
[node name="ShootDelay" type="Timer" parent="."]
|
2020-07-21 15:00:32 -05:00
|
|
|
wait_time = 0.2
|
2020-07-19 18:43:58 -05:00
|
|
|
one_shot = true
|