Added enemy sprites
This commit is contained in:
@@ -1,14 +1,8 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://cye5ndbh0ht7w"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://cye5ndbh0ht7w"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dwsn0lf1e3578" path="res://game/entities/ships/enemies/abstract_enemy_ship.tscn" id="1_16owb"]
|
||||
[ext_resource type="Script" uid="uid://dcpqrdvp4nk82" path="res://game/entities/ships/enemies/medium/medium_enemy_ship.gd" id="2_dgwiy"]
|
||||
|
||||
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_4jmkv"]
|
||||
size = Vector2(32, 48)
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_4jmkv"]
|
||||
radius = 15.0
|
||||
height = 46.0
|
||||
[ext_resource type="Texture2D" uid="uid://dkwvm246s0wnd" path="res://images/ships/enemies/medium.png" id="3_d2xji"]
|
||||
|
||||
[node name="MediumEnemyShip" instance=ExtResource("1_16owb")]
|
||||
script = ExtResource("2_dgwiy")
|
||||
@@ -18,10 +12,10 @@ max_speed = 92
|
||||
mass = 250
|
||||
|
||||
[node name="Sprite2D" parent="." index="0"]
|
||||
texture = SubResource("PlaceholderTexture2D_4jmkv")
|
||||
texture = ExtResource("3_d2xji")
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="1"]
|
||||
shape = SubResource("CapsuleShape2D_4jmkv")
|
||||
[node name="CollisionPolygon2D" parent="." index="1"]
|
||||
polygon = PackedVector2Array(-23, -2, -12, -13, -6, -15, 22, -15, 23, -14, 23, 14, 22, 15, -6, 15, -12, 13, -23, 2)
|
||||
|
||||
[node name="Health" parent="." index="2"]
|
||||
max_hull = 100
|
||||
@@ -34,7 +28,7 @@ offset_bottom = 30.0
|
||||
rect = Rect2(-13, -21, 26, 42)
|
||||
|
||||
[node name="First" type="Node2D" parent="WeaponSlots" index="0"]
|
||||
position = Vector2(0, -10)
|
||||
position = Vector2(4, -8)
|
||||
|
||||
[node name="Second" type="Node2D" parent="WeaponSlots" index="1"]
|
||||
position = Vector2(0, 10)
|
||||
position = Vector2(4, 8)
|
||||
|
||||
Reference in New Issue
Block a user