46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
![]() |
[gd_scene load_steps=6 format=3 uid="uid://fxku5nddarp8"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://ui_scenes/mouse/mouse_cursor.gd" id="1_t6obd"]
|
||
|
[ext_resource type="Texture2D" uid="uid://23rqddatjku3" path="res://ui_scenes/mouse/tooltipBox.png" id="2_qcn8h"]
|
||
|
[ext_resource type="FontFile" uid="uid://ukj8gv8ucqsg" path="res://font/goober_pixel.ttf" id="3_v627m"]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_y1fm1"]
|
||
|
radius = 1.0
|
||
|
|
||
|
[sub_resource type="LabelSettings" id="LabelSettings_a4hxj"]
|
||
|
font = ExtResource("3_v627m")
|
||
|
font_size = 31
|
||
|
|
||
|
[node name="MouseCursor" type="Node2D"]
|
||
|
script = ExtResource("1_t6obd")
|
||
|
|
||
|
[node name="Area2D" type="Area2D" parent="."]
|
||
|
collision_layer = 2048
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||
|
shape = SubResource("CircleShape2D_y1fm1")
|
||
|
|
||
|
[node name="Tooltip" type="Node2D" parent="."]
|
||
|
z_index = 4096
|
||
|
position = Vector2(-24, 46)
|
||
|
|
||
|
[node name="NinePatchRect" type="NinePatchRect" parent="Tooltip"]
|
||
|
offset_left = 9.0
|
||
|
offset_top = -4.0
|
||
|
offset_right = 168.0
|
||
|
offset_bottom = 48.0
|
||
|
texture = ExtResource("2_qcn8h")
|
||
|
region_rect = Rect2(0, 0, 48, 48)
|
||
|
patch_margin_left = 8
|
||
|
patch_margin_top = 8
|
||
|
patch_margin_right = 8
|
||
|
patch_margin_bottom = 8
|
||
|
|
||
|
[node name="Label" type="Label" parent="Tooltip"]
|
||
|
offset_left = 7.0
|
||
|
offset_top = 7.0
|
||
|
offset_right = 173.0
|
||
|
offset_bottom = 41.0
|
||
|
label_settings = SubResource("LabelSettings_a4hxj")
|
||
|
horizontal_alignment = 1
|