137 lines
4.3 KiB
Text
137 lines
4.3 KiB
Text
|
[gd_scene load_steps=15 format=3 uid="uid://d0qssindm5rlw"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://dksppcu3bp4l3" path="res://scenes/game/wallpaper.png" id="2_vyyfh"]
|
||
|
[ext_resource type="FontFile" uid="uid://dwgslonlru0ck" path="res://ressources/Battlenet.ttf" id="3_vkkp2"]
|
||
|
[ext_resource type="Texture2D" uid="uid://c012k8qiyjn4a" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Button.png" id="4_pyb8u"]
|
||
|
[ext_resource type="Texture2D" uid="uid://ca0n6csxw7yd7" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Button_Pressed.png" id="5_5cogn"]
|
||
|
[ext_resource type="Script" path="res://scenes/game/ButtonMenu.gd" id="6_as1pi"]
|
||
|
[ext_resource type="Texture2D" uid="uid://c1s8gaui8k13h" path="res://models/RetroWindowsGUI/Flag.png" id="6_le0fq"]
|
||
|
[ext_resource type="Shader" path="res://shaders/oldscreen.gdshader" id="7_omj8e"]
|
||
|
[ext_resource type="PackedScene" uid="uid://b4ujwtugvmurm" path="res://scenes/game/windows/Video_page.tscn" id="8_rworg"]
|
||
|
[ext_resource type="AudioStream" uid="uid://cjnulxaww6ej5" path="res://ressources/sounds/AdBlockNot.wav" id="10_mppi6"]
|
||
|
|
||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_se4f0"]
|
||
|
bg_color = Color(0.764706, 0.764706, 0.764706, 1)
|
||
|
|
||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2mxax"]
|
||
|
draw_center = false
|
||
|
border_width_left = 1
|
||
|
border_width_top = 1
|
||
|
border_width_right = 1
|
||
|
border_width_bottom = 1
|
||
|
border_color = Color(1, 1, 1, 1)
|
||
|
|
||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lp2yn"]
|
||
|
shader = ExtResource("7_omj8e")
|
||
|
shader_parameter/SCREEN_HEIGHT = 240.0
|
||
|
|
||
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mbq4w"]
|
||
|
texture = ExtResource("4_pyb8u")
|
||
|
texture_margin_left = 2.0
|
||
|
texture_margin_top = 2.0
|
||
|
texture_margin_right = 2.0
|
||
|
texture_margin_bottom = 2.0
|
||
|
draw_center = false
|
||
|
|
||
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_lgpbg"]
|
||
|
texture = ExtResource("5_5cogn")
|
||
|
texture_margin_left = 2.0
|
||
|
texture_margin_top = 2.0
|
||
|
texture_margin_right = 2.0
|
||
|
texture_margin_bottom = 2.0
|
||
|
draw_center = false
|
||
|
|
||
|
[node name="WindowsDesktop" type="Control"]
|
||
|
layout_mode = 3
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
|
||
|
[node name="ColorRect" type="ColorRect" parent="."]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
color = Color(0, 0.45098, 0.509804, 1)
|
||
|
|
||
|
[node name="Wallpaper" type="Sprite2D" parent="ColorRect"]
|
||
|
position = Vector2(803, 422)
|
||
|
scale = Vector2(1.77778, 1.66798)
|
||
|
texture = ExtResource("2_vyyfh")
|
||
|
|
||
|
[node name="Panel" type="Panel" parent="."]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 12
|
||
|
anchor_top = 1.0
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
offset_top = -54.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 0
|
||
|
theme_override_styles/panel = SubResource("StyleBoxFlat_se4f0")
|
||
|
|
||
|
[node name="Panel" type="Panel" parent="Panel"]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
offset_top = -1.0
|
||
|
offset_right = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
theme_override_styles/panel = SubResource("StyleBoxFlat_2mxax")
|
||
|
|
||
|
[node name="ColorRect2" type="ColorRect" parent="."]
|
||
|
material = SubResource("ShaderMaterial_lp2yn")
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
|
||
|
[node name="VideoPage" parent="." instance=ExtResource("8_rworg")]
|
||
|
layout_mode = 1
|
||
|
offset_left = 96.0
|
||
|
offset_top = 89.0
|
||
|
offset_right = -459.0
|
||
|
offset_bottom = -265.0
|
||
|
|
||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||
|
stream = ExtResource("10_mppi6")
|
||
|
volume_db = -14.102
|
||
|
autoplay = true
|
||
|
bus = &"Music"
|
||
|
|
||
|
[node name="Label" type="Label" parent="."]
|
||
|
offset_left = 522.0
|
||
|
offset_top = 710.0
|
||
|
offset_right = 1029.0
|
||
|
offset_bottom = 847.0
|
||
|
theme_override_fonts/font = ExtResource("3_vkkp2")
|
||
|
theme_override_font_sizes/font_size = 156
|
||
|
text = "VICTOIRE"
|
||
|
|
||
|
[node name="Button" type="Button" parent="."]
|
||
|
layout_mode = 0
|
||
|
offset_left = 4.0
|
||
|
offset_top = 850.0
|
||
|
offset_right = 312.0
|
||
|
offset_bottom = 896.0
|
||
|
focus_mode = 0
|
||
|
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||
|
theme_override_fonts/font = ExtResource("3_vkkp2")
|
||
|
theme_override_font_sizes/font_size = 37
|
||
|
theme_override_styles/normal = SubResource("StyleBoxTexture_mbq4w")
|
||
|
theme_override_styles/hover = SubResource("StyleBoxTexture_lgpbg")
|
||
|
text = "Retourner au menu"
|
||
|
icon = ExtResource("6_le0fq")
|
||
|
expand_icon = true
|
||
|
script = ExtResource("6_as1pi")
|
||
|
|
||
|
[connection signal="pressed" from="Button" to="Button" method="_on_pressed"]
|