mirror of
https://github.com/tpawstdio/skyscraperrising.git
synced 2025-06-25 09:34:43 -04:00
Animanted office sprites
This commit is contained in:
parent
8fd498367b
commit
63bde9f37f
8 changed files with 59 additions and 18 deletions
|
@ -1,7 +1,32 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
[gd_scene load_steps=16 format=2]
|
||||
|
||||
[ext_resource path="res://src/room.gd" type="Script" id=1]
|
||||
[ext_resource path="res://assets/Office/office_t0_6_1.png" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/Office/office_t0_1_3.png" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/Office/office_t1_2_3.png" type="Texture" id=3]
|
||||
[ext_resource path="res://assets/Office/office_t0_1_5.png" type="Texture" id=4]
|
||||
[ext_resource path="res://assets/Office/office_t0_1_4.png" type="Texture" id=5]
|
||||
[ext_resource path="res://assets/Office/office_t0_1_6.png" type="Texture" id=6]
|
||||
[ext_resource path="res://assets/Office/office_t0_1_2.png" type="Texture" id=7]
|
||||
[ext_resource path="res://assets/Office/office_t0_1_1.png" type="Texture" id=8]
|
||||
[ext_resource path="res://assets/Office/office_t0_1_0.png" type="Texture" id=9]
|
||||
[ext_resource path="res://assets/Office/office_t1_2_1.png" type="Texture" id=10]
|
||||
[ext_resource path="res://assets/Office/office_t1_2_4.png" type="Texture" id=11]
|
||||
[ext_resource path="res://assets/Office/office_t1_2_2.png" type="Texture" id=12]
|
||||
[ext_resource path="res://assets/Office/office_t1_2_0.png" type="Texture" id=13]
|
||||
[ext_resource path="res://assets/Office/office_t1_2_5.png" type="Texture" id=14]
|
||||
|
||||
[sub_resource type="SpriteFrames" id=1]
|
||||
animations = [ {
|
||||
"frames": [ ExtResource( 13 ), ExtResource( 10 ), ExtResource( 12 ), ExtResource( 3 ), ExtResource( 11 ), ExtResource( 14 ) ],
|
||||
"loop": true,
|
||||
"name": "v2",
|
||||
"speed": 2.0
|
||||
}, {
|
||||
"frames": [ ExtResource( 9 ), ExtResource( 8 ), ExtResource( 7 ), ExtResource( 2 ), ExtResource( 5 ), ExtResource( 4 ), ExtResource( 6 ) ],
|
||||
"loop": true,
|
||||
"name": "v1",
|
||||
"speed": 2.0
|
||||
} ]
|
||||
|
||||
[node name="Office" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
@ -11,5 +36,8 @@ room_expense = 350
|
|||
room_capacity = 1
|
||||
is_rentable = true
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 2 )
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 1 )
|
||||
animation = "v1"
|
||||
frame = 5
|
||||
playing = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue