basic tile placement, TODO: check valid placement with color, turn based placement

This commit is contained in:
Sch1nken 2024-03-05 15:47:11 +01:00
parent 2a8bd73d07
commit cabc35394f
97 changed files with 1348 additions and 948 deletions

View file

@ -1,22 +0,0 @@
[gd_scene load_steps=6 format=3 uid="uid://cjkfacnab3g3t"]
[ext_resource type="ArrayMesh" uid="uid://dsbshu53k588h" path="res://hexagon_small.res" id="1_6lpj5"]
[ext_resource type="Texture2D" uid="uid://bbi5xlbfl564o" path="res://InsectTiles/Assets/Textures/mosquito_black.png" id="2_kx842"]
[ext_resource type="Texture2D" uid="uid://dvlotqiu1n5nx" path="res://InsectTiles/Assets/Roughness/mosquito_roughness.png" id="3_w27cc"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_80f17"]
albedo_texture = ExtResource("2_kx842")
roughness_texture = ExtResource("3_w27cc")
roughness_texture_channel = 4
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_f8pn0"]
data = PackedVector3Array(-0.25, 0.4004, 0.433014, 0.25, 0.000399577, 0.433014, -0.25, 0.000399577, 0.433014, -0.25, 0.4004, 0.433014, 0.25, 0.4004, 0.433014, 0.25, 0.000399577, 0.433014, -0.25, 0.4004, -0.433014, -0.5, 0.000399577, 0, -0.25, 0.000399577, -0.433014, -0.25, 0.4004, -0.433014, -0.5, 0.4004, 0, -0.5, 0.000399577, 0, 0.5, 0.4004, 0, 0.25, 0.000399577, -0.433014, 0.5, 0.000399577, 0, 0.5, 0.4004, 0, 0.25, 0.4004, -0.433014, 0.25, 0.000399577, -0.433014, 0.25, 0.4004, 0.433014, 0.25, 0.4004, -0.433014, 0.5, 0.4004, 0, 0.25, 0.4004, -0.433014, -0.5, 0.4004, 0, -0.25, 0.4004, -0.433014, -0.5, 0.4004, 0, 0.25, 0.4004, 0.433014, -0.25, 0.4004, 0.433014, 0.25, 0.4004, -0.433014, 0.25, 0.4004, 0.433014, -0.5, 0.4004, 0, 0.25, 0.4004, 0.433014, 0.5, 0.000399577, 0, 0.25, 0.000399577, 0.433014, 0.25, 0.4004, 0.433014, 0.5, 0.4004, 0, 0.5, 0.000399577, 0, 0.25, 0.4004, -0.433014, -0.25, 0.000399577, -0.433014, 0.25, 0.000399577, -0.433014, 0.25, 0.4004, -0.433014, -0.25, 0.4004, -0.433014, -0.25, 0.000399577, -0.433014, 0.5, 0.000399577, 0, -0.25, 0.000399577, 0.433014, 0.25, 0.000399577, 0.433014, -0.25, 0.000399577, 0.433014, -0.25, 0.000399577, -0.433014, -0.5, 0.000399577, 0, -0.25, 0.000399577, -0.433014, 0.5, 0.000399577, 0, 0.25, 0.000399577, -0.433014, -0.25, 0.000399577, 0.433014, 0.5, 0.000399577, 0, -0.25, 0.000399577, -0.433014, -0.5, 0.4004, 0, -0.25, 0.000399577, 0.433014, -0.5, 0.000399577, 0, -0.5, 0.4004, 0, -0.25, 0.4004, 0.433014, -0.25, 0.000399577, 0.433014)
[node name="MosquitoBlack" type="Area3D"]
[node name="HexagonSmall" type="MeshInstance3D" parent="."]
mesh = ExtResource("1_6lpj5")
surface_material_override/0 = SubResource("StandardMaterial3D_80f17")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("ConcavePolygonShape3D_f8pn0")