necra-prototypes/map/prototype_map.tscn
Antonio Dell'Annunziata 5c785e24af
All checks were successful
/ test (push) Successful in 2s
Integrate map and ritual
2025-03-16 16:26:42 +01:00

53 lines
2.1 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://cb4cokd0lxacj"]
[ext_resource type="Script" uid="uid://cvcec0uf3erkv" path="res://map/prototype_map.gd" id="1_mj08v"]
[ext_resource type="PackedScene" uid="uid://b5tdh43sbe5nj" path="res://map/map_point.tscn" id="2_mj08v"]
[sub_resource type="Gradient" id="Gradient_6vn6g"]
offsets = PackedFloat32Array(0.575972, 0.929329, 1)
colors = PackedColorArray(0.74902, 0.647059, 0.541176, 1, 0.61, 0.527447, 0.4392, 1, 0.19, 0.164287, 0.1368, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_fjiih"]
gradient = SubResource("Gradient_6vn6g")
width = 700
height = 450
fill = 2
fill_from = Vector2(0.5, 0.5)
[node name="PrototypeMap" type="Node2D"]
script = ExtResource("1_mj08v")
[node name="Background" type="Sprite2D" parent="."]
position = Vector2(395, 292)
texture = SubResource("GradientTexture2D_fjiih")
[node name="MapPoint" parent="." node_paths=PackedStringArray("connected_map_points") instance=ExtResource("2_mj08v")]
position = Vector2(199, 332)
connected_map_points = [NodePath("../MapPoint2")]
is_shown_on_map = true
[node name="MapPoint2" parent="." node_paths=PackedStringArray("connected_map_points") instance=ExtResource("2_mj08v")]
visible = false
position = Vector2(256, 299)
connected_map_points = [NodePath("../MapPoint3"), NodePath("../MapPoint4")]
[node name="MapPoint3" parent="." instance=ExtResource("2_mj08v")]
visible = false
position = Vector2(315, 278)
[node name="MapPoint4" parent="." instance=ExtResource("2_mj08v")]
visible = false
position = Vector2(320, 330)
[node name="CloseMapButton" type="Button" parent="."]
offset_left = 619.0
offset_top = 87.0
offset_right = 707.0
offset_bottom = 118.0
text = "Close Map"
[connection signal="clicked" from="MapPoint" to="." method="_on_map_point_clicked"]
[connection signal="clicked" from="MapPoint2" to="." method="_on_map_point_2_clicked"]
[connection signal="clicked" from="MapPoint3" to="." method="_on_map_point_3_clicked"]
[connection signal="clicked" from="MapPoint4" to="." method="_on_map_point_4_clicked"]
[connection signal="pressed" from="CloseMapButton" to="." method="_on_close_map_button_pressed"]