mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-08 17:01:17 +00:00
Graphics
This commit is contained in:
parent
b07a8fe60d
commit
54bf15d93d
23 changed files with 313 additions and 75 deletions
|
|
@ -1,53 +1,66 @@
|
|||
[gd_scene load_steps=16 format=3 uid="uid://l84on3kv2s52"]
|
||||
[gd_scene load_steps=22 format=3 uid="uid://l84on3kv2s52"]
|
||||
|
||||
[ext_resource type="Script" 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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_awtxv"]
|
||||
atlas = ExtResource("2_rnx3o")
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2qgx7"]
|
||||
atlas = ExtResource("2_2h3ih")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ocjdv"]
|
||||
atlas = ExtResource("2_rnx3o")
|
||||
region = Rect2(0, 96, 32, 32)
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_w2qco"]
|
||||
atlas = ExtResource("2_2h3ih")
|
||||
region = Rect2(128, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_we0if"]
|
||||
atlas = ExtResource("2_rnx3o")
|
||||
region = Rect2(0, 64, 32, 32)
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3xj8k"]
|
||||
atlas = ExtResource("2_2h3ih")
|
||||
region = Rect2(96, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_em3e7"]
|
||||
atlas = ExtResource("2_rnx3o")
|
||||
region = Rect2(0, 32, 32, 32)
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ics4i"]
|
||||
atlas = ExtResource("2_2h3ih")
|
||||
region = Rect2(64, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fehs4"]
|
||||
atlas = ExtResource("2_rnx3o")
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1nga0"]
|
||||
atlas = ExtResource("2_2h3ih")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0bwul"]
|
||||
atlas = ExtResource("2_2h3ih")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_g8abm"]
|
||||
atlas = ExtResource("2_rnx3o")
|
||||
region = Rect2(0, 96, 32, 32)
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nu0m6"]
|
||||
atlas = ExtResource("2_2h3ih")
|
||||
region = Rect2(160, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8tyvt"]
|
||||
atlas = ExtResource("2_rnx3o")
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_4m6na"]
|
||||
atlas = ExtResource("2_2h3ih")
|
||||
region = Rect2(128, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_th1qr"]
|
||||
atlas = ExtResource("2_2h3ih")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_o1fq1"]
|
||||
atlas = ExtResource("2_rnx3o")
|
||||
region = Rect2(0, 32, 32, 32)
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_br2ct"]
|
||||
atlas = ExtResource("2_2h3ih")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wvr8p"]
|
||||
atlas = ExtResource("2_rnx3o")
|
||||
region = Rect2(0, 64, 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_t3pwa"]
|
||||
atlas = ExtResource("2_rnx3o")
|
||||
region = Rect2(0, 96, 32, 32)
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_m0l4n"]
|
||||
atlas = ExtResource("2_2h3ih")
|
||||
region = Rect2(96, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hcys5"]
|
||||
atlas = ExtResource("2_2h3ih")
|
||||
region = Rect2(128, 0, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_keeml"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_awtxv")
|
||||
"texture": SubResource("AtlasTexture_2qgx7")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Closed",
|
||||
|
|
@ -55,16 +68,19 @@ animations = [{
|
|||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ocjdv")
|
||||
"texture": SubResource("AtlasTexture_w2qco")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_we0if")
|
||||
"texture": SubResource("AtlasTexture_3xj8k")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_em3e7")
|
||||
"texture": SubResource("AtlasTexture_ics4i")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fehs4")
|
||||
"texture": SubResource("AtlasTexture_1nga0")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_0bwul")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"Closing",
|
||||
|
|
@ -72,7 +88,15 @@ animations = [{
|
|||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_g8abm")
|
||||
"texture": SubResource("AtlasTexture_nu0m6")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Destroyed",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_4m6na")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Open",
|
||||
|
|
@ -80,16 +104,19 @@ animations = [{
|
|||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_8tyvt")
|
||||
"texture": SubResource("AtlasTexture_th1qr")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_o1fq1")
|
||||
"texture": SubResource("AtlasTexture_br2ct")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wvr8p")
|
||||
"texture": SubResource("AtlasTexture_ektml")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_t3pwa")
|
||||
"texture": SubResource("AtlasTexture_m0l4n")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hcys5")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"Opening",
|
||||
|
|
@ -102,6 +129,21 @@ size = Vector2(32, 32)
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f2rl6"]
|
||||
size = Vector2(32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_o7w0f"]
|
||||
atlas = ExtResource("2_rnx3o")
|
||||
region = Rect2(0, 96, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_8stvs"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_o7w0f")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="HorizontalDoor" type="Area2D" groups=["Solid"]]
|
||||
collision_layer = 64
|
||||
collision_mask = 154
|
||||
|
|
@ -110,7 +152,7 @@ metadata/_edit_group_ = true
|
|||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_keeml")
|
||||
animation = &"Open"
|
||||
animation = &"Closed"
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
|
|
@ -125,4 +167,8 @@ gravity_scale = 0.0
|
|||
visible = false
|
||||
shape = SubResource("RectangleShape2D_f2rl6")
|
||||
|
||||
[node name="DoorFrame" type="AnimatedSprite2D" parent="."]
|
||||
z_index = 1
|
||||
sprite_frames = SubResource("SpriteFrames_8stvs")
|
||||
|
||||
[connection signal="animation_changed" from="AnimatedSprite2D" to="." method="_on_animated_sprite_2d_animation_changed"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue