Merge branch 'main' of github.com:Mylloon/GJ803z2024
This commit is contained in:
commit
28f6e77cf2
15 changed files with 414 additions and 66 deletions
BIN
models/menu/PDP.png
Normal file
BIN
models/menu/PDP.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
models/menu/on_off.png
Normal file
BIN
models/menu/on_off.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 791 KiB |
BIN
models/menu/power_off.png
Normal file
BIN
models/menu/power_off.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
ressources/sounds/menu/Microsoft Windows 98 Shutdown Sound.mp3
Normal file
BIN
ressources/sounds/menu/Microsoft Windows 98 Shutdown Sound.mp3
Normal file
Binary file not shown.
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="mp3"
|
||||||
|
type="AudioStreamMP3"
|
||||||
|
uid="uid://bnjm7gcfox6aj"
|
||||||
|
path="res://.godot/imported/Microsoft Windows 98 Shutdown Sound.mp3-5dbae7d9751993d8f3105001d30291fb.mp3str"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ressources/sounds/menu/Microsoft Windows 98 Shutdown Sound.mp3"
|
||||||
|
dest_files=["res://.godot/imported/Microsoft Windows 98 Shutdown Sound.mp3-5dbae7d9751993d8f3105001d30291fb.mp3str"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
ressources/sounds/menu/Microsoft Windows 98 Startup Sound .mp3
Normal file
BIN
ressources/sounds/menu/Microsoft Windows 98 Startup Sound .mp3
Normal file
Binary file not shown.
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="mp3"
|
||||||
|
type="AudioStreamMP3"
|
||||||
|
uid="uid://c5fgxh51yhon8"
|
||||||
|
path="res://.godot/imported/Microsoft Windows 98 Startup Sound .mp3-51335e6be6d692678355f0f41bf172b3.mp3str"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ressources/sounds/menu/Microsoft Windows 98 Startup Sound .mp3"
|
||||||
|
dest_files=["res://.godot/imported/Microsoft Windows 98 Startup Sound .mp3-51335e6be6d692678355f0f41bf172b3.mp3str"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
3
scenes/menu/Options.tscn
Normal file
3
scenes/menu/Options.tscn
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[gd_scene format=3 uid="uid://dqo1qk6m6stq4"]
|
||||||
|
|
||||||
|
[node name="Options" type="Node2D"]
|
21
scenes/menu/go_in.gd
Normal file
21
scenes/menu/go_in.gd
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
extends Node2D
|
||||||
|
@onready var transition = $fade
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
|
||||||
|
transition.play("fade_in")
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
func _on_timer_timeout():
|
||||||
|
$on_sound.play()
|
||||||
|
|
||||||
|
func _on_on_sound_finished():
|
||||||
|
get_tree().change_scene_to_file("res://scenes/menu/menu.tscn")
|
||||||
|
pass # Replace with function body.
|
55
scenes/menu/go_in.tscn
Normal file
55
scenes/menu/go_in.tscn
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
[gd_scene load_steps=6 format=3 uid="uid://bd6hvyj4335ye"]
|
||||||
|
|
||||||
|
[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"]
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_ojx4i"]
|
||||||
|
resource_name = "fade_in"
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/path = NodePath("fade/ColorRect:self_modulate")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0.1, 1),
|
||||||
|
"transitions": PackedFloat32Array(1, 1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [Color(0, 0, 0, 1), Color(1, 1, 1, 0)]
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_afckh"]
|
||||||
|
_data = {
|
||||||
|
"fade_in": SubResource("Animation_ojx4i")
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="GoIn" type="Node2D"]
|
||||||
|
script = ExtResource("1_fm2vx")
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="."]
|
||||||
|
offset_right = 1604.0
|
||||||
|
offset_bottom = 897.0
|
||||||
|
texture = ExtResource("2_hmhtg")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="on_sound" type="AudioStreamPlayer2D" parent="."]
|
||||||
|
stream = ExtResource("3_ekahx")
|
||||||
|
|
||||||
|
[node name="Timer" type="Timer" parent="."]
|
||||||
|
one_shot = true
|
||||||
|
autostart = true
|
||||||
|
|
||||||
|
[node name="fade" type="AnimationPlayer" parent="."]
|
||||||
|
libraries = {
|
||||||
|
"": SubResource("AnimationLibrary_afckh")
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="ColorRect" type="ColorRect" parent="fade"]
|
||||||
|
self_modulate = Color(1, 1, 1, 0)
|
||||||
|
offset_right = 1625.0
|
||||||
|
offset_bottom = 914.0
|
||||||
|
color = Color(0, 0, 0, 1)
|
||||||
|
|
||||||
|
[connection signal="finished" from="on_sound" to="." method="_on_on_sound_finished"]
|
||||||
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
78
scenes/menu/image_menu.tscn
Normal file
78
scenes/menu/image_menu.tscn
Normal file
|
@ -0,0 +1,78 @@
|
||||||
|
[gd_scene load_steps=9 format=3 uid="uid://cgdlh6iv2j7we"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bnd12xnq12mv3" path="res://models/menu/welcome.png" id="1_tgn7l"]
|
||||||
|
[ext_resource type="Texture2D" path="res://models/menu/Capture d’écran du 2024-01-27 17-48-43.png" id="2_076k5"]
|
||||||
|
|
||||||
|
[sub_resource type="Gradient" id="Gradient_pacrk"]
|
||||||
|
offsets = PackedFloat32Array(0.684524, 1)
|
||||||
|
colors = PackedColorArray(0.384314, 0.509804, 0.866667, 1, 0.635294, 0.698039, 0.870588, 1)
|
||||||
|
|
||||||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_76il0"]
|
||||||
|
gradient = SubResource("Gradient_pacrk")
|
||||||
|
|
||||||
|
[sub_resource type="Gradient" id="Gradient_cwqoj"]
|
||||||
|
offsets = PackedFloat32Array(0.160714, 0.386905, 0.636905)
|
||||||
|
colors = PackedColorArray(0.384314, 0.509804, 0.866667, 1, 1, 1, 1, 1, 0.384314, 0.509804, 0.866667, 1)
|
||||||
|
|
||||||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_yym56"]
|
||||||
|
gradient = SubResource("Gradient_cwqoj")
|
||||||
|
|
||||||
|
[sub_resource type="Gradient" id="Gradient_wb1y0"]
|
||||||
|
colors = PackedColorArray(0.572549, 0.654902, 0.870588, 1, 0.384314, 0.509804, 0.866667, 1)
|
||||||
|
|
||||||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_cmjru"]
|
||||||
|
gradient = SubResource("Gradient_wb1y0")
|
||||||
|
|
||||||
|
[node name="Menu" type="Node2D"]
|
||||||
|
|
||||||
|
[node name="BG" type="ColorRect" parent="."]
|
||||||
|
offset_left = 1.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 1600.0
|
||||||
|
offset_bottom = 906.0
|
||||||
|
color = Color(0.00392157, 0.184314, 0.607843, 1)
|
||||||
|
|
||||||
|
[node name="FG" type="ColorRect" parent="."]
|
||||||
|
offset_left = 1.0
|
||||||
|
offset_top = 105.0
|
||||||
|
offset_right = 1601.0
|
||||||
|
offset_bottom = 802.0
|
||||||
|
color = Color(0.384314, 0.509804, 0.866667, 1)
|
||||||
|
|
||||||
|
[node name="gradient" type="TextureRect" parent="."]
|
||||||
|
offset_left = 681.0
|
||||||
|
offset_top = 180.0
|
||||||
|
offset_right = 1303.0
|
||||||
|
offset_bottom = 862.0
|
||||||
|
rotation = 1.57256
|
||||||
|
texture = SubResource("GradientTexture1D_76il0")
|
||||||
|
|
||||||
|
[node name="welcome" type="TextureRect" parent="."]
|
||||||
|
offset_left = 108.0
|
||||||
|
offset_top = 294.0
|
||||||
|
offset_right = 592.0
|
||||||
|
offset_bottom = 473.0
|
||||||
|
texture = ExtResource("1_tgn7l")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="modele" type="TextureRect" parent="."]
|
||||||
|
offset_left = 14.0
|
||||||
|
offset_top = 1076.0
|
||||||
|
offset_right = 1577.0
|
||||||
|
offset_bottom = 1966.0
|
||||||
|
texture = ExtResource("2_076k5")
|
||||||
|
|
||||||
|
[node name="horizontal line" type="TextureRect" parent="."]
|
||||||
|
offset_top = 105.0
|
||||||
|
offset_right = 1600.0
|
||||||
|
offset_bottom = 107.0
|
||||||
|
texture = SubResource("GradientTexture1D_yym56")
|
||||||
|
|
||||||
|
[node name="vertical line" type="TextureRect" parent="horizontal line"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 679.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 1373.0
|
||||||
|
offset_bottom = 6.0
|
||||||
|
rotation = 1.57089
|
||||||
|
texture = SubResource("GradientTexture1D_cmjru")
|
22
scenes/menu/leaving_scene.gd
Normal file
22
scenes/menu/leaving_scene.gd
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
extends Node2D
|
||||||
|
@onready var transition = $Fade_out
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
|
||||||
|
$off_sound.play()
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
func _on_timer_leave_timeout():
|
||||||
|
get_tree().quit()
|
||||||
|
|
||||||
|
|
||||||
|
func _on_timer_fade_timeout():
|
||||||
|
transition.play("fade_out")
|
||||||
|
pass # Replace with function body.
|
62
scenes/menu/leaving_scene.tscn
Normal file
62
scenes/menu/leaving_scene.tscn
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
[gd_scene load_steps=6 format=3 uid="uid://bvvrnoynem37o"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://scenes/menu/leaving_scene.gd" id="1_a1d13"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dpthky7yki0m2" path="res://models/menu/on_off.png" id="1_gqpbm"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://bnjm7gcfox6aj" path="res://ressources/sounds/menu/Microsoft Windows 98 Shutdown Sound.mp3" id="3_osush"]
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_xvmmj"]
|
||||||
|
resource_name = "fade_out"
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/path = NodePath("Fade_out/ColorRect:self_modulate")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0.1, 0.9),
|
||||||
|
"transitions": PackedFloat32Array(1, 1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [Color(1, 1, 1, 0), Color(0, 0, 0, 1)]
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_kw5my"]
|
||||||
|
_data = {
|
||||||
|
"fade_out": SubResource("Animation_xvmmj")
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="LeavingScene" type="Node2D"]
|
||||||
|
script = ExtResource("1_a1d13")
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="."]
|
||||||
|
offset_right = 1604.0
|
||||||
|
offset_bottom = 897.0
|
||||||
|
texture = ExtResource("1_gqpbm")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Timer_leave" type="Timer" parent="."]
|
||||||
|
process_callback = 0
|
||||||
|
wait_time = 4.0
|
||||||
|
one_shot = true
|
||||||
|
autostart = true
|
||||||
|
|
||||||
|
[node name="off_sound" type="AudioStreamPlayer2D" parent="."]
|
||||||
|
stream = ExtResource("3_osush")
|
||||||
|
|
||||||
|
[node name="Timer_fade" type="Timer" parent="."]
|
||||||
|
wait_time = 3.0
|
||||||
|
one_shot = true
|
||||||
|
autostart = true
|
||||||
|
|
||||||
|
[node name="Fade_out" type="AnimationPlayer" parent="."]
|
||||||
|
libraries = {
|
||||||
|
"": SubResource("AnimationLibrary_kw5my")
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="ColorRect" type="ColorRect" parent="Fade_out"]
|
||||||
|
self_modulate = Color(1, 1, 1, 0)
|
||||||
|
offset_right = 1621.0
|
||||||
|
offset_bottom = 919.0
|
||||||
|
color = Color(0, 0, 0, 1)
|
||||||
|
|
||||||
|
[connection signal="timeout" from="Timer_leave" to="." method="_on_timer_leave_timeout"]
|
||||||
|
[connection signal="timeout" from="Timer_fade" to="." method="_on_timer_fade_timeout"]
|
28
scenes/menu/menu.gd
Normal file
28
scenes/menu/menu.gd
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
extends Node2D
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
func _on_power_off_pressed():
|
||||||
|
get_tree().change_scene_to_file("res://scenes/menu/leaving_scene.tscn")
|
||||||
|
|
||||||
|
func _on_normal_start_pressed():
|
||||||
|
#get_tree().change_scene_to_file("")
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
func _on_infinite_start_pressed():
|
||||||
|
#get_tree().change_scene_to_file("")
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
func _on_options_pressed():
|
||||||
|
#get_tree().change_scene_to_file("")
|
||||||
|
pass # Replace with function body.
|
|
@ -1,78 +1,119 @@
|
||||||
[gd_scene load_steps=9 format=3 uid="uid://cgdlh6iv2j7we"]
|
[gd_scene load_steps=6 format=3 uid="uid://do6hgdpuwfsmf"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://bnd12xnq12mv3" path="res://models/menu/welcome.png" id="1_2gkos"]
|
[ext_resource type="PackedScene" uid="uid://cgdlh6iv2j7we" path="res://scenes/menu/image_menu.tscn" id="1_f4wvw"]
|
||||||
[ext_resource type="Texture2D" path="res://models/menu/Capture d’écran du 2024-01-27 17-48-43.png" id="2_4raw2"]
|
[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"]
|
||||||
[sub_resource type="Gradient" id="Gradient_pacrk"]
|
[ext_resource type="Texture2D" uid="uid://plpafbpfkjd7" path="res://models/menu/PDP.png" id="3_a6fh8"]
|
||||||
offsets = PackedFloat32Array(0.684524, 1)
|
[ext_resource type="FontFile" uid="uid://dwgslonlru0ck" path="res://ressources/Battlenet.ttf" id="3_coatq"]
|
||||||
colors = PackedColorArray(0.384314, 0.509804, 0.866667, 1, 0.635294, 0.698039, 0.870588, 1)
|
|
||||||
|
|
||||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_76il0"]
|
|
||||||
gradient = SubResource("Gradient_pacrk")
|
|
||||||
|
|
||||||
[sub_resource type="Gradient" id="Gradient_cwqoj"]
|
|
||||||
offsets = PackedFloat32Array(0.160714, 0.386905, 0.636905)
|
|
||||||
colors = PackedColorArray(0.384314, 0.509804, 0.866667, 1, 1, 1, 1, 1, 0.384314, 0.509804, 0.866667, 1)
|
|
||||||
|
|
||||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_yym56"]
|
|
||||||
gradient = SubResource("Gradient_cwqoj")
|
|
||||||
|
|
||||||
[sub_resource type="Gradient" id="Gradient_wb1y0"]
|
|
||||||
colors = PackedColorArray(0.572549, 0.654902, 0.870588, 1, 0.384314, 0.509804, 0.866667, 1)
|
|
||||||
|
|
||||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_cmjru"]
|
|
||||||
gradient = SubResource("Gradient_wb1y0")
|
|
||||||
|
|
||||||
[node name="Menu" type="Node2D"]
|
[node name="Menu" type="Node2D"]
|
||||||
|
script = ExtResource("1_y4d58")
|
||||||
|
|
||||||
[node name="BG" type="ColorRect" parent="."]
|
[node name="image_menu" parent="." instance=ExtResource("1_f4wvw")]
|
||||||
offset_left = 1.0
|
|
||||||
offset_top = 3.0
|
|
||||||
offset_right = 1600.0
|
|
||||||
offset_bottom = 906.0
|
|
||||||
color = Color(0.00392157, 0.184314, 0.607843, 1)
|
|
||||||
|
|
||||||
[node name="FG" type="ColorRect" parent="."]
|
[node name="Menu" type="VBoxContainer" parent="."]
|
||||||
offset_left = 1.0
|
offset_left = 915.0
|
||||||
offset_top = 105.0
|
offset_top = 313.0
|
||||||
offset_right = 1601.0
|
offset_right = 1163.0
|
||||||
offset_bottom = 802.0
|
offset_bottom = 433.0
|
||||||
color = Color(0.384314, 0.509804, 0.866667, 1)
|
scale = Vector2(1.83, 1.83)
|
||||||
|
theme_override_constants/separation = 29
|
||||||
|
alignment = 1
|
||||||
|
|
||||||
[node name="gradient" type="TextureRect" parent="."]
|
[node name="NormalStart" type="Button" parent="Menu"]
|
||||||
offset_left = 681.0
|
layout_mode = 2
|
||||||
offset_top = 180.0
|
theme_type_variation = &"FlatButton"
|
||||||
offset_right = 1303.0
|
text = " "
|
||||||
offset_bottom = 862.0
|
|
||||||
rotation = 1.57256
|
|
||||||
texture = SubResource("GradientTexture1D_76il0")
|
|
||||||
|
|
||||||
[node name="welcome" type="TextureRect" parent="."]
|
[node name="pdp1" type="TextureRect" parent="Menu/NormalStart"]
|
||||||
offset_left = 108.0
|
layout_mode = 0
|
||||||
offset_top = 294.0
|
offset_left = 1.0929
|
||||||
offset_right = 592.0
|
offset_top = -5.46448
|
||||||
offset_bottom = 473.0
|
offset_right = 41.0929
|
||||||
texture = ExtResource("1_2gkos")
|
offset_bottom = 34.5355
|
||||||
|
texture = ExtResource("3_a6fh8")
|
||||||
expand_mode = 1
|
expand_mode = 1
|
||||||
|
|
||||||
[node name="modele" type="TextureRect" parent="."]
|
[node name="Label" type="Label" parent="Menu/NormalStart"]
|
||||||
offset_left = 759.0
|
offset_left = 49.0
|
||||||
offset_top = 573.0
|
offset_top = 2.0
|
||||||
offset_right = 2322.0
|
offset_right = 138.0
|
||||||
offset_bottom = 1463.0
|
offset_bottom = 28.0
|
||||||
texture = ExtResource("2_4raw2")
|
theme_override_fonts/font = ExtResource("3_coatq")
|
||||||
|
theme_override_font_sizes/font_size = 24
|
||||||
|
text = "Start"
|
||||||
|
|
||||||
[node name="horizontal line" type="TextureRect" parent="."]
|
[node name="InfiniteStart" type="Button" parent="Menu"]
|
||||||
offset_top = 105.0
|
layout_mode = 2
|
||||||
offset_right = 1600.0
|
theme_type_variation = &"FlatButton"
|
||||||
offset_bottom = 107.0
|
text = " "
|
||||||
texture = SubResource("GradientTexture1D_yym56")
|
|
||||||
|
|
||||||
[node name="vertical line" type="TextureRect" parent="horizontal line"]
|
[node name="pdp2" type="TextureRect" parent="Menu/InfiniteStart"]
|
||||||
|
offset_top = -4.26229
|
||||||
|
offset_right = 40.0
|
||||||
|
offset_bottom = 35.7377
|
||||||
|
texture = ExtResource("3_a6fh8")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="Menu/InfiniteStart"]
|
||||||
|
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 = "Mode infini"
|
||||||
|
|
||||||
|
[node name="Options" type="Button" parent="Menu"]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_type_variation = &"FlatButton"
|
||||||
|
text = "
|
||||||
|
"
|
||||||
|
|
||||||
|
[node name="pdp3" type="TextureRect" parent="Menu/Options"]
|
||||||
|
offset_left = 1.0929
|
||||||
|
offset_top = -4.69944
|
||||||
|
offset_right = 41.0929
|
||||||
|
offset_bottom = 35.3006
|
||||||
|
texture = ExtResource("3_a6fh8")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="Menu/Options"]
|
||||||
|
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 = "Options"
|
||||||
|
|
||||||
|
[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
|
layout_mode = 0
|
||||||
offset_left = 679.0
|
offset_left = 6.0
|
||||||
offset_top = 3.0
|
offset_top = -3.0
|
||||||
offset_right = 1373.0
|
offset_right = 43.0
|
||||||
offset_bottom = 6.0
|
offset_bottom = 32.0
|
||||||
rotation = 1.57089
|
texture = ExtResource("2_4yhxu")
|
||||||
texture = SubResource("GradientTexture1D_cmjru")
|
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"
|
||||||
|
|
||||||
|
[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/Options" to="." method="_on_options_pressed"]
|
||||||
|
[connection signal="pressed" from="Power off" to="." method="_on_power_off_pressed"]
|
||||||
|
|
Reference in a new issue