[gd_scene format=3 uid="uid://cdb6bf7dat3bw"] [ext_resource type="Texture2D" uid="uid://8b86ftb4iwfj" path="res://assets/Pattern-Panic-10x10/no-background/Points-and-Pulses.png" id="1_qqie6"] [ext_resource type="Script" uid="uid://df5v873offcdf" path="res://prefabs/tiles/turns/turn.gd" id="2_qqie6"] [sub_resource type="AtlasTexture" id="AtlasTexture_x2hlk"] atlas = ExtResource("1_qqie6") region = Rect2(30, 70, 10, 10) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qqie6"] resource_local_to_scene = true bg_color = Color(1, 1, 1, 0) border_width_left = 5 border_width_top = 5 border_width_right = 5 border_width_bottom = 5 border_color = Color(1, 1, 1, 1) expand_margin_left = 8.0 expand_margin_top = 8.0 expand_margin_right = 8.0 expand_margin_bottom = 8.0 [sub_resource type="RectangleShape2D" id="RectangleShape2D_qqie6"] size = Vector2(2, 2) [node name="Turn" type="TextureRect" unique_id=1363157270] texture_filter = 1 custom_minimum_size = Vector2(100, 100) offset_left = -50.0 offset_top = -50.0 offset_right = 50.0 offset_bottom = 50.0 texture = SubResource("AtlasTexture_x2hlk") script = ExtResource("2_qqie6") [node name="Highlight" type="Panel" parent="." unique_id=715172504] unique_name_in_owner = true visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_qqie6") [node name="Area2D2" type="Area2D" parent="." unique_id=1370367200] process_mode = 3 position = Vector2(50, 50) collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D2" unique_id=1032001784] shape = SubResource("RectangleShape2D_qqie6") [connection signal="gui_input" from="." to="." method="handle_gui_input"] [connection signal="mouse_entered" from="." to="." method="handle_mouse_entered"] [connection signal="mouse_exited" from="." to="." method="handle_mouse_exited"]