mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-15 17:53:47 +00:00
Chairs and filing cabinets
This commit is contained in:
parent
006cfcacdd
commit
f46d3ad994
22 changed files with 629 additions and 236 deletions
|
|
@ -1,93 +1,9 @@
|
|||
[gd_scene load_steps=15 format=3 uid="uid://bjb1xv0ny1qim"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://bjb1xv0ny1qim"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c8rj2wjj7ho3j" path="res://Sprites/Props/Chair.png" id="1_a0rvv"]
|
||||
[ext_resource type="Script" uid="uid://0hfmpf6i0icv" path="res://Scripts/Actors/Chair.cs" id="1_yxrrg"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://sg77hbw6lo6r" path="res://Resources/Sprites/Chair.tres" id="2_eq5fp"]
|
||||
[ext_resource type="Script" uid="uid://rlevd6krqglv" path="res://Scripts/Components/SpriteAnimationStartupRotator.cs" id="3_eq5fp"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_yxrrg"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_eq5fp"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vlpit"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hgjbl"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3qtkp"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ge7ok"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_t37n8"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(48, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fu0sf"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(48, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_hgjbl"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_yxrrg")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Down",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_eq5fp")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_vlpit")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hgjbl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_3qtkp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ge7ok")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_t37n8")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Spin",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fu0sf")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Up",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_a0rvv"]
|
||||
size = Vector2(7, 10)
|
||||
|
||||
|
|
@ -101,7 +17,7 @@ script = ExtResource("1_yxrrg")
|
|||
SpinTime = 1.0
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_hgjbl")
|
||||
sprite_frames = ExtResource("2_eq5fp")
|
||||
animation = &"Down"
|
||||
script = ExtResource("3_eq5fp")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue