feature/update-main-ui (#66)

Co-authored-by: stilobique-i7 <aurelienvlt@free.fr>
Co-authored-by: VAILLANT Jeremy <vaillant.jeremy@dev-crea.com>
Reviewed-on: Athena/game-source#66
Co-authored-by: darknight <vaillant.jeremy@dev-crea.com>
Co-committed-by: darknight <vaillant.jeremy@dev-crea.com>
This commit is contained in:
darknight
2021-06-03 22:18:50 +02:00
parent 1c45fac8cb
commit 0debe0d2d3
38 changed files with 676 additions and 285 deletions
+16 -60
View File
@@ -1,78 +1,22 @@
[gd_scene load_steps=12 format=2]
[gd_scene load_steps=7 format=2]
[ext_resource path="res://scenes/main.gd" type="Script" id=1]
[ext_resource path="res://scenes/UI/title/UI_title.tscn" type="PackedScene" id=2]
[ext_resource path="res://scenes/UI/choose_scenes/ChooseScene.tscn" type="PackedScene" id=3]
[ext_resource path="res://scenes/UI/settings/Settings.tscn" type="PackedScene" id=4]
[ext_resource path="res://assets/ui/themes/bck.jpg" type="Texture" id=6]
[ext_resource path="res://scenes/UI/Background.tscn" type="PackedScene" id=5]
[ext_resource path="res://scenes/UI/UI_summary.tscn" type="PackedScene" id=8]
[sub_resource type="VisualShaderNodeInput" id=1]
input_name = "screen_uv"
[sub_resource type="VisualShaderNodeTexture" id=2]
texture = ExtResource( 6 )
texture_type = 1
[sub_resource type="VisualShaderNodeInput" id=3]
input_name = "screen_texture"
[sub_resource type="VisualShader" id=4]
code = "shader_type canvas_item;
uniform sampler2D tex_frg_4 : hint_albedo;
void vertex() {
// Output:0
}
void fragment() {
// Texture:4
vec4 tex_frg_4_read = texture(tex_frg_4, UV.xy);
vec3 n_out4p0 = tex_frg_4_read.rgb;
float n_out4p1 = tex_frg_4_read.a;
// Output:0
COLOR.rgb = n_out4p0;
}
void light() {
// Output:0
}
"
graph_offset = Vector2( -1049.92, -300 )
mode = 1
flags/light_only = false
nodes/fragment/3/node = SubResource( 1 )
nodes/fragment/3/position = Vector2( -840, 460 )
nodes/fragment/4/node = SubResource( 2 )
nodes/fragment/4/position = Vector2( -80, 60 )
nodes/fragment/5/node = SubResource( 3 )
nodes/fragment/5/position = Vector2( -1000, 20 )
nodes/fragment/connections = PoolIntArray( 4, 0, 0, 0 )
[sub_resource type="ShaderMaterial" id=5]
shader = SubResource( 4 )
[node name="Main" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="BackgroundPicture" type="Panel" parent="."]
material = SubResource( 5 )
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="BackgroundPicture" parent="." instance=ExtResource( 5 )]
[node name="MarginContainer" type="MarginContainer" parent="."]
anchor_right = 1.0
@@ -92,6 +36,18 @@ margin_bottom = 720.0
size_flags_horizontal = 0
size_flags_vertical = 3
[node name="TextureRect" parent="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer/CenterContainer" index="0"]
focus_mode = 0
[node name="ButtonPuzzle" parent="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer" index="1"]
focus_mode = 0
[node name="ButtonSetting" parent="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer" index="2"]
focus_mode = 0
[node name="ButtonQuit" parent="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer" index="5"]
focus_mode = 0
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer"]
margin_left = 450.0
margin_right = 1280.0