Added minelayer textures
This commit is contained in:
@@ -1,18 +1,123 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://j3yht6q4ru4e"]
|
||||
[gd_scene load_steps=21 format=3 uid="uid://j3yht6q4ru4e"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://1o2ta17yc5bp" path="res://game/entities/weapons/abstract_weapon.tscn" id="1_12l3k"]
|
||||
[ext_resource type="PackedScene" uid="uid://4mkklqt1g14f" path="res://game/entities/weapons/minelayer/minelayer_projectile.tscn" id="2_7y446"]
|
||||
[ext_resource type="Script" uid="uid://c3ckkpjaef5jn" path="res://game/entities/weapons/minelayer/minelayer_weapon.gd" id="2_mmhtn"]
|
||||
[ext_resource type="Script" uid="uid://ccpriilfr3kme" path="res://game/reloaders/abstract_reloader.gd" id="3_uotj8"]
|
||||
[ext_resource type="Script" uid="uid://b255rb32vc6co" path="res://game/reloaders/firerate_reloader.gd" id="4_fbmxv"]
|
||||
[ext_resource type="Texture2D" uid="uid://6hh66k8s4a1e" path="res://images/weapons.png" id="6_ais8e"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_uotj8"]
|
||||
script = ExtResource("4_fbmxv")
|
||||
firerate = 40
|
||||
metadata/_custom_type_script = "uid://b255rb32vc6co"
|
||||
|
||||
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_dra6h"]
|
||||
size = Vector2(10, 7)
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ais8e"]
|
||||
atlas = ExtResource("6_ais8e")
|
||||
region = Rect2(0, 128, 32, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_a7h2a"]
|
||||
atlas = ExtResource("6_ais8e")
|
||||
region = Rect2(32, 128, 32, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5u2pu"]
|
||||
atlas = ExtResource("6_ais8e")
|
||||
region = Rect2(64, 128, 32, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_iwxdg"]
|
||||
atlas = ExtResource("6_ais8e")
|
||||
region = Rect2(96, 128, 32, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_oyt37"]
|
||||
atlas = ExtResource("6_ais8e")
|
||||
region = Rect2(128, 128, 32, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fvahc"]
|
||||
atlas = ExtResource("6_ais8e")
|
||||
region = Rect2(160, 128, 32, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_6718t"]
|
||||
atlas = ExtResource("6_ais8e")
|
||||
region = Rect2(0, 112, 32, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wwpdh"]
|
||||
atlas = ExtResource("6_ais8e")
|
||||
region = Rect2(32, 112, 32, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_m6clj"]
|
||||
atlas = ExtResource("6_ais8e")
|
||||
region = Rect2(64, 112, 32, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tqqar"]
|
||||
atlas = ExtResource("6_ais8e")
|
||||
region = Rect2(96, 112, 32, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_mq3tp"]
|
||||
atlas = ExtResource("6_ais8e")
|
||||
region = Rect2(128, 112, 32, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8yhut"]
|
||||
atlas = ExtResource("6_ais8e")
|
||||
region = Rect2(160, 112, 32, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_wwpdh"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ais8e")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"enemy_idle",
|
||||
"speed": 10.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_a7h2a")
|
||||
}, {
|
||||
"duration": 10.0,
|
||||
"texture": SubResource("AtlasTexture_5u2pu")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_iwxdg")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_oyt37")
|
||||
}, {
|
||||
"duration": 2.0,
|
||||
"texture": SubResource("AtlasTexture_fvahc")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"enemy_shot",
|
||||
"speed": 10.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_6718t")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"player_idle",
|
||||
"speed": 10.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wwpdh")
|
||||
}, {
|
||||
"duration": 10.0,
|
||||
"texture": SubResource("AtlasTexture_m6clj")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_tqqar")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_mq3tp")
|
||||
}, {
|
||||
"duration": 2.0,
|
||||
"texture": SubResource("AtlasTexture_8yhut")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"player_shot",
|
||||
"speed": 10.0
|
||||
}]
|
||||
|
||||
[node name="MinelayerWeapon" instance=ExtResource("1_12l3k")]
|
||||
script = ExtResource("2_mmhtn")
|
||||
@@ -20,5 +125,8 @@ sector_angle = 10
|
||||
Projectile = ExtResource("2_7y446")
|
||||
reloaders = Array[ExtResource("3_uotj8")]([SubResource("Resource_uotj8")])
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." index="0"]
|
||||
texture = SubResource("PlaceholderTexture2D_dra6h")
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." index="0"]
|
||||
sprite_frames = SubResource("SpriteFrames_wwpdh")
|
||||
animation = &"player_shot"
|
||||
|
||||
[connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_animated_sprite_2d_animation_finished"]
|
||||
|
||||
Reference in New Issue
Block a user