[gd_scene load_steps=5 format=4 uid="uid://bdhkwmdjla3dy"] [ext_resource type="Script" uid="uid://cvjgu1sx802tc" path="res://Scripts/GameManager.gd" id="1_r150o"] [ext_resource type="TileSet" uid="uid://d1gtddd47nuvg" path="res://Assets/TileSets/Tilesets.tres" id="2_idj7w"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_idj7w"] size = Vector2(336, 450) [sub_resource type="RectangleShape2D" id="RectangleShape2D_kln2b"] size = Vector2(48, 71) [node name="GameRoot" type="Node2D" node_paths=PackedStringArray("left_top_of_board", "init_card_anchos", "board_area")] script = ExtResource("1_r150o") cols = 7 cell_size = Vector2i(48, 64) left_top_of_board = NodePath("Tiles/Board/LeftTop") init_card_anchos = [NodePath("Tiles/Cards/Marker1"), NodePath("Tiles/Cards/Marker2"), NodePath("Tiles/Cards/Marker3"), NodePath("Tiles/Cards/Marker4")] board_area = NodePath("") [node name="Camera2D" type="Camera2D" parent="."] position = Vector2(-159, -32) zoom = Vector2(1.21, 1.21) [node name="Tiles" type="Node2D" parent="."] [node name="Board" type="TileMapLayer" parent="Tiles"] position = Vector2(80, 0) tile_map_data = PackedByteArray("AAD2//z/AAAAAAAAAAD3//3/AAAAAAAAAAD4//7/AAAAAAAAAAD5////AAAAAAAAAAD6/wAAAAAAAAAAAAD7/wEAAAAAAAAAAAD8/wIAAAAAAAAAAAD5/wEAAAAAAAAAAAD7////AAAAAAAAAAD8//7/AAAAAAAAAAD7//3/AAAAAAAAAAD4//z/AAAAAAAAAAD6//z/AAAAAAAAAAD5//3/AAAAAAAAAAD8//z/AAAAAAAAAAD2//7/AAAAAAAAAAD3////AAAAAAAAAAD2/wAAAAAAAAAAAAD3/wEAAAAAAAAAAAD4/wAAAAAAAAAAAAD2/wIAAAAAAAAAAAD4/wIAAAAAAAAAAAD6/wIAAAAAAAAAAAD8/wAAAAAAAAAAAAD6//7/AAAAAAAAAAD3//z/AAABAAAAAAD2//3/AAABAAAAAAD3//7/AAABAAAAAAD2////AAABAAAAAAD4////AAABAAAAAAD3/wAAAAABAAAAAAD2/wEAAAABAAAAAAD4/wEAAAABAAAAAAD3/wIAAAABAAAAAAD5/wIAAAABAAAAAAD7/wIAAAABAAAAAAD6/wEAAAABAAAAAAD7/wAAAAABAAAAAAD8/wEAAAABAAAAAAD5/wAAAAABAAAAAAD6////AAABAAAAAAD8////AAABAAAAAAD7//7/AAABAAAAAAD5//7/AAABAAAAAAD6//3/AAABAAAAAAD4//3/AAABAAAAAAD5//z/AAABAAAAAAD7//z/AAABAAAAAAD8//3/AAABAAAAAAA=") tile_set = ExtResource("2_idj7w") [node name="LeftTop" type="Marker2D" parent="Tiles/Board"] position = Vector2(-480, -256) [node name="BoardArea" type="Area2D" parent="Tiles/Board"] [node name="CollisionShape2D" type="CollisionShape2D" parent="Tiles/Board/BoardArea"] position = Vector2(-312, -33) shape = SubResource("RectangleShape2D_idj7w") [node name="Cards" type="TileMapLayer" parent="Tiles"] position = Vector2(-32, 0) tile_map_data = PackedByteArray("AAABAPz/AQAAAAAAAAA=") tile_set = ExtResource("2_idj7w") [node name="CardsArea" type="Area2D" parent="Tiles/Cards"] [node name="CollisionShape2D" type="CollisionShape2D" parent="Tiles/Cards/CardsArea"] position = Vector2(72, -224.5) shape = SubResource("RectangleShape2D_kln2b") [node name="Marker1" type="Marker2D" parent="Tiles/Cards"] position = Vector2(72, -128) gizmo_extents = 24.0 [node name="Marker2" type="Marker2D" parent="Tiles/Cards"] position = Vector2(72, -40) gizmo_extents = 24.0 [node name="Marker3" type="Marker2D" parent="Tiles/Cards"] position = Vector2(72, 48) gizmo_extents = 24.0 [node name="Marker4" type="Marker2D" parent="Tiles/Cards"] position = Vector2(72, 136) gizmo_extents = 24.0 [node name="BoardCells" type="Node2D" parent="."] [node name="MouseAnchor" type="Control" parent="."] layout_mode = 3 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Cards" type="Node2D" parent="."] [connection signal="input_event" from="Tiles/Board/BoardArea" to="." method="_on_board_area_input_event"]