mirror of
https://git.erg.school/P039/art_num_2024.git
synced 2026-02-04 13:09:20 +01:00
'guozeINSP'
This commit is contained in:
76
NinonQUERAL/guoze/scenes/menu.tscn
Normal file
76
NinonQUERAL/guoze/scenes/menu.tscn
Normal file
@@ -0,0 +1,76 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://bhd2153awfm7w"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/menu.gd" id="1_xvga6"]
|
||||
[ext_resource type="Texture2D" uid="uid://bbsbdtesqbjv7" path="res://ress/Capture d'écran 2025-11-09 145255.png" id="2_q88me"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0glsa670on58" path="res://ress/bbbboyu.png" id="3_dhnr4"]
|
||||
[ext_resource type="Texture2D" uid="uid://couhj5hdfidfd" path="res://ress/quit.png" id="4_ccyff"]
|
||||
[ext_resource type="AudioStream" uid="uid://ccqi3ckjgsqr3" path="res://soundeffects/musik/Guozé Soundtrack.mp3" id="5_vxg5c"]
|
||||
[ext_resource type="Script" path="res://scenes/AnimationPlayer.gd" id="6_ed4f4"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_woi4l"]
|
||||
resource_name = "start"
|
||||
length = 8.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 4, 8),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(252, 140), Vector2(259, 219), Vector2(252, 140)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_un2oo"]
|
||||
_data = {
|
||||
"start": SubResource("Animation_woi4l")
|
||||
}
|
||||
|
||||
[node name="menu" type="Node2D"]
|
||||
script = ExtResource("1_xvga6")
|
||||
|
||||
[node name="CaptureD\'écran2025-11-09145255" type="Sprite2D" parent="."]
|
||||
position = Vector2(633, 381)
|
||||
scale = Vector2(1.1498, 1.24312)
|
||||
texture = ExtResource("2_q88me")
|
||||
|
||||
[node name="buttonManager" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="start" type="TextureButton" parent="buttonManager"]
|
||||
layout_mode = 0
|
||||
offset_left = 252.0
|
||||
offset_top = 140.0
|
||||
offset_right = 1442.0
|
||||
offset_bottom = 667.0
|
||||
scale = Vector2(0.581289, 0.561171)
|
||||
texture_normal = ExtResource("3_dhnr4")
|
||||
|
||||
[node name="quit" type="TextureButton" parent="buttonManager"]
|
||||
layout_mode = 0
|
||||
offset_left = -7.0
|
||||
offset_top = 574.0
|
||||
offset_right = 416.0
|
||||
offset_bottom = 696.0
|
||||
scale = Vector2(0.67766, 0.53162)
|
||||
texture_normal = ExtResource("4_ccyff")
|
||||
|
||||
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource("5_vxg5c")
|
||||
autoplay = true
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
root_node = NodePath("../buttonManager/start")
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_un2oo")
|
||||
}
|
||||
script = ExtResource("6_ed4f4")
|
||||
|
||||
[connection signal="pressed" from="buttonManager/start" to="." method="_on_start_pressed"]
|
||||
[connection signal="pressed" from="buttonManager/quit" to="." method="_on_quit_pressed"]
|
||||
Reference in New Issue
Block a user