40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
|
[gd_scene load_steps=3 format=3 uid="uid://dtbfpnr54ifod"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://dsphj1j6nr3j1" path="res://test/map/00004.webp" id="1_i44dx"]
|
||
|
[ext_resource type="Script" path="res://class/map/map_class.gd" id="1_iwfll"]
|
||
|
|
||
|
[node name="map_example" type="ScrollContainer"]
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
horizontal_scroll_mode = 3
|
||
|
vertical_scroll_mode = 3
|
||
|
script = ExtResource("1_iwfll")
|
||
|
|
||
|
[node name="TextureRect" type="TextureRect" parent="."]
|
||
|
custom_minimum_size = Vector2(3840, 2160)
|
||
|
layout_mode = 2
|
||
|
mouse_filter = 2
|
||
|
texture = ExtResource("1_i44dx")
|
||
|
|
||
|
[node name="linyi" type="Button" parent="TextureRect"]
|
||
|
layout_mode = 0
|
||
|
anchor_left = 0.418229
|
||
|
anchor_top = 0.588889
|
||
|
anchor_right = 0.602083
|
||
|
anchor_bottom = 0.706481
|
||
|
metadata/_edit_use_anchors_ = true
|
||
|
|
||
|
[node name="jining" type="Button" parent="TextureRect"]
|
||
|
layout_mode = 0
|
||
|
anchor_left = 0.240625
|
||
|
anchor_top = 0.531482
|
||
|
anchor_right = 0.408854
|
||
|
anchor_bottom = 0.667593
|
||
|
metadata/_edit_use_anchors_ = true
|
||
|
|
||
|
[connection signal="pressed" from="TextureRect/linyi" to="." method="_on_linyi_pressed"]
|
||
|
[connection signal="pressed" from="TextureRect/jining" to="." method="_on_jining_pressed"]
|