[gd_scene format=3 uid="uid://e7hyi2t7bejn"]

[ext_resource type="PackedScene" uid="uid://qjo2ij73xlok" path="res://Scene/Pieces/king.tscn" id="2_thj8p"]
[ext_resource type="PackedScene" uid="uid://dxh3jmv61jfp0" path="res://Scene/Pieces/rook.tscn" id="4_sagxc"]
[ext_resource type="PackedScene" uid="uid://di3qg1qnmy0p2" path="res://Scene/Pieces/knight.tscn" id="5_8f6ah"]
[ext_resource type="PackedScene" uid="uid://2cqjdxpi6ave" path="res://Scene/board.tscn" id="6_thj8p"]
[ext_resource type="PackedScene" uid="uid://dkl8itq74sajx" path="res://Scene/Pieces/pawn.tscn" id="6_twwsd"]
[ext_resource type="PackedScene" uid="uid://btmuoxdocev5r" path="res://Scene/tile.tscn" id="7_h8jt7"]
[ext_resource type="PackedScene" uid="uid://ci6k70kme7egj" path="res://Scene/Pieces/piece.tscn" id="7_sagxc"]
[ext_resource type="Resource" uid="uid://cbwd1rtruemqj" path="res://pawn.tres" id="8_sagxc"]
[ext_resource type="Material" uid="uid://bxg7bjgiqfnru" path="res://Materials/piece_black.tres" id="9_8f6ah"]

[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_w51g1"]
sky_top_color = Color(0.5579281, 0.62864333, 0.7231204, 1)
sky_horizon_color = Color(0.91311014, 0.9435101, 1.0699847, 1)
ground_bottom_color = Color(0.18326113, 0.23414573, 0.6455667, 1)
ground_horizon_color = Color(0.91311014, 0.9435101, 1.0699847, 1)

[sub_resource type="Sky" id="Sky_4jv7b"]
sky_material = SubResource("ProceduralSkyMaterial_w51g1")

[sub_resource type="Environment" id="Environment_03iqk"]
background_mode = 2
sky = SubResource("Sky_4jv7b")
tonemap_mode = 2
ssr_enabled = true
ssao_enabled = true
ssil_enabled = true
glow_enabled = true
fog_light_color = Color(0.13823166, 0.1502127, 0.16818427, 1)
fog_light_energy = 1.5
fog_sun_scatter = 0.3
fog_aerial_perspective = 0.113
adjustment_enabled = true

[node name="Game" type="Node3D" unique_id=1842930265]

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=40612833]
transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0)
shadow_enabled = true

[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1076837797]
environment = SubResource("Environment_03iqk")

[node name="Camera3D" type="Camera3D" parent="." unique_id=816896196]
transform = Transform3D(-1, 8.7422784e-08, 2.0779702e-15, 1.0542077e-08, 0.1205873, 0.9927028, 8.678483e-08, 0.9927028, -0.1205873, 7, 15.866533, 5.295808)

[node name="OmniLight3D" type="OmniLight3D" parent="." unique_id=675296854]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 26.254642, 0)

[node name="Node3D" type="Node3D" parent="." unique_id=1118485116]

[node name="King" parent="." unique_id=1224931075 instance=ExtResource("2_thj8p")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 14)

[node name="King2" parent="." unique_id=816589942 instance=ExtResource("2_thj8p")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 6, 0, 0)

[node name="Rook" parent="." unique_id=699678101 instance=ExtResource("4_sagxc")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 14, 0, 0)

[node name="Rook2" parent="." unique_id=1019284846 instance=ExtResource("4_sagxc")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 0, 14)

[node name="Knight" parent="." unique_id=1333208927 instance=ExtResource("5_8f6ah")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0, 14)

[node name="Knight2" parent="." unique_id=1259419598 instance=ExtResource("5_8f6ah")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 10, 0, 0)

[node name="Pawn" parent="." unique_id=124611093 instance=ExtResource("6_twwsd")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 2, 0, 0)

[node name="Pawn2" parent="." unique_id=242659952 instance=ExtResource("6_twwsd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 14)

[node name="Board" parent="." unique_id=934988573 instance=ExtResource("6_thj8p")]

[node name="Tile" parent="." unique_id=1553616659 instance=ExtResource("7_h8jt7")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 21.413641, 3.9149218, 6.559334)
coordinate = Vector2i(67, -55)

[node name="SuperPawn" parent="." unique_id=410020425 instance=ExtResource("7_sagxc")]
config = ExtResource("8_sagxc")
material = ExtResource("9_8f6ah")

[connection signal="is_clicked" from="Tile" to="Board" method="_on_tile_clicked"]
