Initial repo
This commit is contained in:
30
Scenes/enemy_laser.tscn
Normal file
30
Scenes/enemy_laser.tscn
Normal file
@@ -0,0 +1,30 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://b7f571cxmtnrg"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/enemy_laser.gd" id="1_8v0e3"]
|
||||
[ext_resource type="Texture2D" uid="uid://drigokboj4r5u" path="res://Assets/Enemy_Laser.png" id="1_ejt2f"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_w6ao2"]
|
||||
radius = 4.0
|
||||
height = 80.0
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_mii0d"]
|
||||
radius = 4.0
|
||||
height = 80.0
|
||||
|
||||
[node name="Area2D" type="Area2D"]
|
||||
collision_layer = 16
|
||||
collision_mask = 3
|
||||
script = ExtResource("1_8v0e3")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_ejt2f")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(-63, 1)
|
||||
shape = SubResource("CapsuleShape2D_w6ao2")
|
||||
|
||||
[node name="CollisionShape2D2" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(61, 1)
|
||||
shape = SubResource("CapsuleShape2D_mii0d")
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||||
Reference in New Issue
Block a user