Version légère

This commit is contained in:
2026-11-02 20:29:02 +01:00
parent 68783081ed
commit bef3c95609
11 changed files with 64 additions and 652 deletions
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -1,9 +1,9 @@
[gd_resource type="Resource" script_class="Structure" format=3 uid="uid://cs80d7e8h71vd"] [gd_resource type="Resource" script_class="Structure" format=3 uid="uid://cs80d7e8h71vd"]
[ext_resource type="PackedScene" uid="uid://5n06ovdy5u5b" path="res://models/cube.tscn" id="1_bx8tr"] [ext_resource type="PackedScene" uid="uid://5n06ovdy5u5b" path="res://01-models/cube.tscn" id="1_i5s70"]
[ext_resource type="Script" uid="uid://b4i7dfy6u3e8w" path="res://scripts/structure.gd" id="2_45q3h"] [ext_resource type="Script" uid="uid://b4i7dfy6u3e8w" path="res://scripts/structure.gd" id="2_euckl"]
[resource] [resource]
script = ExtResource("2_45q3h") script = ExtResource("2_euckl")
model = ExtResource("1_bx8tr") model = ExtResource("1_i5s70")
price = 25 price = 25
@@ -1,9 +1,9 @@
[gd_resource type="Resource" script_class="assetArray" format=3 uid="uid://bolxfsf6f4p45"] [gd_resource type="Resource" script_class="assetArray" format=3 uid="uid://bolxfsf6f4p45"]
[ext_resource type="Script" uid="uid://bewsnajw4pm8g" path="res://scripts/assetArray.gd" id="1_nqs33"] [ext_resource type="Script" uid="uid://bewsnajw4pm8g" path="res://scripts/assetArray.gd" id="1_mcpqb"]
[ext_resource type="Script" uid="uid://b4i7dfy6u3e8w" path="res://scripts/structure.gd" id="2_j47eg"] [ext_resource type="Script" uid="uid://b4i7dfy6u3e8w" path="res://scripts/structure.gd" id="2_gm5fw"]
[ext_resource type="Resource" uid="uid://cs80d7e8h71vd" path="res://structures/cube.tres" id="3_gvg15"] [ext_resource type="Resource" uid="uid://cs80d7e8h71vd" path="res://02-structures/cube.tres" id="3_8osu1"]
[resource] [resource]
script = ExtResource("1_nqs33") script = ExtResource("1_mcpqb")
structures = Array[ExtResource("2_j47eg")]([ExtResource("3_gvg15")]) structures = Array[ExtResource("2_gm5fw")]([ExtResource("3_8osu1")])
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

