forked from team-sg/hero-mark-2
file select and file creation, menus glued together
This commit is contained in:
parent
13708b4046
commit
f7496c5e6f
18 changed files with 754 additions and 47 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=10 format=2]
|
||||
[gd_scene load_steps=11 format=2]
|
||||
|
||||
[ext_resource path="res://shaders/recolor_border.shader" type="Shader" id=1]
|
||||
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=2]
|
||||
|
@ -6,6 +6,7 @@
|
|||
[ext_resource path="res://ui/theme.tres" type="Theme" id=4]
|
||||
[ext_resource path="res://objects/collectibles/shard.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://menus/file_select_panel.gd" type="Script" id=6]
|
||||
[ext_resource path="res://graphics/hud/deaths_head.png" type="Texture" id=7]
|
||||
[ext_resource path="res://graphics/player/sg_idle.png" type="Texture" id=8]
|
||||
[ext_resource path="res://graphics/player/palettes/default.png" type="Texture" id=9]
|
||||
|
||||
|
@ -17,12 +18,9 @@ shader_param/palette = ExtResource( 9 )
|
|||
|
||||
[node name="Panel" type="Panel"]
|
||||
margin_right = 72.0
|
||||
margin_bottom = 64.0
|
||||
margin_bottom = 72.0
|
||||
theme = ExtResource( 4 )
|
||||
script = ExtResource( 6 )
|
||||
__meta__ = {
|
||||
"_edit_group_": true
|
||||
}
|
||||
|
||||
[node name="FileNumber" type="Label" parent="."]
|
||||
material = ExtResource( 2 )
|
||||
|
@ -32,7 +30,9 @@ theme = ExtResource( 4 )
|
|||
text = "file1"
|
||||
align = 1
|
||||
|
||||
[node name="FileExists" type="Node2D" parent="."]
|
||||
[node name="FileExists" type="Control" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Name" type="Label" parent="FileExists"]
|
||||
unique_name_in_owner = true
|
||||
|
@ -46,12 +46,20 @@ align = 1
|
|||
[node name="TimeCounter" type="Label" parent="FileExists"]
|
||||
unique_name_in_owner = true
|
||||
margin_left = 3.0
|
||||
margin_top = 50.0
|
||||
margin_top = 58.0
|
||||
margin_right = 69.0
|
||||
margin_bottom = 60.0
|
||||
margin_bottom = 68.0
|
||||
text = "00:00"
|
||||
align = 1
|
||||
|
||||
[node name="DeathCounter" type="Label" parent="FileExists"]
|
||||
unique_name_in_owner = true
|
||||
margin_left = 25.0
|
||||
margin_top = 47.0
|
||||
margin_right = 56.0
|
||||
margin_bottom = 57.0
|
||||
text = "0000"
|
||||
|
||||
[node name="Palette" type="TextureRect" parent="FileExists"]
|
||||
material = SubResource( 1 )
|
||||
margin_left = 8.0
|
||||
|
@ -83,7 +91,11 @@ position = Vector2( 32, 23 )
|
|||
[node name="Key" parent="FileExists" instance=ExtResource( 3 )]
|
||||
position = Vector2( 32, 34 )
|
||||
|
||||
[node name="FileDoesNotExist" type="Node2D" parent="."]
|
||||
[node name="DeathsHead" type="Sprite" parent="FileExists"]
|
||||
position = Vector2( 21, 52 )
|
||||
texture = ExtResource( 7 )
|
||||
|
||||
[node name="FileDoesNotExist" type="Control" parent="."]
|
||||
visible = false
|
||||
|
||||
[node name="Label" type="Label" parent="FileDoesNotExist"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue