vivisu/MainMenu.tscn

44 lines
1.5 KiB
Text

[gd_scene load_steps=7 format=3 uid="uid://cxllykh18amy3"]
[ext_resource type="Texture2D" uid="uid://bnmenpey8nde2" path="res://assets/graphics/ui/Play1.png" id="1_eiy7p"]
[ext_resource type="Texture2D" uid="uid://bosvyu7f3kxlg" path="res://assets/graphics/ui/Play2.png" id="2_h7a2f"]
[ext_resource type="Script" uid="uid://cpf02igyl2jn3" path="res://play_button.gd" id="3_h7a2f"]
[ext_resource type="VideoStream" uid="uid://cxiq6k74yeqdg" path="res://menu.ogv" id="4_qoqlk"]
[ext_resource type="Texture2D" uid="uid://d1xcwdjibb6ql" path="res://assets/graphics/textures/logo.png" id="5_iwfq2"]
[sub_resource type="Theme" id="Theme_qoqlk"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VideoStreamPlayer" type="VideoStreamPlayer" parent="."]
layout_mode = 0
offset_top = 1.0
offset_right = 480.0
offset_bottom = 361.0
stream = ExtResource("4_qoqlk")
autoplay = true
loop = true
[node name="TextureButton" type="TextureButton" parent="."]
layout_mode = 0
offset_left = 139.0
offset_top = 284.0
offset_right = 301.0
offset_bottom = 346.0
theme = SubResource("Theme_qoqlk")
texture_normal = ExtResource("1_eiy7p")
texture_hover = ExtResource("2_h7a2f")
script = ExtResource("3_h7a2f")
[node name="Logo" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.858824)
position = Vector2(220, 173.455)
texture = ExtResource("5_iwfq2")
[connection signal="pressed" from="TextureButton" to="TextureButton" method="_on_pressed"]