36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://cbf3kumeoqpba"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dwsn0lf1e3578" path="res://game/entities/ships/enemies/abstract_enemy_ship.tscn" id="1_lt1av"]
|
|
[ext_resource type="Script" uid="uid://btcce3nflycrs" path="res://game/entities/ships/enemies/small/small_enemy_ship.gd" id="2_bw04d"]
|
|
[ext_resource type="Texture2D" uid="uid://5xn5jkmtbn6v" path="res://images/ships/enemies/small.png" id="3_tb2nn"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tb2nn"]
|
|
atlas = ExtResource("3_tb2nn")
|
|
region = Rect2(0, 0, 32, 16)
|
|
|
|
[node name="SmallEnemyShip" instance=ExtResource("1_lt1av")]
|
|
script = ExtResource("2_bw04d")
|
|
acceleration = 180
|
|
deceleration = 80
|
|
max_speed = 120
|
|
mass = 100
|
|
|
|
[node name="Sprite2D" parent="." index="0"]
|
|
texture = SubResource("AtlasTexture_tb2nn")
|
|
|
|
[node name="CollisionPolygon2D" parent="." index="1"]
|
|
polygon = PackedVector2Array(-3, -7, 12, -7, 15, -4, 15, 4, 12, 7, -3, 7, -15, 1, -15, -1)
|
|
|
|
[node name="Health" parent="." index="2"]
|
|
max_hull = 50
|
|
|
|
[node name="HeathBar" parent="." index="3"]
|
|
offset_top = 14.0
|
|
offset_bottom = 14.0
|
|
|
|
[node name="VisibleOnScreenNotifier2D" parent="." index="5"]
|
|
rect = Rect2(-13, -5, 26, 10)
|
|
|
|
[node name="First" type="Node2D" parent="WeaponSlots" index="0"]
|
|
position = Vector2(5, 0)
|