-40
View File
@@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://k6f5xxl8mufc"
path="res://.godot/imported/colormap.png-c1bc3c3aabeec406ff4b53328583776a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://models/Textures/colormap.png"
dest_files=["res://.godot/imported/colormap.png-c1bc3c3aabeec406ff4b53328583776a.ctex"]
[params]
compress/mode=0
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
-484
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,7 +1,7 @@
extends Node3D extends Node3D
#@export var structures: Array[Structure] = [] #@export var structures: Array[Structure] = []
var ASSET_RESSOURCES = load("res://structuresAssets/asset-ressources.tres") var ASSET_RESSOURCES = load("res://03-structuresAssets/asset-ressources.tres")
var structures = ASSET_RESSOURCES.structures var structures = ASSET_RESSOURCES.structures
var map:DataMap var map:DataMap
File diff suppressed because one or more lines are too long
-46
View File
@@ -1,46 +0,0 @@
{
"app": "polydoodle",
"bg_color": Color(0.13725491, 0.14901961, 0.18039216, 1),
"both_sides": true,
"brush_opacity": 1.0,
"brush_size": 0.05,
"brush_smooth": 0.0,
"draw_free": false,
"draw_kind": "Rectangle",
"export_checker": false,
"face_lock": false,
"gizmo_kind": 0,
"gizmo_on": true,
"grid_size": 1.0,
"grid_visible": true,
"hints_enabled": true,
"inset_dist": 0.25,
"objects": [{
"atlas": 256,
"ec": {},
"faces": [PackedInt32Array(1, 9, 8, 0), PackedInt32Array(2, 10, 9, 1), PackedInt32Array(2, 10, 11, 3), PackedInt32Array(3, 11, 12, 4), PackedInt32Array(4, 12, 13, 5), PackedInt32Array(5, 13, 14, 6), PackedInt32Array(7, 15, 14, 6), PackedInt32Array(0, 8, 15, 7), PackedInt32Array(9, 17, 16, 8), PackedInt32Array(10, 18, 17, 9), PackedInt32Array(10, 18, 19, 11), PackedInt32Array(11, 19, 20, 12), PackedInt32Array(12, 20, 21, 13), PackedInt32Array(13, 21, 22, 14), PackedInt32Array(15, 23, 22, 14), PackedInt32Array(8, 16, 23, 15), PackedInt32Array(17, 25, 24, 16), PackedInt32Array(18, 26, 25, 17), PackedInt32Array(18, 26, 27, 19), PackedInt32Array(19, 27, 28, 20), PackedInt32Array(20, 28, 29, 21), PackedInt32Array(21, 29, 30, 22), PackedInt32Array(23, 31, 30, 22), PackedInt32Array(16, 24, 31, 23), PackedInt32Array(25, 33, 32, 24), PackedInt32Array(26, 34, 33, 25), PackedInt32Array(26, 34, 35, 27), PackedInt32Array(27, 35, 36, 28), PackedInt32Array(28, 36, 37, 29), PackedInt32Array(29, 37, 38, 30), PackedInt32Array(31, 39, 38, 30), PackedInt32Array(24, 32, 39, 31), PackedInt32Array(33, 41, 40, 32), PackedInt32Array(34, 42, 41, 33), PackedInt32Array(34, 42, 43, 35), PackedInt32Array(35, 43, 44, 36), PackedInt32Array(36, 44, 45, 37), PackedInt32Array(37, 45, 46, 38), PackedInt32Array(39, 47, 46, 38), PackedInt32Array(32, 40, 47, 39), PackedInt32Array(41, 49, 48, 40), PackedInt32Array(42, 50, 49, 41), PackedInt32Array(42, 50, 51, 43), PackedInt32Array(43, 51, 52, 44), PackedInt32Array(44, 52, 53, 45), PackedInt32Array(45, 53, 54, 46), PackedInt32Array(47, 55, 54, 46), PackedInt32Array(40, 48, 55, 47), PackedInt32Array(49, 57, 56, 48), PackedInt32Array(50, 58, 57, 49), PackedInt32Array(50, 58, 59, 51), PackedInt32Array(51, 59, 60, 52), PackedInt32Array(52, 60, 61, 53), PackedInt32Array(53, 61, 62, 54), PackedInt32Array(55, 63, 62, 54), PackedInt32Array(48, 56, 63, 55), PackedInt32Array(57, 65, 64, 56), PackedInt32Array(58, 66, 65, 57), PackedInt32Array(58, 66, 67, 59), PackedInt32Array(59, 67, 68, 60), PackedInt32Array(60, 68, 69, 61), PackedInt32Array(61, 69, 70, 62), PackedInt32Array(63, 71, 70, 62), PackedInt32Array(56, 64, 71, 63), PackedInt32Array(65, 73, 72, 64), PackedInt32Array(66, 74, 73, 65), PackedInt32Array(66, 74, 75, 67), PackedInt32Array(67, 75, 76, 68), PackedInt32Array(68, 76, 77, 69), PackedInt32Array(69, 77, 78, 70), PackedInt32Array(71, 79, 78, 70), PackedInt32Array(64, 72, 79, 71), PackedInt32Array(73, 81, 80, 72), PackedInt32Array(74, 82, 81, 73), PackedInt32Array(74, 82, 83, 75), PackedInt32Array(75, 83, 84, 76), PackedInt32Array(76, 84, 85, 77), PackedInt32Array(77, 85, 86, 78), PackedInt32Array(79, 87, 86, 78), PackedInt32Array(72, 80, 87, 79), PackedInt32Array(81, 89, 88, 80), PackedInt32Array(82, 90, 89, 81), PackedInt32Array(82, 90, 91, 83), PackedInt32Array(83, 91, 92, 84), PackedInt32Array(84, 92, 93, 85), PackedInt32Array(85, 93, 94, 86), PackedInt32Array(87, 95, 94, 86), PackedInt32Array(80, 88, 95, 87), PackedInt32Array(89, 97, 96, 88), PackedInt32Array(90, 98, 97, 89), PackedInt32Array(90, 98, 99, 91), PackedInt32Array(91, 99, 100, 92), PackedInt32Array(92, 100, 101, 93), PackedInt32Array(93, 101, 102, 94), PackedInt32Array(95, 103, 102, 94), PackedInt32Array(88, 96, 103, 95), PackedInt32Array(97, 105, 104, 96), PackedInt32Array(98, 106, 105, 97), PackedInt32Array(98, 106, 107, 99), PackedInt32Array(99, 107, 108, 100), PackedInt32Array(100, 108, 109, 101), PackedInt32Array(101, 109, 110, 102), PackedInt32Array(103, 111, 110, 102), PackedInt32Array(96, 104, 111, 103), PackedInt32Array(105, 113, 112, 104), PackedInt32Array(106, 114, 113, 105), PackedInt32Array(106, 114, 115, 107), PackedInt32Array(107, 115, 116, 108), PackedInt32Array(108, 116, 117, 109), PackedInt32Array(109, 117, 118, 110), PackedInt32Array(111, 119, 118, 110), PackedInt32Array(104, 112, 119, 111), PackedInt32Array(113, 121, 120, 112), PackedInt32Array(114, 122, 121, 113), PackedInt32Array(114, 122, 123, 115), PackedInt32Array(115, 123, 124, 116), PackedInt32Array(116, 124, 125, 117), PackedInt32Array(117, 125, 126, 118), PackedInt32Array(119, 127, 126, 118), PackedInt32Array(112, 120, 127, 119), PackedInt32Array(121, 1, 0, 120), PackedInt32Array(122, 2, 1, 121), PackedInt32Array(122, 2, 3, 123), PackedInt32Array(123, 3, 4, 124), PackedInt32Array(124, 4, 5, 125), PackedInt32Array(125, 5, 6, 126), PackedInt32Array(127, 7, 6, 126), PackedInt32Array(120, 0, 7, 127)],
"fc": PackedColorArray(),
"lock_auto": false,
"locked": false,
"name": "Torus",
"position": Vector3(0, 0, 0),
"scale": Vector3(1, 1, 1),
"smooth": false,
"tpu": 64.0,
"uv_ofs": {},
"uvo_t": 1,
"verts": PackedVector3Array(0.68, 0, 0, 0.6272792, 0.12727922, 0, 0.5, 0.18, 0, 0.37272078, 0.12727922, 0, 0.32, 2.2043642e-17, 0, 0.37272078, -0.12727922, 0, 0.5, -0.18, 0, 0.6272792, -0.12727922, 0, 0.6282381, 0, 0.26022473, 0.5795304, 0.12727922, 0.24004936, 0.46193975, 0.18, 0.19134171, 0.3443491, 0.12727922, 0.14263406, 0.29564145, 2.2043642e-17, 0.1224587, 0.3443491, -0.12727922, 0.14263406, 0.46193975, -0.18, 0.19134171, 0.5795304, -0.12727922, 0.24004936, 0.4808326, 0, 0.4808326, 0.4435534, 0.12727922, 0.4435534, 0.35355338, 0.18, 0.35355338, 0.26355338, 0.12727922, 0.26355338, 0.22627416, 2.2043642e-17, 0.22627416, 0.26355338, -0.12727922, 0.26355338, 0.35355338, -0.18, 0.35355338, 0.4435534, -0.12727922, 0.4435534, 0.26022473, 0, 0.6282381, 0.24004936, 0.12727922, 0.5795304, 0.19134171, 0.18, 0.46193975, 0.14263406, 0.12727922, 0.3443491, 0.1224587, 2.2043642e-17, 0.29564145, 0.14263406, -0.12727922, 0.3443491, 0.19134171, -0.18, 0.46193975, 0.24004936, -0.12727922, 0.5795304, 4.1637992e-17, 0, 0.68, 3.8409774e-17, 0.12727922, 0.6272792, 3.061617e-17, 0.18, 0.5, 2.2822565e-17, 0.12727922, 0.37272078, 1.9594349e-17, 2.2043642e-17, 0.32, 2.2822565e-17, -0.12727922, 0.37272078, 3.061617e-17, -0.18, 0.5, 3.8409774e-17, -0.12727922, 0.6272792, -0.26022473, 0, 0.6282381, -0.24004936, 0.12727922, 0.5795304, -0.19134171, 0.18, 0.46193975, -0.14263406, 0.12727922, 0.3443491, -0.1224587, 2.2043642e-17, 0.29564145, -0.14263406, -0.12727922, 0.3443491, -0.19134171, -0.18, 0.46193975, -0.24004936, -0.12727922, 0.5795304, -0.4808326, 0, 0.4808326, -0.4435534, 0.12727922, 0.4435534, -0.35355338, 0.18, 0.35355338, -0.26355338, 0.12727922, 0.26355338, -0.22627416, 2.2043642e-17, 0.22627416, -0.26355338, -0.12727922, 0.26355338, -0.35355338, -0.18, 0.35355338, -0.4435534, -0.12727922, 0.4435534, -0.6282381, 0, 0.26022473, -0.5795304, 0.12727922, 0.24004936, -0.46193975, 0.18, 0.19134171, -0.3443491, 0.12727922, 0.14263406, -0.29564145, 2.2043642e-17, 0.1224587, -0.3443491, -0.12727922, 0.14263406, -0.46193975, -0.18, 0.19134171, -0.5795304, -0.12727922, 0.24004936, -0.68, 0, 8.3275985e-17, -0.6272792, 0.12727922, 7.681955e-17, -0.5, 0.18, 6.123234e-17, -0.37272078, 0.12727922, 4.564513e-17, -0.32, 2.2043642e-17, 3.9188697e-17, -0.37272078, -0.12727922, 4.564513e-17, -0.5, -0.18, 6.123234e-17, -0.6272792, -0.12727922, 7.681955e-17, -0.6282381, 0, -0.26022473, -0.5795304, 0.12727922, -0.24004936, -0.46193975, 0.18, -0.19134171, -0.3443491, 0.12727922, -0.14263406, -0.29564145, 2.2043642e-17, -0.1224587, -0.3443491, -0.12727922, -0.14263406, -0.46193975, -0.18, -0.19134171, -0.5795304, -0.12727922, -0.24004936, -0.4808326, 0, -0.4808326, -0.4435534, 0.12727922, -0.4435534, -0.35355338, 0.18, -0.35355338, -0.26355338, 0.12727922, -0.26355338, -0.22627416, 2.2043642e-17, -0.22627416, -0.26355338, -0.12727922, -0.26355338, -0.35355338, -0.18, -0.35355338, -0.4435534, -0.12727922, -0.4435534, -0.26022473, 0, -0.6282381, -0.24004936, 0.12727922, -0.5795304, -0.19134171, 0.18, -0.46193975, -0.14263406, 0.12727922, -0.3443491, -0.1224587, 2.2043642e-17, -0.29564145, -0.14263406, -0.12727922, -0.3443491, -0.19134171, -0.18, -0.46193975, -0.24004936, -0.12727922, -0.5795304, -1.2491397e-16, 0, -0.68, -1.1522933e-16, 0.12727922, -0.6272792, -9.184851e-17, 0.18, -0.5, -6.84677e-17, 0.12727922, -0.37272078, -5.878305e-17, 2.2043642e-17, -0.32, -6.84677e-17, -0.12727922, -0.37272078, -9.184851e-17, -0.18, -0.5, -1.1522933e-16, -0.12727922, -0.6272792, 0.26022473, 0, -0.6282381, 0.24004936, 0.12727922, -0.5795304, 0.19134171, 0.18, -0.46193975, 0.14263406, 0.12727922, -0.3443491, 0.1224587, 2.2043642e-17, -0.29564145, 0.14263406, -0.12727922, -0.3443491, 0.19134171, -0.18, -0.46193975, 0.24004936, -0.12727922, -0.5795304, 0.4808326, 0, -0.4808326, 0.4435534, 0.12727922, -0.4435534, 0.35355338, 0.18, -0.35355338, 0.26355338, 0.12727922, -0.26355338, 0.22627416, 2.2043642e-17, -0.22627416, 0.26355338, -0.12727922, -0.26355338, 0.35355338, -0.18, -0.35355338, 0.4435534, -0.12727922, -0.4435534, 0.6282381, 0, -0.26022473, 0.5795304, 0.12727922, -0.24004936, 0.46193975, 0.18, -0.19134171, 0.3443491, 0.12727922, -0.14263406, 0.29564145, 2.2043642e-17, -0.1224587, 0.3443491, -0.12727922, -0.14263406, 0.46193975, -0.18, -0.19134171, 0.5795304, -0.12727922, -0.24004936),
"visible": true
}],
"paint_color": Color(0.4375, 0.401491, 0.20507813, 1),
"paint_tool": "Eraser",
"pixel_px": 1,
"pixel_size": 0.25,
"recent_colors": PackedColorArray(0.4375, 0.401491, 0.20507813, 1, 0.37254903, 0.6156863, 1, 1, 1, 0.8333334, 0, 1, 0.78515625, 0.7415471, 0.50605774, 1, 0.3019608, 0.6392157, 1, 1),
"show_checker": true,
"snap_enabled": false,
"tex_filter": 0,
"uv_snap": true,
"version": 1,
"view_shading": 0
}
File diff suppressed because one or more lines are too long