-
Notifications
You must be signed in to change notification settings - Fork 0
/
FrenchLaser.tscn
28 lines (21 loc) · 976 Bytes
/
FrenchLaser.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Projectile.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Items/FrenchLaser.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 6, 1.5 )
[node name="FrenchLaser" type="Area2D"]
collision_mask = 4
script = ExtResource( 1 )
bullet_gravity = 0
bullet_friction = 0
hit_owner = "french_laser"
damage = 2
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, -0.5 )
shape = SubResource( 4 )
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
[connection signal="area_entered" from="." to="." method="_on_Projectile_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_Projectile_body_entered"]
[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]