forked from team-sg/hero-mark-2
put more text on menus
This commit is contained in:
parent
f14e8ebdd0
commit
8ba46dc705
23 changed files with 373 additions and 69 deletions
|
@ -1,11 +1,18 @@
|
|||
[gd_scene load_steps=9 format=2]
|
||||
[gd_scene load_steps=17 format=2]
|
||||
|
||||
[ext_resource path="res://menus/file_select_panel.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://menus/level_select_scholar.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=3]
|
||||
[ext_resource path="res://ui/theme.tres" type="Theme" id=4]
|
||||
[ext_resource path="res://menus/back_button.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://graphics/hud/delete_dim.png" type="Texture" id=6]
|
||||
[ext_resource path="res://graphics/hud/delete.png" type="Texture" id=7]
|
||||
[ext_resource path="res://graphics/borders/skaborder.png" type="Texture" id=8]
|
||||
[ext_resource path="res://graphics/hud/file_select_arrow.png" type="Texture" id=9]
|
||||
[ext_resource path="res://menus/file_select.gd" type="Script" id=10]
|
||||
[ext_resource path="res://shaders/ska_plane.gdshader" type="Shader" id=11]
|
||||
[ext_resource path="res://menus/DeleteButton.gd" type="Script" id=12]
|
||||
[ext_resource path="res://menus/main_menu.tscn" type="PackedScene" id=13]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=2]
|
||||
shader = ExtResource( 11 )
|
||||
|
@ -27,6 +34,14 @@ shader_param/cycle_speed = Vector2( -8, 32 )
|
|||
shader_param/cycle_alternation = Vector2( 0, 0 )
|
||||
shader_param/uv_transform = Transform2D( 1, 1.582, 1, 2, 0, 0 )
|
||||
|
||||
[sub_resource type="SpriteFrames" id=4]
|
||||
animations = [ {
|
||||
"frames": [ ExtResource( 7 ), ExtResource( 6 ) ],
|
||||
"loop": true,
|
||||
"name": "default",
|
||||
"speed": 5.0
|
||||
} ]
|
||||
|
||||
[node name="FileSelect" type="Node"]
|
||||
script = ExtResource( 10 )
|
||||
next_scene = ExtResource( 2 )
|
||||
|
@ -52,20 +67,20 @@ margin_bottom = 192.0
|
|||
|
||||
[node name="Panel" parent="." instance=ExtResource( 1 )]
|
||||
margin_left = 12.0
|
||||
margin_top = 64.0
|
||||
margin_top = 48.0
|
||||
margin_right = 84.0
|
||||
margin_bottom = 136.0
|
||||
|
||||
[node name="Panel2" parent="." instance=ExtResource( 1 )]
|
||||
margin_left = 92.0
|
||||
margin_top = 64.0
|
||||
margin_top = 48.0
|
||||
margin_right = 164.0
|
||||
margin_bottom = 136.0
|
||||
number = 2
|
||||
|
||||
[node name="Panel3" parent="." instance=ExtResource( 1 )]
|
||||
margin_left = 172.0
|
||||
margin_top = 64.0
|
||||
margin_top = 48.0
|
||||
margin_right = 244.0
|
||||
margin_bottom = 136.0
|
||||
number = 3
|
||||
|
@ -77,6 +92,7 @@ margin_right = 84.0
|
|||
margin_bottom = 146.0
|
||||
focus_neighbour_left = NodePath("../SelectFile3")
|
||||
focus_neighbour_right = NodePath("../SelectFile2")
|
||||
focus_neighbour_bottom = NodePath("../Back")
|
||||
texture_focused = ExtResource( 9 )
|
||||
expand = true
|
||||
stretch_mode = 3
|
||||
|
@ -88,6 +104,7 @@ margin_right = 164.0
|
|||
margin_bottom = 146.0
|
||||
focus_neighbour_left = NodePath("../SelectFile1")
|
||||
focus_neighbour_right = NodePath("../SelectFile3")
|
||||
focus_neighbour_bottom = NodePath("../Back")
|
||||
texture_focused = ExtResource( 9 )
|
||||
expand = true
|
||||
stretch_mode = 3
|
||||
|
@ -99,10 +116,53 @@ margin_right = 244.0
|
|||
margin_bottom = 146.0
|
||||
focus_neighbour_left = NodePath("../SelectFile2")
|
||||
focus_neighbour_right = NodePath("../SelectFile1")
|
||||
focus_neighbour_bottom = NodePath("../Back")
|
||||
texture_focused = ExtResource( 9 )
|
||||
expand = true
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Back" parent="." instance=ExtResource( 5 )]
|
||||
margin_left = 8.0
|
||||
margin_top = 144.0
|
||||
margin_right = 60.0
|
||||
margin_bottom = 177.0
|
||||
focus_neighbour_top = NodePath("../SelectFile1")
|
||||
focus_neighbour_right = NodePath("../DeleteButton")
|
||||
next_scene = ExtResource( 13 )
|
||||
|
||||
[node name="Description" type="Label" parent="."]
|
||||
material = ExtResource( 3 )
|
||||
margin_top = 8.0
|
||||
margin_right = 256.0
|
||||
margin_bottom = 22.0
|
||||
theme = ExtResource( 4 )
|
||||
text = "Select your destiny"
|
||||
align = 1
|
||||
|
||||
[node name="DeleteButton" type="TextureButton" parent="."]
|
||||
margin_left = 212.0
|
||||
margin_top = 144.0
|
||||
margin_right = 237.0
|
||||
margin_bottom = 178.0
|
||||
focus_neighbour_left = NodePath("../Back")
|
||||
focus_neighbour_top = NodePath("../SelectFile1")
|
||||
texture_normal = ExtResource( 7 )
|
||||
script = ExtResource( 12 )
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="DeleteButton"]
|
||||
position = Vector2( 13, 17 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="FlavorText" type="Label" parent="."]
|
||||
material = ExtResource( 3 )
|
||||
margin_left = 40.0
|
||||
margin_top = 152.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 168.0
|
||||
theme = ExtResource( 4 )
|
||||
text = "Adventure awaits"
|
||||
align = 1
|
||||
|
||||
[connection signal="file_loaded" from="Panel" to="." method="_on_file_loaded"]
|
||||
[connection signal="file_loaded" from="Panel2" to="." method="_on_file_loaded"]
|
||||
[connection signal="file_loaded" from="Panel3" to="." method="_on_file_loaded"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue