the-crypt/magic/Projectiles/PhantomProjectile.tscn
2020-07-23 19:08:59 -05:00

46 lines
1.3 KiB
Plaintext

[gd_scene load_steps=7 format=2]
[ext_resource path="res://art/PhantomProjectile.png" type="Texture" id=1]
[ext_resource path="res://magic/Projectiles/PhantomProjectile.gd" type="Script" id=2]
[ext_resource path="res://Sound Effects/PhantomProjectile.wav" type="AudioStream" id=3]
[ext_resource path="res://art/light.png" type="Texture" id=4]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 3, 6 )
[sub_resource type="CapsuleShape2D" id=2]
radius = 4.0
height = 7.99999
[node name="PhantomProjectile" type="KinematicBody2D"]
collision_layer = 2147483648
collision_mask = 2
script = ExtResource( 2 )
[node name="Light2D" type="Light2D" parent="."]
texture = ExtResource( 4 )
texture_scale = 0.5
color = Color( 0, 0.321569, 1, 1 )
energy = 2.0
[node name="Sprite" type="Sprite" parent="."]
scale = Vector2( 1.5, 1.5 )
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.5708
shape = SubResource( 1 )
[node name="Area2D" type="Area2D" parent="."]
monitorable = false
collision_layer = 0
collision_mask = 2147483652
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
rotation = 1.5708
shape = SubResource( 2 )
[node name="FireSound" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 3 )
[connection signal="body_entered" from="Area2D" to="." method="_on_body_entered"]