Anri/AdBlockNot
Archived
1
0
Fork 0

reolution conflit

This commit is contained in:
Manal 2024-01-28 16:11:40 +01:00
parent dbafcd63b5
commit 0d699a85ed
3 changed files with 123 additions and 41 deletions

View file

@ -1,10 +1,10 @@
[gd_scene load_steps=15 format=3 uid="uid://n06gkookqeml"] [gd_scene load_steps=15 format=3 uid="uid://dcgug7ahuk1cj"]
[ext_resource type="FontFile" uid="uid://dwgslonlru0ck" path="res://ressources/Battlenet.ttf" id="1_3xpen"] [ext_resource type="FontFile" uid="uid://dwgslonlru0ck" path="res://ressources/Battlenet.ttf" id="1_3xpen"]
[ext_resource type="Shader" path="res://shaders/oldscreen.gdshader" id="1_dy2m7"] [ext_resource type="Shader" path="res://shaders/oldscreen.gdshader" id="1_dy2m7"]
[ext_resource type="Texture2D" uid="uid://c012k8qiyjn4a" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Button.png" id="2_cdjsi"] [ext_resource type="Texture2D" uid="uid://ctjbrbheokvw2" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Button.png" id="2_cdjsi"]
[ext_resource type="Texture2D" uid="uid://rryuulwvlsqi" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Button_Inactive.png" id="3_2cafe"] [ext_resource type="Texture2D" uid="uid://1co7ffdrtbx2" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Button_Inactive.png" id="3_2cafe"]
[ext_resource type="Texture2D" uid="uid://ca0n6csxw7yd7" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Button_Pressed.png" id="4_aprk7"] [ext_resource type="Texture2D" uid="uid://djpnk4h30pvtr" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Button_Pressed.png" id="4_aprk7"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_16my3"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_16my3"]
bg_color = Color(0.831373, 0.815686, 0.784314, 1) bg_color = Color(0.831373, 0.815686, 0.784314, 1)
@ -18,11 +18,11 @@ border_color = Color(0.686275, 0.662745, 0.619608, 1)
offsets = PackedFloat32Array(0, 0.396624) offsets = PackedFloat32Array(0, 0.396624)
colors = PackedColorArray(0, 0, 0.501961, 1, 1, 1, 1, 1) colors = PackedColorArray(0, 0, 0.501961, 1, 1, 1, 1, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_n5gkc"] [sub_resource type="GradientTexture1D" id="GradientTexture1D_pb0qd"]
gradient = SubResource("Gradient_qyjym") gradient = SubResource("Gradient_qyjym")
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_54rle"] [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_54rle"]
texture = SubResource("GradientTexture1D_n5gkc") texture = SubResource("GradientTexture1D_pb0qd")
texture_margin_left = 3.27016 texture_margin_left = 3.27016
texture_margin_top = 4.41471 texture_margin_top = 4.41471
texture_margin_right = 0.654032 texture_margin_right = 0.654032

View file

@ -1,7 +1,6 @@
[gd_scene load_steps=6 format=3 uid="uid://bd6hvyj4335ye"] [gd_scene load_steps=5 format=3 uid="uid://bd6hvyj4335ye"]
[ext_resource type="Script" path="res://scenes/menu/go_in.gd" id="1_fm2vx"] [ext_resource type="Script" path="res://scenes/menu/go_in.gd" id="1_fm2vx"]
[ext_resource type="Texture2D" uid="uid://dpthky7yki0m2" path="res://models/menu/on_off.png" id="2_hmhtg"]
[ext_resource type="AudioStream" uid="uid://c5fgxh51yhon8" path="res://ressources/sounds/menu/Microsoft Windows 98 Startup Sound .mp3" id="3_ekahx"] [ext_resource type="AudioStream" uid="uid://c5fgxh51yhon8" path="res://ressources/sounds/menu/Microsoft Windows 98 Startup Sound .mp3" id="3_ekahx"]
[sub_resource type="Animation" id="Animation_ojx4i"] [sub_resource type="Animation" id="Animation_ojx4i"]
@ -30,7 +29,6 @@ script = ExtResource("1_fm2vx")
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1604.0 offset_right = 1604.0
offset_bottom = 897.0 offset_bottom = 897.0
texture = ExtResource("2_hmhtg")
expand_mode = 1 expand_mode = 1
[node name="on_sound" type="AudioStreamPlayer2D" parent="."] [node name="on_sound" type="AudioStreamPlayer2D" parent="."]
@ -46,7 +44,7 @@ libraries = {
} }
[node name="ColorRect" type="ColorRect" parent="fade"] [node name="ColorRect" type="ColorRect" parent="fade"]
self_modulate = Color(1, 1, 1, 0) self_modulate = Color(0, 0, 0, 1)
offset_right = 1625.0 offset_right = 1625.0
offset_bottom = 914.0 offset_bottom = 914.0
color = Color(0, 0, 0, 1) color = Color(0, 0, 0, 1)

View file

@ -1,16 +1,74 @@
[gd_scene load_steps=6 format=3 uid="uid://do6hgdpuwfsmf"] [gd_scene load_steps=15 format=3 uid="uid://do6hgdpuwfsmf"]
[ext_resource type="PackedScene" uid="uid://cgdlh6iv2j7we" path="res://scenes/menu/image_menu.tscn" id="1_f4wvw"] [ext_resource type="PackedScene" uid="uid://cgdlh6iv2j7we" path="res://scenes/menu/image_menu.tscn" id="1_f4wvw"]
[ext_resource type="Script" path="res://scenes/menu/menu.gd" id="1_y4d58"] [ext_resource type="Script" path="res://scenes/menu/menu.gd" id="1_y4d58"]
[ext_resource type="Texture2D" uid="uid://bcqdrfm52esft" path="res://models/menu/power_off.png" id="2_4yhxu"]
[ext_resource type="Texture2D" uid="uid://plpafbpfkjd7" path="res://models/menu/PDP.png" id="3_a6fh8"]
[ext_resource type="FontFile" uid="uid://dwgslonlru0ck" path="res://ressources/Battlenet.ttf" id="3_coatq"] [ext_resource type="FontFile" uid="uid://dwgslonlru0ck" path="res://ressources/Battlenet.ttf" id="3_coatq"]
[ext_resource type="Texture2D" uid="uid://dj2ksd67cmwfg" path="res://models/menu/icones/User.png" id="3_kh055"]
[ext_resource type="Texture2D" uid="uid://dpnvh4lt28eb" path="res://models/menu/icones/Infinite.png" id="5_bnbfr"]
[ext_resource type="Texture2D" uid="uid://f1rkaxvylydr" path="res://models/menu/icones/Options.png" id="6_1ofa3"]
[ext_resource type="PackedScene" uid="uid://d0o3thrvt3ecx" path="res://scenes/menu/rules.tscn" id="7_bv273"]
[ext_resource type="Texture2D" uid="uid://ctjbrbheokvw2" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Button.png" id="8_igvbm"]
[ext_resource type="Texture2D" uid="uid://1co7ffdrtbx2" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Button_Inactive.png" id="9_npqtf"]
[ext_resource type="Texture2D" uid="uid://djpnk4h30pvtr" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Button_Pressed.png" id="10_vrql1"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mulaw"]
texture = ExtResource("8_igvbm")
texture_margin_left = 2.0
texture_margin_top = 2.0
texture_margin_right = 2.0
texture_margin_bottom = 2.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sbxpa"]
texture = ExtResource("9_npqtf")
texture_margin_left = 2.0
texture_margin_top = 2.0
texture_margin_right = 2.0
texture_margin_bottom = 2.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_m56ur"]
texture = ExtResource("10_vrql1")
texture_margin_left = 2.0
texture_margin_top = 2.0
texture_margin_right = 2.0
texture_margin_bottom = 2.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_tt12n"]
texture = ExtResource("8_igvbm")
texture_margin_left = 2.0
texture_margin_top = 2.0
texture_margin_right = 2.0
texture_margin_bottom = 2.0
[node name="Menu" type="Node2D"] [node name="Menu" type="Node2D"]
script = ExtResource("1_y4d58") script = ExtResource("1_y4d58")
[node name="image_menu" parent="." instance=ExtResource("1_f4wvw")] [node name="image_menu" parent="." instance=ExtResource("1_f4wvw")]
[node name="Power off" type="Button" parent="."]
offset_left = 46.0
offset_top = 828.0
offset_right = 183.0
offset_bottom = 858.0
theme_type_variation = &"FlatButton"
[node name="p_off" type="TextureRect" parent="Power off"]
layout_mode = 0
offset_left = 6.0
offset_top = -3.0
offset_right = 43.0
offset_bottom = 32.0
expand_mode = 1
[node name="Label" type="Label" parent="Power off"]
layout_mode = 0
offset_left = 49.0
offset_top = 2.0
offset_right = 138.0
offset_bottom = 28.0
theme_override_fonts/font = ExtResource("3_coatq")
theme_override_font_sizes/font_size = 24
text = "Power off"
[node name="Menu" type="VBoxContainer" parent="."] [node name="Menu" type="VBoxContainer" parent="."]
offset_left = 915.0 offset_left = 915.0
offset_top = 313.0 offset_top = 313.0
@ -18,7 +76,6 @@ offset_right = 1163.0
offset_bottom = 433.0 offset_bottom = 433.0
scale = Vector2(1.83, 1.83) scale = Vector2(1.83, 1.83)
theme_override_constants/separation = 29 theme_override_constants/separation = 29
alignment = 1
[node name="NormalStart" type="Button" parent="Menu"] [node name="NormalStart" type="Button" parent="Menu"]
layout_mode = 2 layout_mode = 2
@ -31,10 +88,19 @@ offset_left = 1.0929
offset_top = -5.46448 offset_top = -5.46448
offset_right = 41.0929 offset_right = 41.0929
offset_bottom = 34.5355 offset_bottom = 34.5355
texture = ExtResource("3_a6fh8") texture = ExtResource("3_kh055")
expand_mode = 1 expand_mode = 1
[node name="Panel" type="Panel" parent="Menu/NormalStart/pdp1"]
show_behind_parent = true
layout_mode = 0
offset_left = -1.0
offset_top = -1.0
offset_right = 41.0
offset_bottom = 41.0
[node name="Label" type="Label" parent="Menu/NormalStart"] [node name="Label" type="Label" parent="Menu/NormalStart"]
layout_mode = 0
offset_left = 49.0 offset_left = 49.0
offset_top = 2.0 offset_top = 2.0
offset_right = 138.0 offset_right = 138.0
@ -49,13 +115,23 @@ theme_type_variation = &"FlatButton"
text = " " text = " "
[node name="pdp2" type="TextureRect" parent="Menu/InfiniteStart"] [node name="pdp2" type="TextureRect" parent="Menu/InfiniteStart"]
layout_mode = 0
offset_top = -4.26229 offset_top = -4.26229
offset_right = 40.0 offset_right = 40.0
offset_bottom = 35.7377 offset_bottom = 35.7377
texture = ExtResource("3_a6fh8") texture = ExtResource("5_bnbfr")
expand_mode = 1 expand_mode = 1
[node name="Panel" type="Panel" parent="Menu/InfiniteStart/pdp2"]
show_behind_parent = true
layout_mode = 0
offset_left = -1.0
offset_top = -1.0
offset_right = 41.0
offset_bottom = 41.0
[node name="Label" type="Label" parent="Menu/InfiniteStart"] [node name="Label" type="Label" parent="Menu/InfiniteStart"]
layout_mode = 0
offset_left = 49.0 offset_left = 49.0
offset_top = 2.0 offset_top = 2.0
offset_right = 138.0 offset_right = 138.0
@ -71,14 +147,24 @@ text = "
" "
[node name="pdp3" type="TextureRect" parent="Menu/Options"] [node name="pdp3" type="TextureRect" parent="Menu/Options"]
layout_mode = 0
offset_left = 1.0929 offset_left = 1.0929
offset_top = -4.69944 offset_top = -4.69944
offset_right = 41.0929 offset_right = 41.0929
offset_bottom = 35.3006 offset_bottom = 35.3006
texture = ExtResource("3_a6fh8") texture = ExtResource("6_1ofa3")
expand_mode = 1 expand_mode = 1
[node name="Panel" type="Panel" parent="Menu/Options/pdp3"]
show_behind_parent = true
layout_mode = 0
offset_left = -1.0
offset_top = -1.0
offset_right = 41.0
offset_bottom = 41.0
[node name="Label" type="Label" parent="Menu/Options"] [node name="Label" type="Label" parent="Menu/Options"]
layout_mode = 0
offset_left = 49.0 offset_left = 49.0
offset_top = 2.0 offset_top = 2.0
offset_right = 138.0 offset_right = 138.0
@ -87,33 +173,31 @@ theme_override_fonts/font = ExtResource("3_coatq")
theme_override_font_sizes/font_size = 24 theme_override_font_sizes/font_size = 24
text = "Options" text = "Options"
[node name="Power off" type="Button" parent="."] [node name="Rules" parent="Menu/Options" instance=ExtResource("7_bv273")]
offset_left = 46.0 position = Vector2(-286.885, -221.093)
offset_top = 828.0
offset_right = 183.0
offset_bottom = 858.0
theme_type_variation = &"FlatButton"
[node name="p_off" type="TextureRect" parent="Power off"] [node name="close" type="Button" parent="Menu/Options/Rules"]
layout_mode = 0 anchors_preset = 1
offset_left = 6.0 anchor_left = 1.0
offset_top = -3.0 anchor_right = 1.0
offset_right = 43.0 offset_left = 786.885
offset_bottom = 32.0 offset_top = 13.115
texture = ExtResource("2_4yhxu") offset_right = 820.885
expand_mode = 1 offset_bottom = 49.115
grow_horizontal = 0
[node name="Label" type="Label" parent="Power off"] theme_override_colors/font_color = Color(0, 0, 0.0392157, 1)
layout_mode = 0
offset_left = 49.0
offset_top = 2.0
offset_right = 138.0
offset_bottom = 28.0
theme_override_fonts/font = ExtResource("3_coatq") theme_override_fonts/font = ExtResource("3_coatq")
theme_override_font_sizes/font_size = 24 theme_override_font_sizes/font_size = 20
text = "Power off" theme_override_styles/normal = SubResource("StyleBoxTexture_mulaw")
theme_override_styles/hover = SubResource("StyleBoxTexture_sbxpa")
theme_override_styles/pressed = SubResource("StyleBoxTexture_m56ur")
theme_override_styles/focus = SubResource("StyleBoxTexture_tt12n")
text = "X"
icon_alignment = 1
expand_icon = true
[connection signal="pressed" from="Power off" to="." method="_on_power_off_pressed"]
[connection signal="pressed" from="Menu/NormalStart" to="." method="_on_normal_start_pressed"] [connection signal="pressed" from="Menu/NormalStart" to="." method="_on_normal_start_pressed"]
[connection signal="pressed" from="Menu/InfiniteStart" to="." method="_on_infinite_start_pressed"] [connection signal="pressed" from="Menu/InfiniteStart" to="." method="_on_infinite_start_pressed"]
[connection signal="pressed" from="Menu/Options" to="." method="_on_options_pressed"] [connection signal="pressed" from="Menu/Options" to="." method="_on_options_pressed"]
[connection signal="pressed" from="Power off" to="." method="_on_power_off_pressed"] [connection signal="pressed" from="Menu/Options/Rules/close" to="." method="_on_close_pressed"]