85 lines
2.7 KiB
Text
85 lines
2.7 KiB
Text
|
[gd_scene load_steps=11 format=3 uid="uid://d0hedjnfwtu0"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://scripts/window.gd" id="1_6nwqw"]
|
||
|
[ext_resource type="Script" path="res://scripts/animator.gd" id="2_hov7x"]
|
||
|
[ext_resource type="PackedScene" uid="uid://qnb6qrsgpbwc" path="res://scenes/osd.tscn" id="2_m7sf8"]
|
||
|
[ext_resource type="AudioStream" uid="uid://bj6b8h153h1bn" path="res://assets/beep.ogg" id="3_tvnah"]
|
||
|
[ext_resource type="AudioStream" uid="uid://8ij8fr2uqb65" path="res://assets/tap.wav" id="3_xnh3p"]
|
||
|
[ext_resource type="Texture2D" uid="uid://b6x537wsl3853" path="res://assets/BOYFRIEND.png" id="4_fraqq"]
|
||
|
[ext_resource type="Theme" uid="uid://e62vyqlhf1v1" path="res://osd.tres" id="7_bx315"]
|
||
|
[ext_resource type="FontFile" uid="uid://4e3o2ds5xy7p" path="res://assets/fonts/MatSymOut.ttf" id="7_q7jy6"]
|
||
|
[ext_resource type="Script" path="res://scripts/menu.gd" id="8_3lc1r"]
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_y0egr"]
|
||
|
atlas = ExtResource("4_fraqq")
|
||
|
region = Rect2(0, 0, 1, 1)
|
||
|
|
||
|
[node name="Control" type="ColorRect"]
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
color = Color(0.501961, 0.501961, 0.501961, 0.12549)
|
||
|
script = ExtResource("1_6nwqw")
|
||
|
|
||
|
[node name="Beep" type="AudioStreamPlayer" parent="."]
|
||
|
stream = ExtResource("3_tvnah")
|
||
|
|
||
|
[node name="Tap" type="AudioStreamPlayer" parent="."]
|
||
|
stream = ExtResource("3_xnh3p")
|
||
|
|
||
|
[node name="vert_align" type="BoxContainer" parent="."]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
alignment = 2
|
||
|
vertical = true
|
||
|
metadata/_edit_use_anchors_ = true
|
||
|
|
||
|
[node name="horiz_align" type="BoxContainer" parent="vert_align"]
|
||
|
layout_mode = 2
|
||
|
alignment = 1
|
||
|
|
||
|
[node name="scale" type="Control" parent="vert_align/horiz_align"]
|
||
|
custom_minimum_size = Vector2(413, 411)
|
||
|
layout_mode = 2
|
||
|
mouse_filter = 2
|
||
|
|
||
|
[node name="TextureRect" type="TextureRect" parent="vert_align/horiz_align/scale"]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 8
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
offset_left = -0.5
|
||
|
offset_top = -0.5
|
||
|
offset_right = 0.5
|
||
|
offset_bottom = 0.5
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
texture = SubResource("AtlasTexture_y0egr")
|
||
|
script = ExtResource("2_hov7x")
|
||
|
|
||
|
[node name="OSD" parent="." instance=ExtResource("2_m7sf8")]
|
||
|
layout_mode = 1
|
||
|
|
||
|
[node name="MenuButton" type="MenuButton" parent="."]
|
||
|
custom_minimum_size = Vector2(48, 48)
|
||
|
layout_mode = 0
|
||
|
offset_right = 8.0
|
||
|
offset_bottom = 8.0
|
||
|
theme = ExtResource("7_bx315")
|
||
|
theme_override_fonts/font = ExtResource("7_q7jy6")
|
||
|
theme_override_font_sizes/font_size = 32
|
||
|
text = "menu"
|
||
|
item_count = 2
|
||
|
popup/item_0/text = "Config"
|
||
|
popup/item_1/text = "Exit"
|
||
|
popup/item_1/id = 1
|
||
|
script = ExtResource("8_3lc1r")
|