Нажимная плита
This commit is contained in:
parent
aca884b891
commit
2e5d268f35
5 changed files with 108 additions and 4 deletions
30
sprites/tiles/floor/pressure_plate.tres
Normal file
30
sprites/tiles/floor/pressure_plate.tres
Normal file
|
@ -0,0 +1,30 @@
|
|||
[gd_resource type="SpriteFrames" load_steps=4 format=3 uid="uid://chfnxa71xs3ww"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://duv3fbjw53vtw" path="res://sprites/tiles/floor/pressure_plate.png" id="1_j71no"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_aqux7"]
|
||||
atlas = ExtResource("1_j71no")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vlwdt"]
|
||||
atlas = ExtResource("1_j71no")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
|
||||
[resource]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_aqux7")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_vlwdt")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"pressed",
|
||||
"speed": 5.0
|
||||
}]
|
Loading…
Add table
Add a link
Reference in a new issue