26 lines
895 B
Plaintext
26 lines
895 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://d1k6v4vsiebym"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/missile.gd" id="1_mehcn"]
|
|
[ext_resource type="Texture2D" uid="uid://b7o2hcw00iic0" path="res://Assets/Missile_art1.png" id="1_o2mt4"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_680qv"]
|
|
size = Vector2(10, 52)
|
|
|
|
[node name="Missile" type="Area2D"]
|
|
collision_layer = 8
|
|
collision_mask = 5
|
|
script = ExtResource("1_mehcn")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1_o2mt4")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, -17)
|
|
shape = SubResource("RectangleShape2D_680qv")
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
|
polygon = PackedVector2Array(-3, -8, -88, -161, 95, -161, 3, -8)
|
|
disabled = true
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|