Added enemy sprites
This commit is contained in:
@@ -1,14 +1,8 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://d3epy8w15qmjm"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://d3epy8w15qmjm"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dwsn0lf1e3578" path="res://game/entities/ships/enemies/abstract_enemy_ship.tscn" id="1_wvvpj"]
|
||||
[ext_resource type="Script" uid="uid://cxomr1oojcrcl" path="res://game/entities/ships/enemies/heavy/heavy_enemy_ship.gd" id="2_3umer"]
|
||||
|
||||
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_cuapu"]
|
||||
size = Vector2(64, 48)
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_cuapu"]
|
||||
radius = 23.0
|
||||
height = 62.0
|
||||
[ext_resource type="Texture2D" uid="uid://5cgq8o5oqunq" path="res://images/ships/enemies/heavy.png" id="3_xqe8d"]
|
||||
|
||||
[node name="HeavyEnemyShip" instance=ExtResource("1_wvvpj")]
|
||||
script = ExtResource("2_3umer")
|
||||
@@ -18,11 +12,10 @@ max_speed = 60
|
||||
mass = 600
|
||||
|
||||
[node name="Sprite2D" parent="." index="0"]
|
||||
texture = SubResource("PlaceholderTexture2D_cuapu")
|
||||
texture = ExtResource("3_xqe8d")
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="1"]
|
||||
rotation = 1.5707964
|
||||
shape = SubResource("CapsuleShape2D_cuapu")
|
||||
[node name="CollisionPolygon2D" parent="." index="1"]
|
||||
polygon = PackedVector2Array(-31, 2, -31, -2, -17, -19, -11, -22, 8, -23, 30, -23, 30, 23, 8, 23, -11, 22, -17, 19)
|
||||
|
||||
[node name="Health" parent="." index="2"]
|
||||
max_hull = 200
|
||||
@@ -35,9 +28,10 @@ offset_bottom = 30.0
|
||||
rect = Rect2(-29, -21, 58, 42)
|
||||
|
||||
[node name="First" type="Node2D" parent="WeaponSlots" index="0"]
|
||||
position = Vector2(0, -13)
|
||||
position = Vector2(-8, 0)
|
||||
|
||||
[node name="Second" type="Node2D" parent="WeaponSlots" index="1"]
|
||||
position = Vector2(8, -16)
|
||||
|
||||
[node name="Third" type="Node2D" parent="WeaponSlots" index="2"]
|
||||
position = Vector2(0, 13)
|
||||
position = Vector2(8, 16)
|
||||
|
||||
Reference in New Issue
Block a user