mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-21 23:18:11 +00:00
48 lines
1.8 KiB
Plaintext
48 lines
1.8 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://bmn81e10obpjv"]
|
|
|
|
[ext_resource type="Script" uid="uid://c8xv30jxw6uum" path="res://Scripts/UI/SelectableLabel.gd" id="1_bg4p8"]
|
|
[ext_resource type="Texture2D" uid="uid://3p2l7rec0gh5" path="res://Assets/Sprites/UI/Cursor.png" id="2_rfswy"]
|
|
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="3_tbqr7"]
|
|
[ext_resource type="JSON" path="res://Assets/Sprites/UI/Cursor.json" id="4_2podj"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_bg4p8"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wit67"]
|
|
atlas = ExtResource("2_rfswy")
|
|
region = Rect2(0, 0, 8, 8)
|
|
|
|
[node name="SelectableLabel" type="Label"]
|
|
offset_right = 40.0
|
|
offset_bottom = 16.0
|
|
focus_mode = 2
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_bg4p8")
|
|
text = "adada"
|
|
uppercase = true
|
|
script = ExtResource("1_bg4p8")
|
|
|
|
[node name="Cursor" type="TextureRect" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_top = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -6.0
|
|
offset_top = -4.0
|
|
offset_bottom = 4.0
|
|
grow_vertical = 2
|
|
texture = SubResource("AtlasTexture_wit67")
|
|
|
|
[node name="ResourceSetterNew" type="Node" parent="Cursor" node_paths=PackedStringArray("node_to_affect")]
|
|
script = ExtResource("3_tbqr7")
|
|
node_to_affect = NodePath("..")
|
|
property_name = "texture"
|
|
mode = 1
|
|
resource_json = ExtResource("4_2podj")
|
|
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
|
|
|
|
[connection signal="focus_entered" from="." to="Cursor" method="show"]
|
|
[connection signal="focus_entered" from="." to="." method="toggle_process" binds= [true]]
|
|
[connection signal="focus_exited" from="." to="Cursor" method="hide"]
|
|
[connection signal="focus_exited" from="." to="." method="toggle_process" binds= [false]]
|
|
[connection signal="ready" from="." to="." method="toggle_process" binds= [false]]
|