Tweaked door sprites

This commit is contained in:
Marco 2025-03-25 10:26:53 +01:00
commit f962c21e84
13 changed files with 179 additions and 96 deletions

View file

@ -1,70 +1,70 @@
[gd_scene load_steps=26 format=3 uid="uid://l84on3kv2s52"]
[ext_resource type="Script" uid="uid://dwry0643yvdiv" path="res://Scripts/Door.cs" id="1_emfh4"]
[ext_resource type="Texture2D" uid="uid://d4ialp36plt7v" path="res://Sprites/Actors/Doors/horizontal_door_1.png" id="2_2h3ih"]
[ext_resource type="Texture2D" uid="uid://desg0e2phtw50" path="res://Sprites/HorizontalDoor.png" id="2_rnx3o"]
[ext_resource type="Texture2D" uid="uid://drllk3ld56b2u" path="res://Sprites/Actors/Doors/horizontal_door_3.png" id="2_nw4l4"]
[ext_resource type="Script" uid="uid://bbuhaam28lwld" path="res://Scripts/Components/Actors/DoorSpriteComponent.cs" id="3_spifk"]
[ext_resource type="AudioStream" uid="uid://dmsnvo8kdjyt8" path="res://SFX/517603__gurkboll__sony_dat_tcd-d10_pro_door_close.wav" id="4_4t32u"]
[ext_resource type="Script" uid="uid://crpkvxepkcrir" path="res://Scripts/Components/Actors/ForceFieldCollisionDisabler.cs" id="4_nw4l4"]
[ext_resource type="Texture2D" uid="uid://ce14kw0x4ynr0" path="res://Sprites/Actors/Doors/Basic_Door_Frame.png" id="5_nw4l4"]
[ext_resource type="AudioStream" uid="uid://p5n7ijw2qvxy" path="res://SFX/517603__gurkboll__sony_dat_tcd-d10_pro_door_open.wav" id="5_spifk"]
[sub_resource type="AtlasTexture" id="AtlasTexture_2qgx7"]
atlas = ExtResource("2_2h3ih")
[sub_resource type="AtlasTexture" id="AtlasTexture_fl7ln"]
atlas = ExtResource("2_nw4l4")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_w2qco"]
atlas = ExtResource("2_2h3ih")
[sub_resource type="AtlasTexture" id="AtlasTexture_ncp2n"]
atlas = ExtResource("2_nw4l4")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_3xj8k"]
atlas = ExtResource("2_2h3ih")
[sub_resource type="AtlasTexture" id="AtlasTexture_7aoj5"]
atlas = ExtResource("2_nw4l4")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ics4i"]
atlas = ExtResource("2_2h3ih")
[sub_resource type="AtlasTexture" id="AtlasTexture_6ae2y"]
atlas = ExtResource("2_nw4l4")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_1nga0"]
atlas = ExtResource("2_2h3ih")
[sub_resource type="AtlasTexture" id="AtlasTexture_0msij"]
atlas = ExtResource("2_nw4l4")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_0bwul"]
atlas = ExtResource("2_2h3ih")
[sub_resource type="AtlasTexture" id="AtlasTexture_mi0bi"]
atlas = ExtResource("2_nw4l4")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_nu0m6"]
atlas = ExtResource("2_2h3ih")
[sub_resource type="AtlasTexture" id="AtlasTexture_q7fjo"]
atlas = ExtResource("2_nw4l4")
region = Rect2(160, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_4m6na"]
atlas = ExtResource("2_2h3ih")
[sub_resource type="AtlasTexture" id="AtlasTexture_8ovef"]
atlas = ExtResource("2_nw4l4")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_th1qr"]
atlas = ExtResource("2_2h3ih")
[sub_resource type="AtlasTexture" id="AtlasTexture_164qi"]
atlas = ExtResource("2_nw4l4")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_br2ct"]
atlas = ExtResource("2_2h3ih")
[sub_resource type="AtlasTexture" id="AtlasTexture_xtvt2"]
atlas = ExtResource("2_nw4l4")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ektml"]
atlas = ExtResource("2_2h3ih")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_m0l4n"]
atlas = ExtResource("2_2h3ih")
[sub_resource type="AtlasTexture" id="AtlasTexture_8ia80"]
atlas = ExtResource("2_nw4l4")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_hcys5"]
atlas = ExtResource("2_2h3ih")
[sub_resource type="AtlasTexture" id="AtlasTexture_okbwa"]
atlas = ExtResource("2_nw4l4")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_31wbl"]
atlas = ExtResource("2_nw4l4")
region = Rect2(160, 0, 32, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_keeml"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_2qgx7")
"texture": SubResource("AtlasTexture_fl7ln")
}],
"loop": true,
"name": &"Closed",
@ -72,19 +72,19 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_w2qco")
"texture": SubResource("AtlasTexture_ncp2n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3xj8k")
"texture": SubResource("AtlasTexture_7aoj5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ics4i")
"texture": SubResource("AtlasTexture_6ae2y")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1nga0")
"texture": SubResource("AtlasTexture_0msij")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0bwul")
"texture": SubResource("AtlasTexture_mi0bi")
}],
"loop": false,
"name": &"Closing",
@ -92,7 +92,7 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_nu0m6")
"texture": SubResource("AtlasTexture_q7fjo")
}],
"loop": true,
"name": &"Destroyed",
@ -100,7 +100,7 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_4m6na")
"texture": SubResource("AtlasTexture_8ovef")
}],
"loop": true,
"name": &"Open",
@ -108,19 +108,19 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_th1qr")
"texture": SubResource("AtlasTexture_164qi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_br2ct")
"texture": SubResource("AtlasTexture_xtvt2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ektml")
"texture": SubResource("AtlasTexture_8ia80")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m0l4n")
"texture": SubResource("AtlasTexture_okbwa")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hcys5")
"texture": SubResource("AtlasTexture_31wbl")
}],
"loop": false,
"name": &"Opening",
@ -133,15 +133,15 @@ size = Vector2(36, 32)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f2rl6"]
size = Vector2(36, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_o7w0f"]
atlas = ExtResource("2_rnx3o")
region = Rect2(0, 96, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_yxvm8"]
atlas = ExtResource("5_nw4l4")
region = Rect2(0, 0, 32, 34)
[sub_resource type="SpriteFrames" id="SpriteFrames_8stvs"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_o7w0f")
"texture": SubResource("AtlasTexture_yxvm8")
}],
"loop": true,
"name": &"default",
@ -156,7 +156,7 @@ metadata/_edit_group_ = true
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_keeml")
animation = &"Closed"
animation = &"Opening"
script = ExtResource("3_spifk")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." node_paths=PackedStringArray("_door")]
@ -178,6 +178,7 @@ _door = NodePath("../..")
[node name="DoorFrame" type="AnimatedSprite2D" parent="."]
z_index = 1
position = Vector2(0, -1)
sprite_frames = SubResource("SpriteFrames_8stvs")
[node name="ActivationSound" type="AudioStreamPlayer2D" parent="."]