This commit is contained in:
2026-07-31 18:18:18 +02:00
commit a061aff066
137 changed files with 3491 additions and 0 deletions
+101
View File
@@ -0,0 +1,101 @@
[gd_scene format=3 uid="uid://ciynh2ldy36po"]
[ext_resource type="PackedScene" uid="uid://61a3p5h35tkb" path="res://assets/blender/house_bis.glb" id="1_qtlar"]
[ext_resource type="Texture2D" uid="uid://uuaidsic32bq" path="res://assets/img/textures/housefloor.png" id="2_3bgk5"]
[ext_resource type="Texture2D" uid="uid://5urp0eyv7x3k" path="res://assets/img/textures/housewalls.png" id="2_qtlar"]
[ext_resource type="Texture2D" uid="uid://cpe28cccrcha0" path="res://assets/img/normals/housefloor.png" id="3_f74lx"]
[ext_resource type="Texture2D" uid="uid://b54qtjv0lyufs" path="res://assets/img/normals/housewalls.png" id="3_rk7hg"]
[ext_resource type="Texture2D" uid="uid://ncvmnn4tck4x" path="res://assets/img/textures/houseroofs.png" id="4_se78b"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_f74lx"]
data = PackedVector3Array(-1.4375, -0.5, -1, -1.4375, 0.5, -0.0625, -1.4375, 0.5, -1, -1.4375, -0.5, -1, -1.4375, -0.5, -0.0625, -1.4375, 0.5, -0.0625, -1.5, 0.5, -0.0625, -1.5, -0.5, -1, -1.5, 0.5, -1, -1.5, 0.5, -0.0625, -1.5, -0.5, -0.0625, -1.5, -0.5, -1, -1.5, 0.5, -1, -1.4375, -0.5, -1, -1.4375, 0.5, -1, -1.5, 0.5, -1, -1.5, -0.5, -1, -1.4375, -0.5, -1, -1.4375, -0.5, -0.0625, -1.5, 0.5, -0.0625, -1.4375, 0.5, -0.0625, -1.4375, -0.5, -0.0625, -1.5, -0.5, -0.0625, -1.5, 0.5, -0.0625, -1.4375, 0.5, -0.0625, -1.5, 0.5, -1, -1.4375, 0.5, -1, -1.4375, 0.5, -0.0625, -1.5, 0.5, -0.0625, -1.5, 0.5, -1, -1.5, -0.5, -1, -1.4375, -0.5, -0.0625, -1.4375, -0.5, -1, -1.5, -0.5, -1, -1.5, -0.5, -0.0625, -1.4375, -0.5, -0.0625)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_ptc3g"]
data = PackedVector3Array(0.5, -0.5, -1, 0.5, 0.5, -0.0625, 0.5, 0.5, -1, 0.5, -0.5, -1, 0.5, -0.5, -0.0625, 0.5, 0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, -0.5, -1, 0.4375, 0.5, -1, 0.4375, 0.5, -0.0625, 0.4375, -0.5, -0.0625, 0.4375, -0.5, -1, 0.4375, 0.5, -1, 0.5, -0.5, -1, 0.5, 0.5, -1, 0.4375, 0.5, -1, 0.4375, -0.5, -1, 0.5, -0.5, -1, 0.5, -0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.5, 0.5, -0.0625, 0.5, -0.5, -0.0625, 0.4375, -0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.5, 0.5, -0.0625, 0.4375, 0.5, -1, 0.5, 0.5, -1, 0.5, 0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.5, -1, 0.4375, -0.5, -1, 0.5, -0.5, -0.0625, 0.5, -0.5, -1, 0.4375, -0.5, -1, 0.4375, -0.5, -0.0625, 0.5, -0.5, -0.0625)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_wcu0q"]
data = PackedVector3Array(0.4375, 0.5, -1, -1.4375, 0.4375, -1, 0.4375, 0.4375, -1, 0.4375, 0.5, -1, -1.4375, 0.5, -1, -1.4375, 0.4375, -1, -1.4375, 0.4375, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.4375, -0.0625, -1.4375, 0.4375, -0.0625, -1.4375, 0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.4375, -0.0625, 0.4375, 0.5, -1, 0.4375, 0.4375, -1, 0.4375, 0.4375, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.5, -1, -1.4375, 0.5, -1, -1.4375, 0.4375, -0.0625, -1.4375, 0.4375, -1, -1.4375, 0.5, -1, -1.4375, 0.5, -0.0625, -1.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.82809997, -1.4375, 0.4375, -1, -1.2188, 0.4375, -0.82809997, -1.2188, 0.4375, -0.82809997, -1.4375, 0.4375, -1, -1.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.82809997, 0.4375, 0.4375, -1, -1.4375, 0.4375, -1, -1.2188, 0.4375, -0.82809997, -1.4375, 0.4375, -0.0625, -1.2188, 0.4375, -0.4219, 0.21869999, 0.4375, -0.4219, 0.4375, 0.4375, -1, 0.21869999, 0.4375, -0.82809997, -1.2188, 0.4375, -0.4219, -1.4375, 0.4375, -0.0625, 0.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.4219, 0.4375, 0.4375, -0.0625, 0.4375, 0.4375, -1, -1.2188, 0.4375, -0.4219, 0.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.5, -0.82809997, 0.4375, 0.5, -0.0625, 0.21869999, 0.5, -0.4219, 0.21869999, 0.5, -0.4219, 0.4375, 0.5, -0.0625, -1.4375, 0.5, -0.0625, 0.21869999, 0.5, -0.82809997, 0.4375, 0.5, -1, 0.4375, 0.5, -0.0625, 0.21869999, 0.5, -0.4219, -1.4375, 0.5, -0.0625, -1.2188, 0.5, -0.4219, -1.2188, 0.5, -0.82809997, 0.4375, 0.5, -1, 0.21869999, 0.5, -0.82809997, -1.2188, 0.5, -0.4219, -1.4375, 0.5, -0.0625, -1.4375, 0.5, -1, -1.2188, 0.5, -0.82809997, -1.4375, 0.5, -1, 0.4375, 0.5, -1, -1.2188, 0.5, -0.4219, -1.4375, 0.5, -1, -1.2188, 0.5, -0.82809997, -1.2188, 0.4375, -0.4219, 0.21869999, 0.5, -0.4219, -1.2188, 0.5, -0.4219, -1.2188, 0.4375, -0.4219, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.5, -0.4219, -1.2188, 0.5, -0.4219, -1.2188, 0.4375, -0.82809997, -1.2188, 0.4375, -0.4219, -1.2188, 0.5, -0.4219, -1.2188, 0.5, -0.82809997, -1.2188, 0.4375, -0.82809997, -1.2188, 0.5, -0.82809997, 0.21869999, 0.4375, -0.82809997, -1.2188, 0.4375, -0.82809997, -1.2188, 0.5, -0.82809997, 0.21869999, 0.5, -0.82809997, 0.21869999, 0.4375, -0.82809997, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.5, -0.82809997, 0.21869999, 0.5, -0.4219, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.4375, -0.82809997, 0.21869999, 0.5, -0.82809997)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_bwc8c"]
data = PackedVector3Array(0.4375, -0.5, -0.0625, 0.4375, -0.4375, -1, 0.4375, -0.5, -1, 0.4375, -0.5, -0.0625, 0.4375, -0.4375, -0.0625, 0.4375, -0.4375, -1, 0.4375, -0.4375, -1, -1.4375, -0.5, -1, 0.4375, -0.5, -1, 0.4375, -0.4375, -1, -1.4375, -0.4375, -1, -1.4375, -0.5, -1, 0.0937, -0.5, -0.5281, -1.4375, -0.5, -1, -0.2188, -0.5, -0.5281, 0.0937, -0.5, -0.5281, 0.4375, -0.5, -1, -1.4375, -0.5, -1, 0.0937, -0.5, -0.0594, 0.4375, -0.5, -1, 0.0937, -0.5, -0.5281, 0.0937, -0.5, -0.0594, 0.4375, -0.5, -0.0625, 0.4375, -0.5, -1, -1.4375, -0.5, -0.5311, -0.2188, -0.5, -0.5281, -1.4375, -0.5, -1, -0.6484, -0.5, -0.5043, -0.2188, -0.5, -0.5281, -1.4375, -0.5, -0.5311, -0.6484, -0.5, -0.2086, -0.2188, -0.5, -0.5281, -0.6484, -0.5, -0.5043, -0.6484, -0.5, -0.5043, -1.4375, -0.5, -0.5311, -1.1328, -0.5, -0.5062, -0.6484, -0.5, -0.2086, -0.2188, -0.5, -0.0594, -0.2188, -0.5, -0.5281, -1.1328, -0.5, -0.5062, -1.4375, -0.5, -0.5311, -1.4375, -0.5, -0.0625, -1.1328, -0.5, -0.21059999, -0.2188, -0.5, -0.0594, -0.6484, -0.5, -0.2086, -1.1328, -0.5, -0.5062, -1.4375, -0.5, -0.0625, -1.1328, -0.5, -0.21059999, -1.1328, -0.5, -0.21059999, -1.4375, -0.5, -0.0625, -0.2188, -0.5, -0.0594, -0.2188, -0.5, -0.0594, 0.4375, -0.5, -0.0625, 0.0937, -0.5, -0.0594, -0.2188, -0.5, -0.0594, -1.4375, -0.5, -0.0625, 0.4375, -0.5, -0.0625, 0.0937, -0.4375, -0.5281, 0.4375, -0.4375, -0.0625, 0.0937, -0.4375, -0.0594, 0.0937, -0.4375, -0.5281, 0.4375, -0.4375, -1, 0.4375, -0.4375, -0.0625, -0.2188, -0.4375, -0.5281, 0.4375, -0.4375, -1, 0.0937, -0.4375, -0.5281, -0.2188, -0.4375, -0.5281, -1.4375, -0.4375, -1, 0.4375, -0.4375, -1, -0.2188, -0.4375, -0.5281, -1.4375, -0.4375, -0.536, -1.4375, -0.4375, -1, -1.1328, -0.4375, -0.51, -1.4375, -0.4375, -0.536, -0.2188, -0.4375, -0.5281, -1.1328, -0.4375, -0.2113, -1.4375, -0.4375, -0.536, -1.1328, -0.4375, -0.51, -1.1328, -0.4375, -0.51, -0.2188, -0.4375, -0.5281, -0.6484, -0.4375, -0.505, -1.1328, -0.4375, -0.2113, -1.4375, -0.4375, -0.0625, -1.4375, -0.4375, -0.536, -0.6484, -0.4375, -0.505, -0.2188, -0.4375, -0.5281, -0.2188, -0.4375, -0.0594, -0.6484, -0.4375, -0.2093, -1.4375, -0.4375, -0.0625, -1.1328, -0.4375, -0.2113, -0.6484, -0.4375, -0.505, -0.2188, -0.4375, -0.0594, -0.6484, -0.4375, -0.2093, -0.6484, -0.4375, -0.2093, -0.2188, -0.4375, -0.0594, -1.4375, -0.4375, -0.0625, 0.0937, -0.4375, -0.0594, -1.4375, -0.4375, -0.0625, -0.2188, -0.4375, -0.0594, 0.0937, -0.4375, -0.0594, 0.4375, -0.4375, -0.0625, -1.4375, -0.4375, -0.0625, -1.4375, -0.5, -0.5311, -1.4375, -0.4375, -0.0625, -1.4375, -0.5, -0.0625, -1.4375, -0.5, -0.5311, -1.4375, -0.4375, -0.536, -1.4375, -0.4375, -0.0625, -1.4375, -0.4375, -0.536, -1.4375, -0.5, -0.5311, -1.4375, -0.5, -1, -1.4375, -0.4375, -0.536, -1.4375, -0.5, -1, -1.4375, -0.4375, -1, 0.0937, -0.4375, -0.5281, 0.0937, -0.5, -0.0594, 0.0937, -0.5, -0.5281, 0.0937, -0.4375, -0.5281, 0.0937, -0.4375, -0.0594, 0.0937, -0.5, -0.0594, -0.2188, -0.5, -0.5281, -0.2188, -0.4375, -0.0594, -0.2188, -0.4375, -0.5281, -0.2188, -0.5, -0.5281, -0.2188, -0.5, -0.0594, -0.2188, -0.4375, -0.0594, -0.2188, -0.5, -0.5281, 0.0937, -0.4375, -0.5281, 0.0937, -0.5, -0.5281, -0.2188, -0.5, -0.5281, -0.2188, -0.4375, -0.5281, 0.0937, -0.4375, -0.5281, -0.6484, -0.5, -0.2086, -0.6484, -0.4375, -0.505, -0.6484, -0.4375, -0.2093, -0.6484, -0.5, -0.2086, -0.6484, -0.5, -0.5043, -0.6484, -0.4375, -0.505, -1.1328, -0.5, -0.21059999, -0.6484, -0.4375, -0.2093, -1.1328, -0.4375, -0.2113, -1.1328, -0.5, -0.21059999, -0.6484, -0.5, -0.2086, -0.6484, -0.4375, -0.2093, -1.1328, -0.5, -0.5062, -1.1328, -0.4375, -0.2113, -1.1328, -0.4375, -0.51, -1.1328, -0.5, -0.5062, -1.1328, -0.5, -0.21059999, -1.1328, -0.4375, -0.2113, -0.6484, -0.5, -0.5043, -1.1328, -0.4375, -0.51, -0.6484, -0.4375, -0.505, -0.6484, -0.5, -0.5043, -1.1328, -0.5, -0.5062, -1.1328, -0.4375, -0.51, -1.4375, -0.5, -0.0625, 0.4375, -0.4375, -0.0625, 0.4375, -0.5, -0.0625, -1.4375, -0.5, -0.0625, -1.4375, -0.4375, -0.0625, 0.4375, -0.4375, -0.0625)
[sub_resource type="BoxShape3D" id="BoxShape3D_f74lx"]
size = Vector3(2, 1, 0.0625)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f74lx"]
albedo_color = Color(0.68307734, 0.6830774, 0.68307734, 1)
albedo_texture = ExtResource("2_3bgk5")
normal_enabled = true
normal_scale = 3.0
normal_texture = ExtResource("3_f74lx")
uv1_scale = Vector3(0.59, 0.84, 0.84)
uv1_offset = Vector3(-1.04, 0.395, 0)
uv1_triplanar = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rk7hg"]
albedo_texture = ExtResource("2_qtlar")
normal_enabled = true
normal_scale = 3.0
normal_texture = ExtResource("3_rk7hg")
uv1_scale = Vector3(0.865, 0.865, 0.865)
uv1_offset = Vector3(-0.34, 1.48, 0.035)
uv1_triplanar = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3bgk5"]
albedo_texture = ExtResource("4_se78b")
normal_enabled = true
uv1_scale = Vector3(0.5, 0.5, 0.5)
uv1_offset = Vector3(-0.25, 0.455, 0)
uv1_triplanar = true
uv1_triplanar_sharpness = 2.378415
[node name="house" unique_id=1699193859 instance=ExtResource("1_qtlar")]
[node name="StaticBody3D" type="StaticBody3D" parent="." index="0" unique_id=1422989726]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0" unique_id=1147033829]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_f74lx")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D" index="1" unique_id=715017154]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_ptc3g")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="StaticBody3D" index="2" unique_id=78085714]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_wcu0q")
[node name="CollisionShape3D4" type="CollisionShape3D" parent="StaticBody3D" index="3" unique_id=373353001]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_bwc8c")
[node name="CollisionShape3D5" type="CollisionShape3D" parent="StaticBody3D" index="4" unique_id=1300198327]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, -0.5, 0.03125, 0)
shape = SubResource("BoxShape3D_f74lx")
[node name="floor" parent="." index="1" unique_id=1878065990]
material_override = SubResource("StandardMaterial3D_f74lx")
[node name="wallR" parent="." index="2" unique_id=552690458]
material_override = SubResource("StandardMaterial3D_rk7hg")
[node name="wallL" parent="." index="3" unique_id=547749752]
material_override = SubResource("StandardMaterial3D_rk7hg")
[node name="wallB" parent="." index="4" unique_id=1632517268]
material_override = SubResource("StandardMaterial3D_rk7hg")
[node name="wallF" parent="." index="5" unique_id=849564629]
material_override = SubResource("StandardMaterial3D_rk7hg")
[node name="roof" parent="." index="6" unique_id=169749253]
material_override = SubResource("StandardMaterial3D_3bgk5")
[node name="roofB" parent="." index="7" unique_id=1038723892]
material_override = SubResource("StandardMaterial3D_3bgk5")
[node name="roofL" parent="." index="8" unique_id=1922219957]
material_override = SubResource("StandardMaterial3D_3bgk5")
[node name="roofR" parent="." index="9" unique_id=1036763893]
material_override = SubResource("StandardMaterial3D_3bgk5")
+73
View File
@@ -0,0 +1,73 @@
[gd_scene format=3 uid="uid://5p51ufxgpmrq"]
[ext_resource type="PackedScene" uid="uid://61a3p5h35tkb" path="res://assets/blender/house_bis.glb" id="1_s43hf"]
[ext_resource type="Texture2D" uid="uid://uuaidsic32bq" path="res://assets/img/textures/housefloor.png" id="2_kr02q"]
[ext_resource type="Texture2D" uid="uid://cpe28cccrcha0" path="res://assets/img/normals/housefloor.png" id="3_oc7ix"]
[ext_resource type="Texture2D" uid="uid://5urp0eyv7x3k" path="res://assets/img/textures/housewalls.png" id="4_yvdf1"]
[ext_resource type="Texture2D" uid="uid://b54qtjv0lyufs" path="res://assets/img/normals/housewalls.png" id="5_s4lc2"]
[ext_resource type="Texture2D" uid="uid://ncvmnn4tck4x" path="res://assets/img/textures/houseroofs.png" id="6_dvvou"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f74lx"]
albedo_color = Color(0.68307734, 0.6830774, 0.68307734, 1)
albedo_texture = ExtResource("2_kr02q")
normal_enabled = true
normal_scale = 3.0
normal_texture = ExtResource("3_oc7ix")
uv1_scale = Vector3(0.59, 0.84, 0.84)
uv1_offset = Vector3(-1.04, 0.395, 0)
uv1_triplanar = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rk7hg"]
albedo_texture = ExtResource("4_yvdf1")
normal_enabled = true
normal_scale = 3.0
normal_texture = ExtResource("5_s4lc2")
uv1_scale = Vector3(0.865, 0.865, 0.865)
uv1_offset = Vector3(-0.34, 1.48, 0.035)
uv1_triplanar = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3bgk5"]
albedo_texture = ExtResource("6_dvvou")
normal_enabled = true
uv1_scale = Vector3(0.5, 0.5, 0.5)
uv1_offset = Vector3(-0.25, 0.455, 0)
uv1_triplanar = true
uv1_triplanar_sharpness = 2.378415
[node name="house" unique_id=1699193859 instance=ExtResource("1_s43hf")]
[node name="floor" parent="." index="0" unique_id=1878065990]
material_override = SubResource("StandardMaterial3D_f74lx")
cast_shadow = 0
[node name="wallR" parent="." index="1" unique_id=552690458]
material_override = SubResource("StandardMaterial3D_rk7hg")
cast_shadow = 0
[node name="wallL" parent="." index="2" unique_id=547749752]
material_override = SubResource("StandardMaterial3D_rk7hg")
cast_shadow = 0
[node name="wallB" parent="." index="3" unique_id=1632517268]
material_override = SubResource("StandardMaterial3D_rk7hg")
cast_shadow = 0
[node name="wallF" parent="." index="4" unique_id=849564629]
material_override = SubResource("StandardMaterial3D_rk7hg")
cast_shadow = 0
[node name="roof" parent="." index="5" unique_id=169749253]
material_override = SubResource("StandardMaterial3D_3bgk5")
cast_shadow = 0
[node name="roofB" parent="." index="6" unique_id=1038723892]
material_override = SubResource("StandardMaterial3D_3bgk5")
cast_shadow = 0
[node name="roofL" parent="." index="7" unique_id=1922219957]
material_override = SubResource("StandardMaterial3D_3bgk5")
cast_shadow = 0
[node name="roofR" parent="." index="8" unique_id=1036763893]
material_override = SubResource("StandardMaterial3D_3bgk5")
cast_shadow = 0
+101
View File
@@ -0,0 +1,101 @@
[gd_scene format=3 uid="uid://cf7l4kwrovys"]
[ext_resource type="PackedScene" uid="uid://61a3p5h35tkb" path="res://assets/blender/house_bis.glb" id="1_7bc46"]
[ext_resource type="Texture2D" uid="uid://dl36t240dslpq" path="res://assets/img/textures/housebisfloor.png" id="2_7bc46"]
[ext_resource type="Texture2D" uid="uid://b8awruooi8puw" path="res://assets/img/normals/housebisfloor.png" id="3_7bc46"]
[ext_resource type="Texture2D" uid="uid://v1p1gomylvj4" path="res://assets/img/textures/housebiswall.png" id="4_7bc46"]
[ext_resource type="Texture2D" uid="uid://cok6m2tu70x6q" path="res://assets/img/normals/housebiswalls.png" id="5_7bc46"]
[ext_resource type="Texture2D" uid="uid://ncvmnn4tck4x" path="res://assets/img/textures/houseroofs.png" id="6_qotll"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_f74lx"]
data = PackedVector3Array(-1.4375, -0.5, -1, -1.4375, 0.5, -0.0625, -1.4375, 0.5, -1, -1.4375, -0.5, -1, -1.4375, -0.5, -0.0625, -1.4375, 0.5, -0.0625, -1.5, 0.5, -0.0625, -1.5, -0.5, -1, -1.5, 0.5, -1, -1.5, 0.5, -0.0625, -1.5, -0.5, -0.0625, -1.5, -0.5, -1, -1.5, 0.5, -1, -1.4375, -0.5, -1, -1.4375, 0.5, -1, -1.5, 0.5, -1, -1.5, -0.5, -1, -1.4375, -0.5, -1, -1.4375, -0.5, -0.0625, -1.5, 0.5, -0.0625, -1.4375, 0.5, -0.0625, -1.4375, -0.5, -0.0625, -1.5, -0.5, -0.0625, -1.5, 0.5, -0.0625, -1.4375, 0.5, -0.0625, -1.5, 0.5, -1, -1.4375, 0.5, -1, -1.4375, 0.5, -0.0625, -1.5, 0.5, -0.0625, -1.5, 0.5, -1, -1.5, -0.5, -1, -1.4375, -0.5, -0.0625, -1.4375, -0.5, -1, -1.5, -0.5, -1, -1.5, -0.5, -0.0625, -1.4375, -0.5, -0.0625)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_ptc3g"]
data = PackedVector3Array(0.5, -0.5, -1, 0.5, 0.5, -0.0625, 0.5, 0.5, -1, 0.5, -0.5, -1, 0.5, -0.5, -0.0625, 0.5, 0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, -0.5, -1, 0.4375, 0.5, -1, 0.4375, 0.5, -0.0625, 0.4375, -0.5, -0.0625, 0.4375, -0.5, -1, 0.4375, 0.5, -1, 0.5, -0.5, -1, 0.5, 0.5, -1, 0.4375, 0.5, -1, 0.4375, -0.5, -1, 0.5, -0.5, -1, 0.5, -0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.5, 0.5, -0.0625, 0.5, -0.5, -0.0625, 0.4375, -0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.5, 0.5, -0.0625, 0.4375, 0.5, -1, 0.5, 0.5, -1, 0.5, 0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.5, -1, 0.4375, -0.5, -1, 0.5, -0.5, -0.0625, 0.5, -0.5, -1, 0.4375, -0.5, -1, 0.4375, -0.5, -0.0625, 0.5, -0.5, -0.0625)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_wcu0q"]
data = PackedVector3Array(0.4375, 0.5, -1, -1.4375, 0.4375, -1, 0.4375, 0.4375, -1, 0.4375, 0.5, -1, -1.4375, 0.5, -1, -1.4375, 0.4375, -1, -1.4375, 0.4375, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.4375, -0.0625, -1.4375, 0.4375, -0.0625, -1.4375, 0.5, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.4375, -0.0625, 0.4375, 0.5, -1, 0.4375, 0.4375, -1, 0.4375, 0.4375, -0.0625, 0.4375, 0.5, -0.0625, 0.4375, 0.5, -1, -1.4375, 0.5, -1, -1.4375, 0.4375, -0.0625, -1.4375, 0.4375, -1, -1.4375, 0.5, -1, -1.4375, 0.5, -0.0625, -1.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.82809997, -1.4375, 0.4375, -1, -1.2188, 0.4375, -0.82809997, -1.2188, 0.4375, -0.82809997, -1.4375, 0.4375, -1, -1.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.82809997, 0.4375, 0.4375, -1, -1.4375, 0.4375, -1, -1.2188, 0.4375, -0.82809997, -1.4375, 0.4375, -0.0625, -1.2188, 0.4375, -0.4219, 0.21869999, 0.4375, -0.4219, 0.4375, 0.4375, -1, 0.21869999, 0.4375, -0.82809997, -1.2188, 0.4375, -0.4219, -1.4375, 0.4375, -0.0625, 0.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.4219, 0.4375, 0.4375, -0.0625, 0.4375, 0.4375, -1, -1.2188, 0.4375, -0.4219, 0.4375, 0.4375, -0.0625, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.5, -0.82809997, 0.4375, 0.5, -0.0625, 0.21869999, 0.5, -0.4219, 0.21869999, 0.5, -0.4219, 0.4375, 0.5, -0.0625, -1.4375, 0.5, -0.0625, 0.21869999, 0.5, -0.82809997, 0.4375, 0.5, -1, 0.4375, 0.5, -0.0625, 0.21869999, 0.5, -0.4219, -1.4375, 0.5, -0.0625, -1.2188, 0.5, -0.4219, -1.2188, 0.5, -0.82809997, 0.4375, 0.5, -1, 0.21869999, 0.5, -0.82809997, -1.2188, 0.5, -0.4219, -1.4375, 0.5, -0.0625, -1.4375, 0.5, -1, -1.2188, 0.5, -0.82809997, -1.4375, 0.5, -1, 0.4375, 0.5, -1, -1.2188, 0.5, -0.4219, -1.4375, 0.5, -1, -1.2188, 0.5, -0.82809997, -1.2188, 0.4375, -0.4219, 0.21869999, 0.5, -0.4219, -1.2188, 0.5, -0.4219, -1.2188, 0.4375, -0.4219, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.5, -0.4219, -1.2188, 0.5, -0.4219, -1.2188, 0.4375, -0.82809997, -1.2188, 0.4375, -0.4219, -1.2188, 0.5, -0.4219, -1.2188, 0.5, -0.82809997, -1.2188, 0.4375, -0.82809997, -1.2188, 0.5, -0.82809997, 0.21869999, 0.4375, -0.82809997, -1.2188, 0.4375, -0.82809997, -1.2188, 0.5, -0.82809997, 0.21869999, 0.5, -0.82809997, 0.21869999, 0.4375, -0.82809997, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.5, -0.82809997, 0.21869999, 0.5, -0.4219, 0.21869999, 0.4375, -0.4219, 0.21869999, 0.4375, -0.82809997, 0.21869999, 0.5, -0.82809997)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_bwc8c"]
data = PackedVector3Array(0.4375, -0.5, -0.0625, 0.4375, -0.4375, -1, 0.4375, -0.5, -1, 0.4375, -0.5, -0.0625, 0.4375, -0.4375, -0.0625, 0.4375, -0.4375, -1, 0.4375, -0.4375, -1, -1.4375, -0.5, -1, 0.4375, -0.5, -1, 0.4375, -0.4375, -1, -1.4375, -0.4375, -1, -1.4375, -0.5, -1, 0.0937, -0.5, -0.5281, -1.4375, -0.5, -1, -0.2188, -0.5, -0.5281, 0.0937, -0.5, -0.5281, 0.4375, -0.5, -1, -1.4375, -0.5, -1, 0.0937, -0.5, -0.0594, 0.4375, -0.5, -1, 0.0937, -0.5, -0.5281, 0.0937, -0.5, -0.0594, 0.4375, -0.5, -0.0625, 0.4375, -0.5, -1, -1.4375, -0.5, -0.5311, -0.2188, -0.5, -0.5281, -1.4375, -0.5, -1, -0.6484, -0.5, -0.5043, -0.2188, -0.5, -0.5281, -1.4375, -0.5, -0.5311, -0.6484, -0.5, -0.2086, -0.2188, -0.5, -0.5281, -0.6484, -0.5, -0.5043, -0.6484, -0.5, -0.5043, -1.4375, -0.5, -0.5311, -1.1328, -0.5, -0.5062, -0.6484, -0.5, -0.2086, -0.2188, -0.5, -0.0594, -0.2188, -0.5, -0.5281, -1.1328, -0.5, -0.5062, -1.4375, -0.5, -0.5311, -1.4375, -0.5, -0.0625, -1.1328, -0.5, -0.21059999, -0.2188, -0.5, -0.0594, -0.6484, -0.5, -0.2086, -1.1328, -0.5, -0.5062, -1.4375, -0.5, -0.0625, -1.1328, -0.5, -0.21059999, -1.1328, -0.5, -0.21059999, -1.4375, -0.5, -0.0625, -0.2188, -0.5, -0.0594, -0.2188, -0.5, -0.0594, 0.4375, -0.5, -0.0625, 0.0937, -0.5, -0.0594, -0.2188, -0.5, -0.0594, -1.4375, -0.5, -0.0625, 0.4375, -0.5, -0.0625, 0.0937, -0.4375, -0.5281, 0.4375, -0.4375, -0.0625, 0.0937, -0.4375, -0.0594, 0.0937, -0.4375, -0.5281, 0.4375, -0.4375, -1, 0.4375, -0.4375, -0.0625, -0.2188, -0.4375, -0.5281, 0.4375, -0.4375, -1, 0.0937, -0.4375, -0.5281, -0.2188, -0.4375, -0.5281, -1.4375, -0.4375, -1, 0.4375, -0.4375, -1, -0.2188, -0.4375, -0.5281, -1.4375, -0.4375, -0.536, -1.4375, -0.4375, -1, -1.1328, -0.4375, -0.51, -1.4375, -0.4375, -0.536, -0.2188, -0.4375, -0.5281, -1.1328, -0.4375, -0.2113, -1.4375, -0.4375, -0.536, -1.1328, -0.4375, -0.51, -1.1328, -0.4375, -0.51, -0.2188, -0.4375, -0.5281, -0.6484, -0.4375, -0.505, -1.1328, -0.4375, -0.2113, -1.4375, -0.4375, -0.0625, -1.4375, -0.4375, -0.536, -0.6484, -0.4375, -0.505, -0.2188, -0.4375, -0.5281, -0.2188, -0.4375, -0.0594, -0.6484, -0.4375, -0.2093, -1.4375, -0.4375, -0.0625, -1.1328, -0.4375, -0.2113, -0.6484, -0.4375, -0.505, -0.2188, -0.4375, -0.0594, -0.6484, -0.4375, -0.2093, -0.6484, -0.4375, -0.2093, -0.2188, -0.4375, -0.0594, -1.4375, -0.4375, -0.0625, 0.0937, -0.4375, -0.0594, -1.4375, -0.4375, -0.0625, -0.2188, -0.4375, -0.0594, 0.0937, -0.4375, -0.0594, 0.4375, -0.4375, -0.0625, -1.4375, -0.4375, -0.0625, -1.4375, -0.5, -0.5311, -1.4375, -0.4375, -0.0625, -1.4375, -0.5, -0.0625, -1.4375, -0.5, -0.5311, -1.4375, -0.4375, -0.536, -1.4375, -0.4375, -0.0625, -1.4375, -0.4375, -0.536, -1.4375, -0.5, -0.5311, -1.4375, -0.5, -1, -1.4375, -0.4375, -0.536, -1.4375, -0.5, -1, -1.4375, -0.4375, -1, 0.0937, -0.4375, -0.5281, 0.0937, -0.5, -0.0594, 0.0937, -0.5, -0.5281, 0.0937, -0.4375, -0.5281, 0.0937, -0.4375, -0.0594, 0.0937, -0.5, -0.0594, -0.2188, -0.5, -0.5281, -0.2188, -0.4375, -0.0594, -0.2188, -0.4375, -0.5281, -0.2188, -0.5, -0.5281, -0.2188, -0.5, -0.0594, -0.2188, -0.4375, -0.0594, -0.2188, -0.5, -0.5281, 0.0937, -0.4375, -0.5281, 0.0937, -0.5, -0.5281, -0.2188, -0.5, -0.5281, -0.2188, -0.4375, -0.5281, 0.0937, -0.4375, -0.5281, -0.6484, -0.5, -0.2086, -0.6484, -0.4375, -0.505, -0.6484, -0.4375, -0.2093, -0.6484, -0.5, -0.2086, -0.6484, -0.5, -0.5043, -0.6484, -0.4375, -0.505, -1.1328, -0.5, -0.21059999, -0.6484, -0.4375, -0.2093, -1.1328, -0.4375, -0.2113, -1.1328, -0.5, -0.21059999, -0.6484, -0.5, -0.2086, -0.6484, -0.4375, -0.2093, -1.1328, -0.5, -0.5062, -1.1328, -0.4375, -0.2113, -1.1328, -0.4375, -0.51, -1.1328, -0.5, -0.5062, -1.1328, -0.5, -0.21059999, -1.1328, -0.4375, -0.2113, -0.6484, -0.5, -0.5043, -1.1328, -0.4375, -0.51, -0.6484, -0.4375, -0.505, -0.6484, -0.5, -0.5043, -1.1328, -0.5, -0.5062, -1.1328, -0.4375, -0.51, -1.4375, -0.5, -0.0625, 0.4375, -0.4375, -0.0625, 0.4375, -0.5, -0.0625, -1.4375, -0.5, -0.0625, -1.4375, -0.4375, -0.0625, 0.4375, -0.4375, -0.0625)
[sub_resource type="BoxShape3D" id="BoxShape3D_f74lx"]
size = Vector3(2, 1, 0.0625)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f74lx"]
albedo_color = Color(0.68307734, 0.6830774, 0.68307734, 1)
albedo_texture = ExtResource("2_7bc46")
normal_enabled = true
normal_scale = 3.0
normal_texture = ExtResource("3_7bc46")
uv1_scale = Vector3(0.59, 0.84, 0.84)
uv1_offset = Vector3(-1.04, 0.395, 0)
uv1_triplanar = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rk7hg"]
albedo_texture = ExtResource("4_7bc46")
normal_enabled = true
normal_scale = 3.0
normal_texture = ExtResource("5_7bc46")
uv1_scale = Vector3(0.865, 0.865, 0.865)
uv1_offset = Vector3(-0.34, 1.48, 0.035)
uv1_triplanar = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3bgk5"]
albedo_texture = ExtResource("6_qotll")
normal_enabled = true
uv1_scale = Vector3(0.5, 0.5, 0.5)
uv1_offset = Vector3(-0.25, 0.455, 0)
uv1_triplanar = true
uv1_triplanar_sharpness = 2.378415
[node name="house" unique_id=1699193859 instance=ExtResource("1_7bc46")]
[node name="StaticBody3D" type="StaticBody3D" parent="." index="0" unique_id=1422989726]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0" unique_id=1147033829]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_f74lx")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D" index="1" unique_id=715017154]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_ptc3g")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="StaticBody3D" index="2" unique_id=78085714]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_wcu0q")
[node name="CollisionShape3D4" type="CollisionShape3D" parent="StaticBody3D" index="3" unique_id=373353001]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_bwc8c")
[node name="CollisionShape3D5" type="CollisionShape3D" parent="StaticBody3D" index="4" unique_id=1300198327]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, -0.5, 0.03125, 0)
shape = SubResource("BoxShape3D_f74lx")
[node name="floor" parent="." index="1" unique_id=1878065990]
material_override = SubResource("StandardMaterial3D_f74lx")
[node name="wallR" parent="." index="2" unique_id=552690458]
material_override = SubResource("StandardMaterial3D_rk7hg")
[node name="wallL" parent="." index="3" unique_id=547749752]
material_override = SubResource("StandardMaterial3D_rk7hg")
[node name="wallB" parent="." index="4" unique_id=1632517268]
material_override = SubResource("StandardMaterial3D_rk7hg")
[node name="wallF" parent="." index="5" unique_id=849564629]
material_override = SubResource("StandardMaterial3D_rk7hg")
[node name="roof" parent="." index="6" unique_id=169749253]
material_override = SubResource("StandardMaterial3D_3bgk5")
[node name="roofB" parent="." index="7" unique_id=1038723892]
material_override = SubResource("StandardMaterial3D_3bgk5")
[node name="roofL" parent="." index="8" unique_id=1922219957]
material_override = SubResource("StandardMaterial3D_3bgk5")
[node name="roofR" parent="." index="9" unique_id=1036763893]
material_override = SubResource("StandardMaterial3D_3bgk5")
+73
View File
@@ -0,0 +1,73 @@
[gd_scene format=3 uid="uid://dtqgrc01dwhso"]
[ext_resource type="PackedScene" uid="uid://61a3p5h35tkb" path="res://assets/blender/house_bis.glb" id="1_tibdy"]
[ext_resource type="Texture2D" uid="uid://dl36t240dslpq" path="res://assets/img/textures/housebisfloor.png" id="2_6fjtr"]
[ext_resource type="Texture2D" uid="uid://b8awruooi8puw" path="res://assets/img/normals/housebisfloor.png" id="3_575vt"]
[ext_resource type="Texture2D" uid="uid://v1p1gomylvj4" path="res://assets/img/textures/housebiswall.png" id="4_ob1sp"]
[ext_resource type="Texture2D" uid="uid://cok6m2tu70x6q" path="res://assets/img/normals/housebiswalls.png" id="5_ndoyt"]
[ext_resource type="Texture2D" uid="uid://ncvmnn4tck4x" path="res://assets/img/textures/houseroofs.png" id="6_7a34p"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f74lx"]
albedo_color = Color(0.68307734, 0.6830774, 0.68307734, 1)
albedo_texture = ExtResource("2_6fjtr")
normal_enabled = true
normal_scale = 3.0
normal_texture = ExtResource("3_575vt")
uv1_scale = Vector3(0.59, 0.84, 0.84)
uv1_offset = Vector3(-1.04, 0.395, 0)
uv1_triplanar = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rk7hg"]
albedo_texture = ExtResource("4_ob1sp")
normal_enabled = true
normal_scale = 3.0
normal_texture = ExtResource("5_ndoyt")
uv1_scale = Vector3(0.865, 0.865, 0.865)
uv1_offset = Vector3(-0.34, 1.48, 0.035)
uv1_triplanar = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3bgk5"]
albedo_texture = ExtResource("6_7a34p")
normal_enabled = true
uv1_scale = Vector3(0.5, 0.5, 0.5)
uv1_offset = Vector3(-0.25, 0.455, 0)
uv1_triplanar = true
uv1_triplanar_sharpness = 2.378415
[node name="house" unique_id=1699193859 instance=ExtResource("1_tibdy")]
[node name="floor" parent="." index="0" unique_id=1878065990]
material_override = SubResource("StandardMaterial3D_f74lx")
cast_shadow = 0
[node name="wallR" parent="." index="1" unique_id=552690458]
material_override = SubResource("StandardMaterial3D_rk7hg")
cast_shadow = 0
[node name="wallL" parent="." index="2" unique_id=547749752]
material_override = SubResource("StandardMaterial3D_rk7hg")
cast_shadow = 0
[node name="wallB" parent="." index="3" unique_id=1632517268]
material_override = SubResource("StandardMaterial3D_rk7hg")
cast_shadow = 0
[node name="wallF" parent="." index="4" unique_id=849564629]
material_override = SubResource("StandardMaterial3D_rk7hg")
cast_shadow = 0
[node name="roof" parent="." index="5" unique_id=169749253]
material_override = SubResource("StandardMaterial3D_3bgk5")
cast_shadow = 0
[node name="roofB" parent="." index="6" unique_id=1038723892]
material_override = SubResource("StandardMaterial3D_3bgk5")
cast_shadow = 0
[node name="roofL" parent="." index="7" unique_id=1922219957]
material_override = SubResource("StandardMaterial3D_3bgk5")
cast_shadow = 0
[node name="roofR" parent="." index="8" unique_id=1036763893]
material_override = SubResource("StandardMaterial3D_3bgk5")
cast_shadow = 0
BIN
View File
Binary file not shown.
Binary file not shown.
+172
View File
@@ -0,0 +1,172 @@
[gd_scene format=3 uid="uid://b26lewmnsfj8a"]
[ext_resource type="Script" uid="uid://de33ywim0v35a" path="res://scripts/menu.gd" id="1_ufwb2"]
[ext_resource type="Texture2D" uid="uid://dt6ya80yl0g46" path="res://assets/img/textures/cin60137.jpg" id="3_v86rl"]
[ext_resource type="Texture2D" uid="uid://cdnkgbmh886ry" path="res://assets/img/ui/fr_b.png" id="5_v86rl"]
[ext_resource type="Shader" uid="uid://1we0jycvvn8u" path="res://assets/shader/pause.gdshader" id="13_6cdou"]
[ext_resource type="Texture2D" uid="uid://6pnnmpe5kfob" path="res://assets/img/textures/GRYDIRT2.JPG" id="14_7jp70"]
[ext_resource type="Texture2D" uid="uid://djdak04s0psnx" path="res://assets/img/sky/rogland_clear_night.jpg" id="14_i42df"]
[ext_resource type="Texture2D" uid="uid://mpo1px8jnlyq" path="res://assets/img/ui/en.png" id="17_3dmrc"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_7jp70"]
panorama = ExtResource("14_i42df")
[sub_resource type="Sky" id="Sky_ilty0"]
sky_material = SubResource("PanoramaSkyMaterial_7jp70")
[sub_resource type="Environment" id="Environment_mxgkd"]
background_mode = 2
sky = SubResource("Sky_ilty0")
tonemap_mode = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_13sgg"]
albedo_texture = ExtResource("3_v86rl")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_6cdou"]
shader = ExtResource("13_6cdou")
shader_parameter/lod = 0.0
[sub_resource type="ViewportTexture" id="ViewportTexture_6cdou"]
viewport_path = NodePath("Sprite3D/SubViewport")
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mxgkd"]
texture = ExtResource("14_7jp70")
texture_margin_left = 117.0
modulate_color = Color(0.21768793, 0.19432282, 0.106170125, 1)
[node name="Menu" type="Node3D" unique_id=1064277368]
script = ExtResource("1_ufwb2")
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1329831783]
environment = SubResource("Environment_mxgkd")
[node name="floor" type="CSGBox3D" parent="." unique_id=1868334949]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -24.59195, 0.11557007, 0)
material_override = SubResource("StandardMaterial3D_13sgg")
use_collision = true
size = Vector3(106.67551, 1, 54.07837)
[node name="Camera3D" type="Camera3D" parent="." unique_id=1267348627]
transform = Transform3D(-0.8448849, -0.06828018, 0.5305728, -0.013883759, 0.9942856, 0.10584749, -0.5347682, 0.0820626, -0.84100455, 12.470481, 2.312337, 0.3884548)
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=1178058258]
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -455.0
offset_top = -159.0
offset_right = 399.0
offset_bottom = -96.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 4
[node name="Start" type="Button" parent="HBoxContainer" unique_id=1727461751]
layout_mode = 2
theme_override_font_sizes/font_size = 40
text = "Commencer"
[node name="i" type="Button" parent="HBoxContainer" unique_id=944988885]
material = SubResource("ShaderMaterial_6cdou")
layout_mode = 2
theme_override_font_sizes/font_size = 40
text = " "
[node name="Quit" type="Button" parent="HBoxContainer" unique_id=2068217536]
layout_mode = 2
theme_override_font_sizes/font_size = 40
text = "Quitter"
[node name="i2" type="Button" parent="HBoxContainer" unique_id=1363635639]
material = SubResource("ShaderMaterial_6cdou")
layout_mode = 2
theme_override_font_sizes/font_size = 40
text = " "
[node name="Credit" type="Button" parent="HBoxContainer" unique_id=1678492232]
layout_mode = 2
theme_override_font_sizes/font_size = 40
text = "Credits"
[node name="i3" type="Button" parent="HBoxContainer" unique_id=1912463808]
material = SubResource("ShaderMaterial_6cdou")
layout_mode = 2
theme_override_font_sizes/font_size = 40
text = " "
[node name="fr" type="TextureButton" parent="HBoxContainer" unique_id=151038084]
z_index = 1
layout_mode = 2
size_flags_vertical = 4
texture_normal = ExtResource("5_v86rl")
[node name="i4" type="Button" parent="HBoxContainer" unique_id=448501036]
material = SubResource("ShaderMaterial_6cdou")
layout_mode = 2
theme_override_font_sizes/font_size = 40
text = " "
[node name="en" type="TextureButton" parent="HBoxContainer" unique_id=733177303]
layout_mode = 2
size_flags_vertical = 4
texture_normal = ExtResource("17_3dmrc")
[node name="HBoxContainer2" type="HBoxContainer" parent="." unique_id=1520013053]
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -84.5
offset_top = -63.0
offset_right = 84.5
grow_horizontal = 2
grow_vertical = 0
[node name="Screen" type="Button" parent="HBoxContainer2" unique_id=1175982664]
layout_mode = 2
theme_override_font_sizes/font_size = 30
text = "Plein ecran"
[node name="Sprite3D" type="Sprite3D" parent="." unique_id=340944975]
transform = Transform3D(0.082015246, 0.02591525, 0.99629414, -0.00212616, 0.99966425, -0.025827877, -0.9966288, -1.0481225e-09, 0.08204281, 1.1284189, 7.4036493, -3.3047075)
texture = SubResource("ViewportTexture_6cdou")
[node name="SubViewport" type="SubViewport" parent="Sprite3D" unique_id=732684053]
size = Vector2i(1110, 1240)
[node name="credit_label" type="Label" parent="Sprite3D/SubViewport" unique_id=924928650]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -251.5
offset_top = -317.5
offset_right = 251.5
offset_bottom = 317.5
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 80
theme_override_styles/normal = SubResource("StyleBoxTexture_mxgkd")
text = "Credits
Jeu : Pouet
Sons : Playable Workshop,
Pixabay
Musique : Pouet
Textures : TextureTown
Ciel : Poly Haven"
horizontal_alignment = 1
[connection signal="pressed" from="HBoxContainer/Start" to="." method="_on_start_pressed"]
[connection signal="pressed" from="HBoxContainer/Quit" to="." method="_on_quit_pressed"]
[connection signal="pressed" from="HBoxContainer/Credit" to="." method="_on_credit_pressed"]
[connection signal="pressed" from="HBoxContainer/fr" to="." method="_on_fr_pressed"]
[connection signal="pressed" from="HBoxContainer/en" to="." method="_on_en_pressed"]
[connection signal="pressed" from="HBoxContainer2/Screen" to="." method="_on_screen_pressed"]
+5
View File
@@ -0,0 +1,5 @@
[gd_scene format=3 uid="uid://cy7bho7n2htt6"]
[ext_resource type="PackedScene" uid="uid://dbj7lpj43ul8q" path="res://assets/blender/mountains.glb" id="1_7t4qa"]
[node name="mountains" unique_id=1489049164 instance=ExtResource("1_7t4qa")]
+5
View File
@@ -0,0 +1,5 @@
[gd_scene format=3 uid="uid://dfir65uo78s83"]
[ext_resource type="PackedScene" uid="uid://bql0h0h5nkgex" path="res://assets/blender/mountainsbis.glb" id="1_ax20v"]
[node name="mountainsbis" unique_id=1420881740 instance=ExtResource("1_ax20v")]
+67
View File
@@ -0,0 +1,67 @@
[gd_scene format=3 uid="uid://bhqudfixefudt"]
[ext_resource type="Script" uid="uid://dcfljv6govi7a" path="res://scripts/player.gd" id="1_3vyb7"]
[ext_resource type="Script" uid="uid://d2qmolg6y1gq2" path="res://scripts/spring_arm_3d.gd" id="2_g2els"]
[ext_resource type="PackedScene" uid="uid://cm68vgjltv8fo" path="res://assets/blender/player.glb" id="2_qlg0r"]
[ext_resource type="PackedScene" uid="uid://bdh2q1npebnwu" path="res://ui/pause.tscn" id="3_qhqgy"]
[ext_resource type="Script" uid="uid://1ihmscldye3u" path="res://scripts/camera_pov.gd" id="5_qlg0r"]
[sub_resource type="BoxShape3D" id="BoxShape3D_u8vuu"]
size = Vector3(0.6230469, 1.8208008, 0.63305664)
[sub_resource type="ViewportTexture" id="ViewportTexture_3vyb7"]
viewport_path = NodePath("SpriteTuto/SubViewport")
[node name="Player" type="CharacterBody3D" unique_id=219675862 groups=["player"]]
script = ExtResource("1_3vyb7")
[node name="model" parent="." unique_id=1210894604 instance=ExtResource("2_qlg0r")]
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=704927304]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9104004, 0)
shape = SubResource("BoxShape3D_u8vuu")
[node name="arm" type="Node3D" parent="." unique_id=400369090]
[node name="SpringArm3D" type="SpringArm3D" parent="arm" unique_id=410437854]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.389, 0.77346754)
spring_length = 4.0
script = ExtResource("2_g2els")
[node name="Camera3D" type="Camera3D" parent="arm/SpringArm3D" unique_id=755136596]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.335144e-05, 0.00032949448)
[node name="SpriteTuto" type="Sprite3D" parent="." unique_id=1739812786]
transform = Transform3D(1, 0, 0, 0, 0.4673591, 0.88406765, 0, -0.88406765, 0.4673591, 0, 0.3026433, -2.019)
visible = false
layers = 512
modulate = Color(1, 0.5058824, 0.41568628, 1)
texture = SubResource("ViewportTexture_3vyb7")
[node name="SubViewport" type="SubViewport" parent="SpriteTuto" unique_id=191166233]
size = Vector2i(512, 128)
[node name="Label" type="Label" parent="SpriteTuto/SubViewport" unique_id=1928076689]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -210.0
offset_top = -24.5
offset_right = 210.0
offset_bottom = 24.5
grow_horizontal = 2
grow_vertical = 2
text = "Scroll Avant : Avancer, Clic Gauche : Attraper une prise"
[node name="Audio_Footstep" type="AudioStreamPlayer3D" parent="." unique_id=1235221918]
volume_db = -8.0
max_db = 2.0
[node name="pause" parent="." unique_id=863144941 instance=ExtResource("3_qhqgy")]
[node name="Camera3D_POV" type="Camera3D" parent="." unique_id=165893191]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.4650376, -0.28022408)
script = ExtResource("5_qlg0r")
+89
View File
@@ -0,0 +1,89 @@
[gd_scene format=3 uid="uid://chbs5jfs86v06"]
[ext_resource type="PackedScene" uid="uid://cbs0co0x4nh7e" path="res://assets/blender/watermill.glb" id="1_qh1o0"]
[ext_resource type="PackedScene" uid="uid://bh8vfparu1fi" path="res://assets/blender/bridge.glb" id="2_go4xj"]
[ext_resource type="Texture2D" uid="uid://d2mdeewkh0uyg" path="res://assets/img/textures/millwall.png" id="2_nhhsb"]
[ext_resource type="Texture2D" uid="uid://thvfy2fr8xxp" path="res://assets/img/normals/millwalls.png" id="3_ih40e"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ih40e"]
albedo_texture = ExtResource("2_nhhsb")
normal_enabled = true
normal_texture = ExtResource("3_ih40e")
uv1_offset = Vector3(0.275, -0.085, 0)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sym4d"]
albedo_color = Color(0.5770089, 0.57700825, 0.57700837, 1)
albedo_texture = ExtResource("2_nhhsb")
uv1_scale = Vector3(0.5, 0.5, 0.5)
uv1_offset = Vector3(0.225, 0.535, 0)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ky2aw"]
albedo_texture = ExtResource("2_nhhsb")
normal_enabled = true
normal_texture = ExtResource("3_ih40e")
uv1_offset = Vector3(0.07, 0.19, 0.15)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gp8kn"]
albedo_color = Color(0.5770089, 0.57700825, 0.57700837, 1)
albedo_texture = ExtResource("2_nhhsb")
uv1_scale = Vector3(0.2, 0.2, 0.2)
uv1_offset = Vector3(0.145, 0.26, 0)
[node name="watermill" type="Node3D" unique_id=237331475]
[node name="CSGBox3D" type="CSGBox3D" parent="." unique_id=1426052152]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.807129, 0, -19.118164)
size = Vector3(43, 1, 81.52319)
[node name="watermill" parent="." unique_id=1128474412 instance=ExtResource("1_qh1o0")]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, -16.495707, 9.393879, -0.027528882)
[node name="barre" type="CSGBox3D" parent="watermill" unique_id=1050503105]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 8.631642, 0.051800728, -0.0026101172)
size = Vector3(15.339844, 1, 1)
[node name="tower" type="Node3D" parent="." unique_id=1055938531]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -3)
[node name="tower" type="CSGBox3D" parent="tower" unique_id=1808539919]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.2113457, 20.454132, 14.775812)
size = Vector3(18.272583, 41.908264, 18.60254)
material = SubResource("StandardMaterial3D_ih40e")
[node name="fake_window" type="CSGBox3D" parent="tower/tower" unique_id=1747953357]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.164856, 16, 0)
size = Vector3(0.14807129, 3, 6)
material = SubResource("StandardMaterial3D_sym4d")
[node name="CSGPolygon3D" type="CSGPolygon3D" parent="tower" unique_id=577665090]
transform = Transform3D(-0.70710665, 0, -0.70710665, 0, 1, 0, 0.70710665, 0, -0.70710665, 5.2754936, 41.472553, 14.775812)
polygon = PackedVector2Array(0, 0, 0, 9, 4, 8, 12.865, 0)
mode = 1
spin_degrees = 360.0
spin_sides = 4
[node name="tower2" type="Node3D" parent="." unique_id=1359331711]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.25319433, 0, -26)
[node name="tower" type="CSGBox3D" parent="tower2" unique_id=661899249]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.2113457, 20.454132, 14.775812)
size = Vector3(18.272583, 41.908264, 18.60254)
material = SubResource("StandardMaterial3D_ky2aw")
[node name="fake_window" type="CSGBox3D" parent="tower2/tower" unique_id=1396805202]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.164856, 17, 5)
size = Vector3(0.14807129, 3, 4)
material = SubResource("StandardMaterial3D_gp8kn")
[node name="fake_window2" type="CSGBox3D" parent="tower2/tower" unique_id=809058771]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.164856, 9, 5)
size = Vector3(0.14807129, 4, 4)
material = SubResource("StandardMaterial3D_gp8kn")
[node name="fake_window3" type="CSGBox3D" parent="tower2/tower" unique_id=485509546]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.164856, 17, -1)
size = Vector3(0.14807129, 3, 3)
material = SubResource("StandardMaterial3D_gp8kn")
[node name="bridge" parent="." unique_id=37247320 instance=ExtResource("2_go4xj")]
transform = Transform3D(5, 0, 2.842171e-14, 0, 5, 0, -2.842171e-14, 0, 5, -19.919495, 0, -42.812706)