67 lines
2.3 KiB
Plaintext
Raw Normal View History

2026-04-13 11:34:00 -05:00
[gd_scene format=3 uid="uid://c5y5ksmwhevd"]
[ext_resource type="Script" uid="uid://bhb2ophwlv1ba" path="res://prefabs/tiles/ground.gd" id="1_fd67e"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_yeyfm"]
load_path = "res://.godot/imported/Squares.png-fa45fbe99d22448c54fd764146a6d2d3.ctex"
[sub_resource type="AtlasTexture" id="AtlasTexture_kmcv5"]
atlas = SubResource("CompressedTexture2D_yeyfm")
region = Rect2(30, 80, 10, 10)
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_fd67e"]
load_path = "res://.godot/imported/Squares.png-fa45fbe99d22448c54fd764146a6d2d3.ctex"
[sub_resource type="AtlasTexture" id="AtlasTexture_unv4h"]
atlas = SubResource("CompressedTexture2D_fd67e")
region = Rect2(50, 160, 10, 10)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yeyfm"]
size = Vector2(2, 2)
2026-04-13 11:34:00 -05:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kmcv5"]
size = Vector2(100, 100)
[node name="Ground" type="TextureRect" unique_id=1636895806]
texture_filter = 1
custom_minimum_size = Vector2(100, 100)
anchors_preset = -1
offset_left = -50.0
offset_top = -50.0
offset_right = 50.0
offset_bottom = 50.0
pivot_offset = Vector2(50, 50)
size_flags_horizontal = 4
size_flags_vertical = 4
texture = SubResource("AtlasTexture_kmcv5")
script = ExtResource("1_fd67e")
[node name="Highlight" type="TextureRect" parent="." unique_id=1075021487]
unique_name_in_owner = true
visible = false
texture_filter = 1
custom_minimum_size = Vector2(100, 100)
layout_mode = 0
offset_right = 100.0
offset_bottom = 100.0
texture = SubResource("AtlasTexture_unv4h")
[node name="CitizensArea" type="Area2D" parent="." unique_id=295299364]
process_mode = 3
position = Vector2(50, 50)
collision_layer = 4
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="CitizensArea" unique_id=1296255500]
shape = SubResource("RectangleShape2D_yeyfm")
[node name="TilesArea" type="Area2D" parent="." unique_id=499432344]
process_mode = 3
position = Vector2(50, 50)
[node name="CollisionShape2D" type="CollisionShape2D" parent="TilesArea" unique_id=501086298]
shape = SubResource("RectangleShape2D_kmcv5")
[connection signal="mouse_entered" from="." to="." method="handle_ground_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="handle_ground_mouse_exited"]