[gd_scene load_steps=7 format=3 uid="uid://5ktmpg8aurb7"] [ext_resource type="Script" path="res://src/Button.gd" id="1_g5mck"] [ext_resource type="Texture2D" uid="uid://xy3hyh74yji4" path="res://GFX/menu/menublack.jpg" id="2_3u0tt"] [ext_resource type="Shader" path="res://shaders/ScreenPosRepeat.gdshader" id="2_x3v1l"] [ext_resource type="Texture2D" uid="uid://bxdd1fe772nkk" path="res://GFX/menu/menuwhite.jpg" id="3_dob50"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_q33ks"] shader = ExtResource("2_x3v1l") shader_parameter/loop_texture = ExtResource("3_dob50") [sub_resource type="ShaderMaterial" id="ShaderMaterial_5txwr"] shader = ExtResource("2_x3v1l") shader_parameter/loop_texture = ExtResource("2_3u0tt") [node name="Button" type="Control"] custom_minimum_size = Vector2(150, 50) layout_mode = 3 anchors_preset = 0 script = ExtResource("1_g5mck") [node name="BackingBorder" type="ColorRect" parent="."] material = SubResource("ShaderMaterial_q33ks") layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="Background" type="ColorRect" parent="BackingBorder"] material = SubResource("ShaderMaterial_5txwr") layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="Text" type="Label" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 text = "BUTTON_TEXT" horizontal_alignment = 1 vertical_alignment = 1 [connection signal="resized" from="." to="." method="_on_resized"]