valid tile placement implemented
This commit is contained in:
parent
cabc35394f
commit
aa4343309c
40 changed files with 173 additions and 201 deletions
18
node_3d.tscn
18
node_3d.tscn
|
|
@ -1,6 +1,7 @@
|
|||
[gd_scene load_steps=17 format=3 uid="uid://bx0bbrwdr0h40"]
|
||||
[gd_scene load_steps=18 format=3 uid="uid://bx0bbrwdr0h40"]
|
||||
|
||||
[ext_resource type="Script" path="res://HexGrid3D/HexGrid3D.gd" id="2_xcbqy"]
|
||||
[ext_resource type="Script" path="res://WebLightChecker.gd" id="6_uu0ab"]
|
||||
[ext_resource type="Texture2D" uid="uid://cilgpyanfb3a8" path="res://Testbed/textures/wood_table_001_diff_4k.jpg" id="6_x76sf"]
|
||||
[ext_resource type="Texture2D" uid="uid://diamo44e2x4if" path="res://Testbed/textures/wood_table_001_disp_4k.png" id="7_xr322"]
|
||||
[ext_resource type="Script" path="res://BuildMenu.gd" id="8_lxt1e"]
|
||||
|
|
@ -40,9 +41,6 @@ tonemap_mode = 1
|
|||
ssao_enabled = true
|
||||
|
||||
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_41x5h"]
|
||||
dof_blur_far_distance = 15.0
|
||||
dof_blur_far_transition = 10.0
|
||||
dof_blur_near_distance = 1.2
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_pctcs"]
|
||||
interpolation_mode = 2
|
||||
|
|
@ -84,7 +82,9 @@ camera_attributes = SubResource("CameraAttributesPractical_41x5h")
|
|||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.843961, -0.46784, 0.262404, -0.0775016, 0.377705, 0.922677, -0.530777, -0.79904, 0.28251, 0.262159, 3.27869, -0.104568)
|
||||
light_bake_mode = 0
|
||||
shadow_enabled = true
|
||||
script = ExtResource("6_uu0ab")
|
||||
|
||||
[node name="BuildMenu" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
|
|
@ -94,6 +94,7 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
mouse_filter = 2
|
||||
script = ExtResource("8_lxt1e")
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="BuildMenu"]
|
||||
|
|
@ -104,10 +105,12 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_sfja1")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="BuildMenu/PanelContainer"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_constants/margin_left = 15
|
||||
theme_override_constants/margin_top = 15
|
||||
theme_override_constants/margin_right = 15
|
||||
|
|
@ -115,9 +118,11 @@ theme_override_constants/margin_bottom = 15
|
|||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="BuildMenu/PanelContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Label" type="Label" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
|
@ -127,6 +132,7 @@ text = "You"
|
|||
self_modulate = Color(1, 1, 1, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Label2" type="Label" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
|
@ -135,10 +141,12 @@ horizontal_alignment = 2
|
|||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="LocalPlayerInsects" type="HBoxContainer" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="InsectButton" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer2/LocalPlayerInsects" instance=ExtResource("11_pmmaq")]
|
||||
layout_mode = 2
|
||||
|
|
@ -151,9 +159,11 @@ layout_mode = 2
|
|||
modulate = Color(1, 1, 1, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="RemotePlayerInsects" type="HBoxContainer" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="VSeparator" type="VSeparator" parent="BuildMenu/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer2/RemotePlayerInsects"]
|
||||
layout_mode = 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue