[gd_scene load_steps=7 format=3 uid="uid://b5tdh43sbe5nj"] [ext_resource type="Script" uid="uid://bhct6bhjtnml0" path="res://map/map_point.gd" id="1_jfx02"] [sub_resource type="Gradient" id="Gradient_tn1m0"] offsets = PackedFloat32Array(0.40636, 0.45583) colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 0) [sub_resource type="GradientTexture2D" id="GradientTexture2D_pw3im"] gradient = SubResource("Gradient_tn1m0") width = 40 height = 40 fill = 1 fill_from = Vector2(0.5, 0.5) [sub_resource type="Gradient" id="Gradient_ywy6p"] offsets = PackedFloat32Array(0.40636, 0.45583) colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 0) [sub_resource type="GradientTexture2D" id="GradientTexture2D_gpntq"] gradient = SubResource("Gradient_ywy6p") width = 32 height = 32 fill = 1 fill_from = Vector2(0.5, 0.5) [sub_resource type="CircleShape2D" id="CircleShape2D_01fxh"] radius = 13.0384 [node name="MapPoint" type="Node2D"] script = ExtResource("1_jfx02") [node name="HoverDot" type="Sprite2D" parent="."] visible = false texture = SubResource("GradientTexture2D_pw3im") [node name="Dot" type="Sprite2D" parent="."] texture = SubResource("GradientTexture2D_gpntq") [node name="Area2D" type="Area2D" parent="."] collision_layer = 1024 collision_mask = 1024 collision_priority = 10.0 [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource("CircleShape2D_01fxh") [connection signal="input_event" from="Area2D" to="." method="_on_area_2d_input_event"] [connection signal="mouse_entered" from="Area2D" to="." method="_on_area_2d_mouse_entered"] [connection signal="mouse_exited" from="Area2D" to="." method="_on_area_2d_mouse_exited"]