37 lines
1.7 KiB
Text
37 lines
1.7 KiB
Text
[gd_scene load_steps=9 format=3 uid="uid://dms0cw7opfd64"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://csacin2gx2tum" path="res://scenes/spaceShip/spaceShip.tscn" id="1_bm7fr"]
|
|
[ext_resource type="Script" uid="uid://m3hn5tl2nidk" path="res://scenes/spaceShip/timeGhost/timeghost.gd" id="2_57067"]
|
|
[ext_resource type="PackedScene" uid="uid://eqo7k2ronf8k" path="res://scenes/areas/damageArea/damageArea.tscn" id="3_5nmba"]
|
|
[ext_resource type="Texture2D" uid="uid://cd5anydes4tv3" path="res://assets/player/shotgunShip.png" id="3_37yrs"]
|
|
[ext_resource type="Texture2D" uid="uid://dlahm782n0awk" path="res://assets/player/minigunShip.png" id="4_s1boh"]
|
|
[ext_resource type="Texture2D" uid="uid://dhbn4acw1a6eu" path="res://assets/player/railgunShip.png" id="5_1tvm6"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5nmba"]
|
|
size = Vector2(50, 50)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_m3s7j"]
|
|
size = Vector2(50, 50)
|
|
|
|
[node name="Timeghost" groups=["timeGhost"] instance=ExtResource("1_bm7fr")]
|
|
modulate = Color(0.54902, 1, 1, 0.588235)
|
|
collision_layer = 20
|
|
script = ExtResource("2_57067")
|
|
shotgunTexture = ExtResource("3_37yrs")
|
|
minigunTexture = ExtResource("4_s1boh")
|
|
railgunTexture = ExtResource("5_1tvm6")
|
|
invincible = true
|
|
|
|
[node name="CollisionShape2D" parent="." index="0"]
|
|
shape = SubResource("RectangleShape2D_5nmba")
|
|
disabled = true
|
|
|
|
[node name="DamageArea" parent="." index="4" instance=ExtResource("3_5nmba")]
|
|
|
|
[node name="CollisionShape2D" parent="DamageArea" index="0"]
|
|
shape = SubResource("RectangleShape2D_m3s7j")
|
|
|
|
[connection signal="area_entered" from="DamageArea" to="." method="_on_damage_area_area_entered"]
|
|
|
|
[editable path="hurtArea"]
|
|
[editable path="DamageArea"]
|