diff --git a/.idea/projectSettingsUpdater.xml b/.idea/projectSettingsUpdater.xml new file mode 100644 index 0000000..ef20cb0 --- /dev/null +++ b/.idea/projectSettingsUpdater.xml @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..b12de78 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + 1785079273142 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/imported/tanr_makina_factory_building/license.txt b/assets/imported/tanr_makina_factory_building/license.txt new file mode 100644 index 0000000..343cb11 --- /dev/null +++ b/assets/imported/tanr_makina_factory_building/license.txt @@ -0,0 +1,11 @@ +Model Information: +* title: Tanır Makina Factory Building +* source: https://sketchfab.com/3d-models/tanr-makina-factory-building-ff70f7f34bfe4cd495c5fbf93b78f64d +* author: benhur taşkın (https://sketchfab.com/betaarch) + +Model License: +* license type: CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/) +* requirements: Author must be credited. Commercial use is allowed. + +If you use this 3D model in your project be sure to copy paste this credit wherever you share it: +This work is based on "Tanır Makina Factory Building" (https://sketchfab.com/3d-models/tanr-makina-factory-building-ff70f7f34bfe4cd495c5fbf93b78f64d) by benhur taşkın (https://sketchfab.com/betaarch) licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/) \ No newline at end of file diff --git a/assets/imported/tanr_makina_factory_building/scene.bin b/assets/imported/tanr_makina_factory_building/scene.bin new file mode 100644 index 0000000..bf36846 Binary files /dev/null and b/assets/imported/tanr_makina_factory_building/scene.bin differ diff --git a/assets/imported/tanr_makina_factory_building/scene.gltf b/assets/imported/tanr_makina_factory_building/scene.gltf new file mode 100644 index 0000000..47c2c3a --- /dev/null +++ b/assets/imported/tanr_makina_factory_building/scene.gltf @@ -0,0 +1,1194 @@ +{ + "accessors": [ + { + "bufferView": 2, + "componentType": 5126, + "count": 264, + "max": [ + 17.700000762939453, + 25.700000762939453, + 9.579560279846191 + ], + "min": [ + -0.20000000298023224, + 1.4438199628794479e-15, + 0.2199999988079071 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 3168, + "componentType": 5126, + "count": 264, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "componentType": 5126, + "count": 264, + "max": [ + 10.199999809265137, + 10.53030014038086 + ], + "min": [ + -10.199999809265137, + 0.0 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "componentType": 5125, + "count": 420, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 6336, + "componentType": 5126, + "count": 1778, + "max": [ + 17.200000762939453, + 18.600000381469727, + 6.214529991149902 + ], + "min": [ + 0.30000001192092896, + 2.2559700154881174e-17, + 5.21999979019165 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 27672, + "componentType": 5126, + "count": 1778, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 2112, + "componentType": 5126, + "count": 1778, + "max": [ + 732.2830200195313, + 732.2830200195313 + ], + "min": [ + -732.2830200195313, + -70.63490295410156 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 1680, + "componentType": 5125, + "count": 3564, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 49008, + "componentType": 5126, + "count": 8, + "max": [ + 12.774999618530273, + 18.649999618530273, + 2.369999885559082 + ], + "min": [ + 6.255000114440918, + 18.649999618530273, + 1.2699999809265137 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 49104, + "componentType": 5126, + "count": 8, + "max": [ + 0.0, + -1.0, + 0.0 + ], + "min": [ + 0.0, + -1.0, + 0.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 16336, + "componentType": 5126, + "count": 8, + "max": [ + 148.6219940185547, + 43.307098388671875 + ], + "min": [ + 0.0, + 0.0 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 15936, + "componentType": 5125, + "count": 12, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 49200, + "componentType": 5126, + "count": 9984, + "max": [ + 17.899999618530273, + 25.5, + 9.579560279846191 + ], + "min": [ + 0.0, + -1.1799600095022556e-14, + 0.2199999988079071 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 169008, + "componentType": 5126, + "count": 9984, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 16400, + "componentType": 5126, + "count": 9984, + "max": [ + 999.2130126953125, + 1007.3300170898438 + ], + "min": [ + -999.2130126953125, + -347.56500244140625 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 15984, + "componentType": 5125, + "count": 18942, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 288816, + "componentType": 5126, + "count": 9960, + "max": [ + 17.899999618530273, + 25.5, + 9.519559860229492 + ], + "min": [ + -0.4000000059604645, + -1.1854599638353672e-14, + 0.2199999988079071 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 408336, + "componentType": 5126, + "count": 9960, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 96272, + "componentType": 5126, + "count": 9960, + "max": [ + 999.2130126953125, + 999.2130126953125 + ], + "min": [ + -999.2130126953125, + -716.3499755859375 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 91752, + "componentType": 5125, + "count": 14976, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 527856, + "componentType": 5126, + "count": 5356, + "max": [ + 17.5, + 25.450000762939453, + 9.399259567260742 + ], + "min": [ + -0.4000000059604645, + -2.0914899896885313e-18, + 0.23999999463558197 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 592128, + "componentType": 5126, + "count": 5356, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 175952, + "componentType": 5126, + "count": 5356, + "max": [ + 855.6810302734375, + 855.6810302734375 + ], + "min": [ + -855.6810302734375, + -426.5899963378906 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 151656, + "componentType": 5125, + "count": 8472, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 656400, + "componentType": 5126, + "count": 2864, + "max": [ + 17.225000381469727, + 6.300000190734863, + 5.704529762268066 + ], + "min": [ + 0.2800000011920929, + 4.5, + 5.50452995300293 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 690768, + "componentType": 5126, + "count": 2864, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 218800, + "componentType": 5126, + "count": 2864, + "max": [ + 9.645669937133789, + 9.645669937133789 + ], + "min": [ + -9.645669937133789, + -4.272679805755615 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 185544, + "componentType": 5125, + "count": 5712, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 725136, + "componentType": 5126, + "count": 9986, + "max": [ + 17.197500228881836, + 25.397499084472656, + 3.63700008392334 + ], + "min": [ + 0.10249999910593033, + 0.1274999976158142, + 0.23999999463558197 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 844968, + "componentType": 5126, + "count": 9986, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 241712, + "componentType": 5126, + "count": 9986, + "max": [ + 1.771649956703186, + 1.771649956703186 + ], + "min": [ + -1.771649956703186, + 0.0 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 208392, + "componentType": 5125, + "count": 20232, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 964800, + "componentType": 5126, + "count": 9880, + "max": [ + 17.397499084472656, + 25.372499465942383, + 3.63700008392334 + ], + "min": [ + 0.10249999910593033, + 6.7775797843933105, + 0.23999999463558197 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 1083360, + "componentType": 5126, + "count": 9880, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 321600, + "componentType": 5126, + "count": 9880, + "max": [ + 1.771649956703186, + 1.771649956703186 + ], + "min": [ + -1.771649956703186, + 0.0 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 289320, + "componentType": 5125, + "count": 20016, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 1201920, + "componentType": 5126, + "count": 9918, + "max": [ + 17.397499084472656, + 25.384000778198242, + 3.7200000286102295 + ], + "min": [ + 0.1160229966044426, + 0.1340000033378601, + 0.2199999988079071 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 1320936, + "componentType": 5126, + "count": 9918, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 400640, + "componentType": 5126, + "count": 9918, + "max": [ + 1.771649956703186, + 4.724410057067871 + ], + "min": [ + -1.771649956703186, + 0.0 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 369384, + "componentType": 5125, + "count": 19464, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 1439952, + "componentType": 5126, + "count": 1728, + "max": [ + 17.384000778198242, + 25.358999252319336, + 3.7200000286102295 + ], + "min": [ + 0.1160229966044426, + 6.791100025177002, + 0.2199999988079071 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 1460688, + "componentType": 5126, + "count": 1728, + "max": [ + 0.9974718689918518, + 0.9974718689918518, + 1.0 + ], + "min": [ + -0.9974718689918518, + -0.9974718689918518, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 479984, + "componentType": 5126, + "count": 1728, + "max": [ + 0.7068700194358826, + 4.724410057067871 + ], + "min": [ + -0.7068700194358826, + 0.0 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 447240, + "componentType": 5125, + "count": 3312, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 1481424, + "componentType": 5126, + "count": 425, + "max": [ + 17.700000762939453, + 25.700000762939453, + 8.51513957977295 + ], + "min": [ + -0.20000000298023224, + 6.0, + 0.2199999988079071 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 1486524, + "componentType": 5126, + "count": 425, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 493808, + "componentType": 5126, + "count": 425, + "max": [ + 767.7169799804688, + 800.85400390625 + ], + "min": [ + -767.7169799804688, + -2.842169926600864e-14 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 460488, + "componentType": 5125, + "count": 771, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 1491624, + "componentType": 5126, + "count": 576, + "max": [ + 17.5, + 25.5, + 3.6700000762939453 + ], + "min": [ + 0.0, + 1.4438199628794479e-15, + 0.019999999552965164 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 1498536, + "componentType": 5126, + "count": 576, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 497208, + "componentType": 5126, + "count": 576, + "max": [ + 5.099999904632568, + 5.099999904632568 + ], + "min": [ + -5.099999904632568, + -0.03999999910593033 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 463572, + "componentType": 5125, + "count": 1104, + "type": "SCALAR" + } + ], + "asset": { + "extras": { + "author": "benhur taşkın (https://sketchfab.com/betaarch)", + "license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)", + "source": "https://sketchfab.com/3d-models/tanr-makina-factory-building-ff70f7f34bfe4cd495c5fbf93b78f64d", + "title": "Tanır Makina Factory Building" + }, + "generator": "Sketchfab-12.67.0", + "version": "2.0" + }, + "bufferViews": [ + { + "buffer": 0, + "byteLength": 467988, + "name": "floatBufferViews", + "target": 34963 + }, + { + "buffer": 0, + "byteLength": 501816, + "byteOffset": 467988, + "byteStride": 8, + "name": "floatBufferViews", + "target": 34962 + }, + { + "buffer": 0, + "byteLength": 1505448, + "byteOffset": 969804, + "byteStride": 12, + "name": "floatBufferViews", + "target": 34962 + } + ], + "buffers": [ + { + "byteLength": 2475252, + "uri": "scene.bin" + } + ], + "images": [ + { + "uri": "textures/Brick_Antique_01_baseColor.jpeg" + }, + { + "uri": "textures/Polished_Concrete_New_baseColor.jpeg" + } + ], + "materials": [ + { + "doubleSided": true, + "name": "Brick_Antique_01", + "pbrMetallicRoughness": { + "baseColorTexture": { + "index": 0 + }, + "metallicFactor": 0.0, + "roughnessFactor": 0.6 + } + }, + { + "doubleSided": true, + "name": "Color_D04", + "pbrMetallicRoughness": { + "baseColorFactor": [ + 0.9329136232, + 0.5666296953, + 0.0, + 1.0 + ], + "metallicFactor": 0.0, + "roughnessFactor": 0.6 + } + }, + { + "alphaMode": "BLEND", + "doubleSided": true, + "name": "Color_H02", + "pbrMetallicRoughness": { + "baseColorFactor": [ + 0.11962991858669911, + 0.9925332917705393, + 1.0, + 0.3536920013466631 + ], + "metallicFactor": 0.0, + "roughnessFactor": 0.6 + } + }, + { + "doubleSided": true, + "name": "Color_I05", + "pbrMetallicRoughness": { + "baseColorFactor": [ + 0.0317428426, + 0.0317428426, + 0.0317428426, + 1.0 + ], + "metallicFactor": 0.0, + "roughnessFactor": 0.6 + } + }, + { + "doubleSided": true, + "name": "Color_M02", + "pbrMetallicRoughness": { + "metallicFactor": 0.0, + "roughnessFactor": 0.6 + } + }, + { + "doubleSided": true, + "name": "Color_M03", + "pbrMetallicRoughness": { + "metallicFactor": 0.0, + "roughnessFactor": 0.6 + } + }, + { + "doubleSided": true, + "name": "M_0135_DarkGray", + "pbrMetallicRoughness": { + "baseColorFactor": [ + 0.11730968472212495, + 0.11730968472212495, + 0.11730968472212495, + 1.0 + ], + "metallicFactor": 0.0, + "roughnessFactor": 0.6 + } + }, + { + "doubleSided": true, + "name": "Polished_Concrete_New", + "pbrMetallicRoughness": { + "baseColorTexture": { + "index": 1 + }, + "metallicFactor": 0.0, + "roughnessFactor": 0.6 + } + } + ], + "meshes": [ + { + "name": "Object_0", + "primitives": [ + { + "attributes": { + "NORMAL": 1, + "POSITION": 0, + "TEXCOORD_0": 2 + }, + "indices": 3, + "material": 0, + "mode": 4 + } + ] + }, + { + "name": "Object_1", + "primitives": [ + { + "attributes": { + "NORMAL": 5, + "POSITION": 4, + "TEXCOORD_0": 6 + }, + "indices": 7, + "material": 1, + "mode": 4 + } + ] + }, + { + "name": "Object_2", + "primitives": [ + { + "attributes": { + "NORMAL": 9, + "POSITION": 8, + "TEXCOORD_0": 10 + }, + "indices": 11, + "material": 2, + "mode": 4 + } + ] + }, + { + "name": "Object_3", + "primitives": [ + { + "attributes": { + "NORMAL": 13, + "POSITION": 12, + "TEXCOORD_0": 14 + }, + "indices": 15, + "material": 3, + "mode": 4 + } + ] + }, + { + "name": "Object_4", + "primitives": [ + { + "attributes": { + "NORMAL": 17, + "POSITION": 16, + "TEXCOORD_0": 18 + }, + "indices": 19, + "material": 3, + "mode": 4 + } + ] + }, + { + "name": "Object_5", + "primitives": [ + { + "attributes": { + "NORMAL": 21, + "POSITION": 20, + "TEXCOORD_0": 22 + }, + "indices": 23, + "material": 3, + "mode": 4 + } + ] + }, + { + "name": "Object_6", + "primitives": [ + { + "attributes": { + "NORMAL": 25, + "POSITION": 24, + "TEXCOORD_0": 26 + }, + "indices": 27, + "material": 4, + "mode": 4 + } + ] + }, + { + "name": "Object_7", + "primitives": [ + { + "attributes": { + "NORMAL": 29, + "POSITION": 28, + "TEXCOORD_0": 30 + }, + "indices": 31, + "material": 5, + "mode": 4 + } + ] + }, + { + "name": "Object_8", + "primitives": [ + { + "attributes": { + "NORMAL": 33, + "POSITION": 32, + "TEXCOORD_0": 34 + }, + "indices": 35, + "material": 5, + "mode": 4 + } + ] + }, + { + "name": "Object_9", + "primitives": [ + { + "attributes": { + "NORMAL": 37, + "POSITION": 36, + "TEXCOORD_0": 38 + }, + "indices": 39, + "material": 5, + "mode": 4 + } + ] + }, + { + "name": "Object_10", + "primitives": [ + { + "attributes": { + "NORMAL": 41, + "POSITION": 40, + "TEXCOORD_0": 42 + }, + "indices": 43, + "material": 5, + "mode": 4 + } + ] + }, + { + "name": "Object_11", + "primitives": [ + { + "attributes": { + "NORMAL": 45, + "POSITION": 44, + "TEXCOORD_0": 46 + }, + "indices": 47, + "material": 6, + "mode": 4 + } + ] + }, + { + "name": "Object_12", + "primitives": [ + { + "attributes": { + "NORMAL": 49, + "POSITION": 48, + "TEXCOORD_0": 50 + }, + "indices": 51, + "material": 7, + "mode": 4 + } + ] + } + ], + "nodes": [ + { + "children": [ + 1 + ], + "matrix": [ + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 2.220446049250313e-16, + -1.0, + 0.0, + 0.0, + 1.0, + 2.220446049250313e-16, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "name": "Sketchfab_model" + }, + { + "children": [ + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14 + ], + "name": "aaaa.obj.cleaner.materialmerger.gles" + }, + { + "mesh": 0, + "name": "Object_2" + }, + { + "mesh": 1, + "name": "Object_3" + }, + { + "mesh": 2, + "name": "Object_4" + }, + { + "mesh": 3, + "name": "Object_5" + }, + { + "mesh": 4, + "name": "Object_6" + }, + { + "mesh": 5, + "name": "Object_7" + }, + { + "mesh": 6, + "name": "Object_8" + }, + { + "mesh": 7, + "name": "Object_9" + }, + { + "mesh": 8, + "name": "Object_10" + }, + { + "mesh": 9, + "name": "Object_11" + }, + { + "mesh": 10, + "name": "Object_12" + }, + { + "mesh": 11, + "name": "Object_13" + }, + { + "mesh": 12, + "name": "Object_14" + } + ], + "samplers": [ + { + "magFilter": 9729, + "minFilter": 9987, + "wrapS": 10497, + "wrapT": 10497 + } + ], + "scene": 0, + "scenes": [ + { + "name": "Sketchfab_Scene", + "nodes": [ + 0 + ] + } + ], + "textures": [ + { + "sampler": 0, + "source": 0 + }, + { + "sampler": 0, + "source": 1 + } + ] +} diff --git a/assets/imported/tanr_makina_factory_building/scene.gltf.import b/assets/imported/tanr_makina_factory_building/scene.gltf.import new file mode 100644 index 0000000..bf9dc3b --- /dev/null +++ b/assets/imported/tanr_makina_factory_building/scene.gltf.import @@ -0,0 +1,45 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://ckegaplyr85gw" +path="res://.godot/imported/scene.gltf-aae9bd898664ab8990923fb485d16e94.scn" + +[deps] + +source_file="res://assets/imported/tanr_makina_factory_building/scene.gltf" +dest_files=["res://.godot/imported/scene.gltf-aae9bd898664ab8990923fb485d16e94.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +mesh_library/use_node_names_as_mesh_names=false +array_mesh/deduplicate_surfaces=true +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +gltf/naming_version=2 +gltf/embedded_image_handling=1 +gltf/texture_map_mode=1 diff --git a/assets/imported/tanr_makina_factory_building/textures/Brick_Antique_01_baseColor.jpeg b/assets/imported/tanr_makina_factory_building/textures/Brick_Antique_01_baseColor.jpeg new file mode 100644 index 0000000..77eb2c6 Binary files /dev/null and b/assets/imported/tanr_makina_factory_building/textures/Brick_Antique_01_baseColor.jpeg differ diff --git a/assets/imported/tanr_makina_factory_building/textures/Brick_Antique_01_baseColor.jpeg.import b/assets/imported/tanr_makina_factory_building/textures/Brick_Antique_01_baseColor.jpeg.import new file mode 100644 index 0000000..5c621db --- /dev/null +++ b/assets/imported/tanr_makina_factory_building/textures/Brick_Antique_01_baseColor.jpeg.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bb1mul4ow806s" +path.s3tc="res://.godot/imported/Brick_Antique_01_baseColor.jpeg-5c80506e26c613887cdd20360f75bd54.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/imported/tanr_makina_factory_building/textures/Brick_Antique_01_baseColor.jpeg" +dest_files=["res://.godot/imported/Brick_Antique_01_baseColor.jpeg-5c80506e26c613887cdd20360f75bd54.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/assets/imported/tanr_makina_factory_building/textures/Polished_Concrete_New_baseColor.jpeg b/assets/imported/tanr_makina_factory_building/textures/Polished_Concrete_New_baseColor.jpeg new file mode 100644 index 0000000..5a2aae0 Binary files /dev/null and b/assets/imported/tanr_makina_factory_building/textures/Polished_Concrete_New_baseColor.jpeg differ diff --git a/assets/imported/tanr_makina_factory_building/textures/Polished_Concrete_New_baseColor.jpeg.import b/assets/imported/tanr_makina_factory_building/textures/Polished_Concrete_New_baseColor.jpeg.import new file mode 100644 index 0000000..7048f82 --- /dev/null +++ b/assets/imported/tanr_makina_factory_building/textures/Polished_Concrete_New_baseColor.jpeg.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c048iyekk6xir" +path.s3tc="res://.godot/imported/Polished_Concrete_New_baseColor.jpeg-378af847324f13509c870dfa54ab1c7a.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/imported/tanr_makina_factory_building/textures/Polished_Concrete_New_baseColor.jpeg" +dest_files=["res://.godot/imported/Polished_Concrete_New_baseColor.jpeg-378af847324f13509c870dfa54ab1c7a.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/concept/breadwinner/.obsidian/workspace.json b/concept/breadwinner/.obsidian/workspace.json index 36ac6e3..1b5f135 100644 --- a/concept/breadwinner/.obsidian/workspace.json +++ b/concept/breadwinner/.obsidian/workspace.json @@ -27,12 +27,12 @@ "state": { "type": "markdown", "state": { - "file": "game mechanics/The upgrain shop.md", + "file": "TLDR/MVP Functionality.md", "mode": "source", "source": false }, "icon": "lucide-file", - "title": "The upgrain shop" + "title": "MVP Functionality" } } ], @@ -59,7 +59,7 @@ "autoReveal": false }, "icon": "lucide-folder-closed", - "title": "Files" + "title": "Fájlkezelő" } }, { @@ -200,19 +200,22 @@ }, "left-ribbon": { "hiddenItems": { - "switcher:Open quick switcher": false, - "graph:Open graph view": false, - "canvas:Create new canvas": false, - "daily-notes:Open today's daily note": false, - "templates:Insert template": false, - "command-palette:Open command palette": false, - "bases:Create new base": false + "switcher:Gyors váltó megnyitása": false, + "graph:Gráf nézet megnyitása": false, + "canvas:Új vászon létrehozása": false, + "daily-notes:Mai jegyzet megnyitása": false, + "templates:Sablon beszúrása": false, + "command-palette:Parancspaletta megnyitása": false, + "bases:Új bázis létrehozása": false } }, "active": "cc30646b046d3148", "lastOpenFiles": [ - "game mechanics/The safe zone computer.md", + "TLDR/MVP Assets.md", + "TLDR/MVP.md", "game mechanics/The upgrain shop.md", + "thing groups/Equippable.md", + "game mechanics/The safe zone computer.md", "thing groups/Player.md", "game mechanics/Run.md", "game mechanics/XP earning.md", @@ -227,14 +230,11 @@ "entities/IT.md", "entities/PlayerEntity.md", "TLDR/MVP Functionality.md", - "TLDR/MVP Assets.md", - "TLDR/MVP.md", "TLDR", "concepts and lore/Lore.md", "game mechanics/The pawn shop.md", "game mechanics/The safe zone.md", "game mechanics/The PSA system.md", - "thing groups/Equippable.md", "thing groups/Grabbable.md", "thing groups/!Group rules.md", "thing groups/Entity.md", diff --git a/maps/test_map.tscn b/maps/test_map.tscn new file mode 100644 index 0000000..bf14668 --- /dev/null +++ b/maps/test_map.tscn @@ -0,0 +1,30 @@ +[gd_scene format=3 uid="uid://b7e2tqywq2mn2"] + +[ext_resource type="PackedScene" uid="uid://kqq30y24c6kd" path="res://scenes/player/player.tscn" id="5_svl6s"] + +[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_riqys"] + +[sub_resource type="PlaneMesh" id="PlaneMesh_wd2vj"] +size = Vector2(400, 400) + +[node name="TestMap" type="Node3D" unique_id=308836329] + +[node name="Buildings" type="Node" parent="." unique_id=965489406] + +[node name="Plane" type="StaticBody3D" parent="." unique_id=1437285448] +collision_layer = 17 +collision_mask = 17 +metadata/_edit_lock_ = true + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Plane" unique_id=1448952936] +transform = Transform3D(200, 0, 0, 0, 200, 0, 0, 0, 200, 0, 0, 0) +shape = SubResource("WorldBoundaryShape3D_riqys") +metadata/_edit_lock_ = true + +[node name="MeshInstance3D" type="MeshInstance3D" parent="Plane" unique_id=1613862640] +transform = Transform3D(9.905844, 0, 0, 0, 1, 0, 0, 0, 9.900972, 0, 0, 0) +mesh = SubResource("PlaneMesh_wd2vj") +metadata/_edit_lock_ = true + +[node name="Player" parent="." unique_id=423228143 instance=ExtResource("5_svl6s")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.252159, 0.66129565, -22.735443) diff --git a/project.godot b/project.godot index c5a30ba..af6793e 100644 --- a/project.godot +++ b/project.godot @@ -30,6 +30,7 @@ PlayerConsts="*uid://l2rc674shj03" Sounds="*uid://c4vhdhbi2yu8i" LoadingScreen="*uid://br8pa51piwxuy" GrabbableBase="*uid://csj6ipagcwmeu" +Report="*uid://c76y0hv0jqdr3" [display] diff --git a/scenes/ui/report/report.gd b/scenes/ui/report/report.gd new file mode 100644 index 0000000..ac2e9e7 --- /dev/null +++ b/scenes/ui/report/report.gd @@ -0,0 +1,63 @@ +extends Node + +# Node references matching the structure in kép.png +@onready var ui_control = $Control +@onready var title_input = $Control/MarginContainer/VboxContainer/TitleInput +@onready var body_input = $Control/MarginContainer/VboxContainer/BodyInput +@onready var send_button = $Control/MarginContainer/VboxContainer/Send +@onready var cancel_button = $Control/MarginContainer/VboxContainer/Cancel + +func _ready(): + # Hide the UI when the game starts + ui_control.visible = false + + # Connect the button pressed signals to our functions + send_button.pressed.connect(_on_send_pressed) + cancel_button.pressed.connect(_on_cancel_pressed) + +func _input(event): + # Listen for the F3 key press to toggle the menu + if event is InputEventKey and event.pressed and not event.echo: + if event.keycode == KEY_F3: + toggle_bug_report_screen() + +func toggle_bug_report_screen(): + ui_control.visible = !ui_control.visible + + if ui_control.visible: + # Automatically focus the title input so the player can just start typing + title_input.grab_focus() + else: + # Clear out the text if the player closes the screen using F3 + clear_inputs() + +func _on_send_pressed(): + var title_text = title_input.text.strip_edges() + var body_text = body_input.text.strip_edges() + + # Basic validation to ensure they don't send an empty report + if title_text.is_empty() or body_text.is_empty(): + print("Report incomplete: Please provide both a title and a description.") + return + + # --- YOUR SENDING LOGIC GOES HERE --- + # e.g., HTTPRequest to a Discord webhook, Trello API, or custom backend + print("Sending Bug Report...") + print("Title: ", title_text) + print("Body: ", body_text) + + # Close the menu after successfully sending + close_and_clear() + +func _on_cancel_pressed(): + # Close the menu without sending + close_and_clear() + +func close_and_clear(): + clear_inputs() + ui_control.visible = false + +func clear_inputs(): + # Resets the text fields for the next time the screen is opened + title_input.text = "" + body_input.text = "" diff --git a/scenes/ui/report/report.gd.uid b/scenes/ui/report/report.gd.uid new file mode 100644 index 0000000..bad5aa3 --- /dev/null +++ b/scenes/ui/report/report.gd.uid @@ -0,0 +1 @@ +uid://jgnmtqhrtb05 diff --git a/scenes/ui/report/report.tscn b/scenes/ui/report/report.tscn new file mode 100644 index 0000000..4b45c17 --- /dev/null +++ b/scenes/ui/report/report.tscn @@ -0,0 +1,42 @@ +[gd_scene format=3 uid="uid://c76y0hv0jqdr3"] + +[ext_resource type="Script" uid="uid://jgnmtqhrtb05" path="res://scenes/ui/report/report.gd" id="1_38r6u"] + +[node name="Report" type="Control" unique_id=1645877163] +layout_mode = 3 +anchor_left = 0.3 +anchor_right = 0.7 +anchor_bottom = 0.193 +grow_horizontal = 2 +offset_transform_enabled = true +script = ExtResource("1_38r6u") + +[node name="Control" type="PanelContainer" parent="." unique_id=1597361814] +layout_mode = 1 +anchors_preset = -1 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 + +[node name="MarginContainer" type="MarginContainer" parent="Control" unique_id=799180659] +layout_mode = 2 +theme_override_constants/margin_left = 5 +theme_override_constants/margin_top = 5 +theme_override_constants/margin_right = 5 +theme_override_constants/margin_bottom = 5 + +[node name="VboxContainer" type="VBoxContainer" parent="Control/MarginContainer" unique_id=2024139519] +propagate_maximum_size = false +layout_mode = 2 + +[node name="TitleInput" type="TextEdit" parent="Control/MarginContainer/VboxContainer" unique_id=1382406886] +layout_mode = 2 + +[node name="BodyInput" type="TextEdit" parent="Control/MarginContainer/VboxContainer" unique_id=701008498] +layout_mode = 2 + +[node name="Send" type="Button" parent="Control/MarginContainer/VboxContainer" unique_id=1143343072] +layout_mode = 2 + +[node name="Cancel" type="Button" parent="Control/MarginContainer/VboxContainer" unique_id=43583698] +layout_mode = 2