forked from team-sg/hero-mark-2
added sound test
This commit is contained in:
parent
79667b593c
commit
f14e8ebdd0
21 changed files with 734 additions and 2 deletions
30
menus/back_button.tscn
Normal file
30
menus/back_button.tscn
Normal file
|
@ -0,0 +1,30 @@
|
|||
[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="Button" 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 )
|
Loading…
Add table
Add a link
Reference in a new issue