30 lines
820 B
Text
30 lines
820 B
Text
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://graphics/hud/back.png" type="Texture" id=1]
|
|
[ext_resource path="res://graphics/hud/back_dim.png" type="Texture" id=2]
|
|
[ext_resource path="res://menus/back_button.gd" type="Script" id=3]
|
|
|
|
[sub_resource type="Theme" id=1]
|
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
atlas = ExtResource( 1 )
|
|
region = Rect2( 0, 0, 26, 33 )
|
|
|
|
[sub_resource type="SpriteFrames" id=3]
|
|
animations = [ {
|
|
"frames": [ SubResource( 2 ), ExtResource( 2 ) ],
|
|
"loop": true,
|
|
"name": "default",
|
|
"speed": 5.0
|
|
} ]
|
|
|
|
[node name="Back" type="TextureButton"]
|
|
margin_right = 52.0
|
|
margin_bottom = 33.0
|
|
theme = SubResource( 1 )
|
|
texture_normal = ExtResource( 1 )
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
|
position = Vector2( 13, 17 )
|
|
frames = SubResource( 3 )
|