Skip to content
Snippets Groups Projects
Commit caf9c446 authored by prime8888's avatar prime8888
Browse files

fix menu fin

parent 811f1317
Branches
1 merge request!10Merge Uniformisation de L'UI
......@@ -17,3 +17,8 @@ func _ready():
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
func _on_Button_pressed():
get_tree().change_scene("res://menus/principal/Principal.tscn")
Partie._ready()
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=9 format=2]
[ext_resource path="res://scenes/scene2/Fonts/Roboto-Regular.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://menus/fin/Textures/1659875.jpg" type="Texture" id=2]
......@@ -18,6 +18,15 @@ use_mipmaps = true
use_filter = true
font_data = ExtResource( 1 )
[sub_resource type="StyleBoxFlat" id=5]
bg_color = Color( 0.635294, 0.329412, 0, 1 )
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0.635294, 0.329412, 0, 1 )
[sub_resource type="StyleBoxFlat" id=4]
bg_color = Color( 0.635294, 0.329412, 0, 1 )
[node name="Fin" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
......@@ -148,3 +157,18 @@ align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button" type="Button" parent="."]
margin_left = 704.0
margin_top = 510.0
margin_right = 951.0
margin_bottom = 559.0
custom_styles/hover = SubResource( 5 )
custom_styles/focus = SubResource( 3 )
custom_styles/normal = SubResource( 4 )
custom_colors/font_color = Color( 1, 0.6, 0.282353, 1 )
text = "Menu principale"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
......@@ -16,7 +16,7 @@ _global_script_class_icons={
[application]
config/name="voc20-t3-g"
run/main_scene="res://menus/principal/Principal.tscn"
run/main_scene="res://scenes/scene2/scene2.tscn"
config/icon="res://icon.png"
[autoload]
......
......@@ -651,8 +651,8 @@ script = ExtResource( 22 )
[connection signal="pressed" from="outils/VBoxContainer/encyclopedie" to="encyclopedie_popup" method="_on_encyclopedie_pressed"]
[connection signal="timeout" from="annalyse/Panel/Timer" to="annalyse/Panel" method="_on_Timer_timeout"]
[connection signal="pressed" from="carbon_popup/Control/Control/exit" to="carbon_popup" method="_on_exit_pressed"]
[connection signal="pressed" from="carbon_popup/Control/VBoxContainer/TextureButton" to="carbon_popup/Control/VBoxContainer/TextureRect/affichage_taux" method="_on_TextureButton_pressed"]
[connection signal="pressed" from="carbon_popup/Control/VBoxContainer/TextureButton" to="carbon_popup/Control/Control/date_screen/date" method="_on_TextureButton_pressed"]
[connection signal="pressed" from="carbon_popup/Control/VBoxContainer/TextureButton" to="carbon_popup/Control/VBoxContainer/TextureRect/affichage_taux" method="_on_TextureButton_pressed"]
[connection signal="pressed" from="encyclopedie_popup/Control/apres" to="encyclopedie_popup/Control/Label" method="_on_apres_pressed"]
[connection signal="pressed" from="encyclopedie_popup/Control/apres" to="encyclopedie_popup/Control/TextureRect" method="_on_apres_pressed"]
[connection signal="pressed" from="encyclopedie_popup/Control/apres" to="encyclopedie_popup/Control/RichTextLabel" method="_on_apres_pressed"]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment