creation d'un theme et son application

This commit is contained in:
deed 2023-11-26 17:22:53 +01:00
parent 6976ecb502
commit 36ce19d14c
8 changed files with 1514 additions and 61 deletions

View file

@ -1,3 +1,3 @@
source_md5="d28fc1b4998adc3f0ef9aeebc3099059"
dest_md5="6575ae1037fcd6fd2359792c7c738d6a"
dest_md5="9d25e863ac55fd1d3e430f85c32712f4"

View file

@ -0,0 +1,14 @@
[remap]
importer="glsl"
type="RDShaderFile"
uid="uid://p5gs3onqlpf2"
path="res://.godot/imported/compute_relax.glsl-b06f9e60cda7719b78bde9673f2501b7.res"
[deps]
source_file="res://addons/proton_scatter/src/modifiers/compute_shaders/compute_relax.glsl"
dest_files=["res://.godot/imported/compute_relax.glsl-b06f9e60cda7719b78bde9673f2501b7.res"]
[params]

1469
assets/tres/khanat.tres Normal file

File diff suppressed because one or more lines are too long

View file

@ -1,22 +1,8 @@
[gd_scene load_steps=8 format=3 uid="uid://kkwgk2l7gu4n"]
[gd_scene load_steps=4 format=3 uid="uid://kkwgk2l7gu4n"]
[ext_resource type="Texture2D" uid="uid://umey1bnaop31" path="res://assets/background/Login-Khanat-background.png" id="1_den6m"]
[ext_resource type="Script" path="res://script/interface/page_login.gd" id="1_dotvb"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mci7p"]
bg_color = Color(0.388235, 0.34902, 0.858824, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_14t2b"]
bg_color = Color(0.388235, 0.34902, 0.858824, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3pj1o"]
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wkhpl"]
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2nlmp"]
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
[ext_resource type="Theme" uid="uid://boqakd3l3vldf" path="res://assets/tres/khanat.tres" id="3_ohllw"]
[node name="page_login" type="Control"]
layout_mode = 3
@ -54,28 +40,28 @@ size_flags_horizontal = 3
[node name="text_username" type="TextEdit" parent="boxContainer_login/vBoxContainer_login"]
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
theme = ExtResource("3_ohllw")
theme_override_font_sizes/font_size = 20
theme_override_styles/normal = SubResource("StyleBoxFlat_mci7p")
placeholder_text = "#todo Usermane"
[node name="text_password" type="TextEdit" parent="boxContainer_login/vBoxContainer_login"]
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
theme = ExtResource("3_ohllw")
theme_override_font_sizes/font_size = 20
theme_override_styles/normal = SubResource("StyleBoxFlat_14t2b")
placeholder_text = "#todo Password"
[node name="button_creationcompte" type="Button" parent="boxContainer_login/vBoxContainer_login"]
custom_minimum_size = Vector2(200, 50)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_3pj1o")
theme = ExtResource("3_ohllw")
text = "#todo Creation ou gestion
de compte"
[node name="button_forgetpass" type="Button" parent="boxContainer_login/vBoxContainer_login"]
custom_minimum_size = Vector2(200, 50)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_3pj1o")
theme = ExtResource("3_ohllw")
text = "#todo J'ai oubliez mon mot de passe"
[node name="VBoxContainer" type="VBoxContainer" parent="boxContainer_login"]
@ -85,28 +71,28 @@ layout_mode = 2
custom_minimum_size = Vector2(150, 40)
layout_mode = 2
size_flags_horizontal = 4
theme_override_styles/normal = SubResource("StyleBoxFlat_3pj1o")
theme = ExtResource("3_ohllw")
text = "LOGIN"
[node name="button_quit" type="Button" parent="boxContainer_login/VBoxContainer"]
custom_minimum_size = Vector2(150, 40)
layout_mode = 2
size_flags_horizontal = 4
theme_override_styles/normal = SubResource("StyleBoxFlat_wkhpl")
theme = ExtResource("3_ohllw")
text = "QUIT"
[node name="button_settings" type="Button" parent="boxContainer_login/VBoxContainer"]
custom_minimum_size = Vector2(150, 50)
layout_mode = 2
size_flags_horizontal = 4
theme_override_styles/normal = SubResource("StyleBoxFlat_wkhpl")
theme = ExtResource("3_ohllw")
text = "SETTINGS"
[node name="button_help" type="Button" parent="boxContainer_login/VBoxContainer"]
custom_minimum_size = Vector2(150, 50)
layout_mode = 2
size_flags_horizontal = 4
theme_override_styles/normal = SubResource("StyleBoxFlat_wkhpl")
theme = ExtResource("3_ohllw")
text = "HELP"
[node name="button_patch" type="Button" parent="."]
@ -115,16 +101,16 @@ offset_left = 563.0
offset_top = 556.0
offset_right = 744.0
offset_bottom = 587.0
theme_override_styles/normal = SubResource("StyleBoxFlat_2nlmp")
theme = ExtResource("3_ohllw")
text = "#todo SELECT_PATCH"
[node name="text_patch" type="TextEdit" parent="."]
layout_mode = 2
offset_left = 752.0
offset_top = 556.0
offset_top = 558.0
offset_right = 1104.0
offset_bottom = 586.0
theme_override_styles/normal = SubResource("StyleBoxFlat_mci7p")
offset_bottom = 588.0
theme = ExtResource("3_ohllw")
text = "#todo message pour le patch"
[connection signal="pressed" from="boxContainer_login/vBoxContainer_login/button_forgetpass" to="." method="_on_button_forgetPass_pressed"]

View file

@ -1,19 +1,14 @@
[gd_scene load_steps=8 format=3 uid="uid://iupkschafyjy"]
[gd_scene load_steps=7 format=3 uid="uid://iupkschafyjy"]
[ext_resource type="Script" path="res://script/interface/page_perso.gd" id="1_ev8xv"]
[ext_resource type="Texture2D" uid="uid://ckukbjjvm54c5" path="res://assets/background/settings-Khanat-background.png" id="2_6q3rv"]
[ext_resource type="PackedScene" uid="uid://x2deg4hgjdm3" path="res://assets/creatures/raference/raference.tscn" id="3_nnmsb"]
[ext_resource type="Script" path="res://assets/creatures/CameraControllerMain.gd" id="4_5c5wm"]
[ext_resource type="Theme" uid="uid://boqakd3l3vldf" path="res://assets/tres/khanat.tres" id="5_vrlym"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jdln7"]
bg_color = Color(0.388235, 0.34902, 0.858824, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jvgma"]
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uyprx"]
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
[node name="page_choice_player" type="Control"]
layout_mode = 3
anchors_preset = 15
@ -162,7 +157,7 @@ offset_left = 835.0
offset_top = 534.0
offset_right = 858.335
offset_bottom = 461.094
theme_override_styles/normal = SubResource("StyleBoxFlat_jvgma")
theme = ExtResource("5_vrlym")
text = "Select player"
[node name="button_return" type="Button" parent="."]
@ -171,7 +166,7 @@ offset_left = 290.0
offset_top = 549.0
offset_right = 381.0
offset_bottom = 580.0
theme_override_styles/normal = SubResource("StyleBoxFlat_uyprx")
theme = ExtResource("5_vrlym")
text = "Return"
[connection signal="pressed" from="button_select_player" to="." method="_on_perso_pressed"]

View file

@ -1,13 +1,8 @@
[gd_scene load_steps=6 format=3 uid="uid://h4sygmnwvcvf"]
[gd_scene load_steps=5 format=3 uid="uid://h4sygmnwvcvf"]
[ext_resource type="Script" path="res://script/interface/page_server.gd" id="1_rm4cu"]
[ext_resource type="Texture2D" uid="uid://ckukbjjvm54c5" path="res://assets/background/settings-Khanat-background.png" id="2_u10e3"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qa8np"]
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v7kka"]
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
[ext_resource type="Theme" uid="uid://boqakd3l3vldf" path="res://assets/tres/khanat.tres" id="3_x2rd0"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_83bu0"]
bg_color = Color(0.388235, 0.34902, 0.858824, 1)
@ -39,7 +34,7 @@ offset_top = 533.0
offset_right = 1005.0
offset_bottom = 584.0
grow_vertical = 0
theme_override_styles/normal = SubResource("StyleBoxFlat_qa8np")
theme = ExtResource("3_x2rd0")
text = "Next"
[node name="button_return" type="Button" parent="."]
@ -48,15 +43,15 @@ offset_left = 321.0
offset_top = 538.0
offset_right = 421.0
offset_bottom = 569.0
theme_override_styles/normal = SubResource("StyleBoxFlat_v7kka")
theme = ExtResource("3_x2rd0")
text = "Return"
[node name="text_server" type="ItemList" parent="."]
layout_mode = 0
offset_left = 436.0
offset_top = 195.0
offset_right = 786.0
offset_bottom = 354.0
offset_left = 496.0
offset_top = 154.0
offset_right = 846.0
offset_bottom = 467.0
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_constants/h_separation = 13
theme_override_constants/v_separation = 5

View file

@ -1,17 +1,12 @@
[gd_scene load_steps=6 format=3 uid="uid://c08xd12mqj0ea"]
[gd_scene load_steps=5 format=3 uid="uid://c08xd12mqj0ea"]
[ext_resource type="Script" path="res://script/interface/page_server.gd" id="1_ftl41"]
[ext_resource type="Texture2D" uid="uid://ckukbjjvm54c5" path="res://assets/background/settings-Khanat-background.png" id="2_2ahq6"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v7kka"]
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
[ext_resource type="Theme" uid="uid://boqakd3l3vldf" path="res://assets/tres/khanat.tres" id="3_1l0ao"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_83bu0"]
bg_color = Color(0.388235, 0.34902, 0.858824, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0a4qf"]
bg_color = Color(0.0627451, 0.0313726, 0.45098, 1)
[node name="page_choice_server" type="Control"]
layout_mode = 3
anchor_right = 1.111
@ -34,7 +29,7 @@ offset_left = 599.0
offset_top = 572.0
offset_right = 699.0
offset_bottom = 603.0
theme_override_styles/normal = SubResource("StyleBoxFlat_v7kka")
theme = ExtResource("3_1l0ao")
text = "Return"
[node name="text_server" type="ItemList" parent="."]
@ -97,8 +92,7 @@ offset_left = 562.0
offset_top = 48.0
offset_right = 706.0
offset_bottom = 83.0
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_styles/normal = SubResource("StyleBoxFlat_0a4qf")
theme = ExtResource("3_1l0ao")
text = "SETTINGS_TITRE"
alignment = 1