Cleaning folders organization for clearer view of elements

This commit is contained in:
yannk 2022-02-04 16:38:47 +01:00
parent b52a1c2b26
commit faa6a4db90
26 changed files with 236 additions and 38 deletions

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=4 format=3 uid="uid://bpi7k0gfnjgbt"]
[gd_scene load_steps=4 format=3]
[ext_resource type="Texture2D" uid="uid://buv7yoovo0sw" path="res://UI/marker.png" id="1_2jmfe"]
[ext_resource type="Texture2D" path="res://UI/textures/marker.png" id="1_2jmfe"]
[ext_resource type="Script" path="res://UI/labels.gd" id="1_4t0l0"]
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_4fvmj"]

View file

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View file

@ -3,15 +3,15 @@
importer="texture"
type="StreamTexture2D"
uid="uid://buv7yoovo0sw"
path="res://.godot/imported/marker.png-3608e1b2af8e3088a88fa0d1e60f3d6b.stex"
path="res://.godot/imported/marker.png-722ec95fdb2b7000dad3e8872f52645f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/marker.png"
dest_files=["res://.godot/imported/marker.png-3608e1b2af8e3088a88fa0d1e60f3d6b.stex"]
source_file="res://UI/textures/marker.png"
dest_files=["res://.godot/imported/marker.png-722ec95fdb2b7000dad3e8872f52645f.stex"]
[params]

View file

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -3,15 +3,15 @@
importer="texture"
type="StreamTexture2D"
uid="uid://cwtnvaf0ay81t"
path="res://.godot/imported/marker.svg-9a2bffe0a59fc6c5eecbc1d0316012ca.stex"
path="res://.godot/imported/marker.svg-6216a829b6cc753deec7b5e326a9c4e3.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/marker.svg"
dest_files=["res://.godot/imported/marker.svg-9a2bffe0a59fc6c5eecbc1d0316012ca.stex"]
source_file="res://UI/textures/marker.svg"
dest_files=["res://.godot/imported/marker.svg-6216a829b6cc753deec7b5e326a9c4e3.stex"]
[params]

View file

@ -1,10 +1,10 @@
[gd_scene load_steps=12 format=3 uid="uid://cvdmfc2hi172g"]
[ext_resource type="Material" uid="uid://cdijyqa881tvv" path="res://maps/simple_grid_world.material" id="1_h84bv"]
[ext_resource type="Material" uid="uid://jrlyuynpu62b" path="res://maps/simple_grid.material" id="1_ympm1"]
[ext_resource type="PackedScene" uid="uid://cccuku6opjnvy" path="res://maps/moutain.tscn" id="3_rbp35"]
[ext_resource type="PackedScene" uid="uid://bgoptxjkvk8cf" path="res://maps/cave.tscn" id="4_pc85h"]
[ext_resource type="PackedScene" uid="uid://c2ay2n3wnv4mr" path="res://maps/ramp.tscn" id="5_dfm8h"]
[ext_resource type="Material" uid="uid://cdijyqa881tvv" path="res://maps/materials/simple_grid_world.material" id="1_h84bv"]
[ext_resource type="Material" uid="uid://jrlyuynpu62b" path="res://maps/materials/simple_grid.material" id="1_ympm1"]
[ext_resource type="PackedScene" path="res://maps/moutain.tscn" id="3_rbp35"]
[ext_resource type="PackedScene" path="res://maps/cave.tscn" id="4_pc85h"]
[ext_resource type="PackedScene" path="res://maps/ramp.tscn" id="5_dfm8h"]
[sub_resource type="BoxMesh" id="BoxMesh_k23th"]
material = ExtResource( "1_h84bv" )

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=3 format=3 uid="uid://bgoptxjkvk8cf"]
[gd_scene load_steps=3 format=3]
[ext_resource type="PackedScene" uid="uid://b7bdyvlle2rx0" path="res://maps/cave.gltf" id="1_i0v3y"]
[ext_resource type="Material" uid="uid://cdijyqa881tvv" path="res://maps/simple_grid_world.material" id="2_2hxq1"]
[ext_resource type="PackedScene" uid="uid://b7bdyvlle2rx0" path="res://maps/imports/cave.gltf" id="1_i0v3y"]
[ext_resource type="Material" path="res://maps/materials/simple_grid_world.material" id="2_2hxq1"]
[node name="cave" instance=ExtResource( "1_i0v3y" )]

View file

@ -4,12 +4,12 @@ importer="scene"
importer_version=1
type="PackedScene"
uid="uid://b7bdyvlle2rx0"
path="res://.godot/imported/cave.gltf-e160ebb0361f8a04c65a4287a56d369f.scn"
path="res://.godot/imported/cave.gltf-2a2fe29ae97540b9c73f081874548089.scn"
[deps]
source_file="res://maps/cave.gltf"
dest_files=["res://.godot/imported/cave.gltf-e160ebb0361f8a04c65a4287a56d369f.scn"]
source_file="res://maps/imports/cave.gltf"
dest_files=["res://.godot/imported/cave.gltf-2a2fe29ae97540b9c73f081874548089.scn"]
[params]

View file

@ -4,12 +4,12 @@ importer="scene"
importer_version=1
type="PackedScene"
uid="uid://bas4wwnjq76wm"
path="res://.godot/imported/moutain.gltf-e33c0b8a05fbc6797cb2d9daa7127c18.scn"
path="res://.godot/imported/moutain.gltf-d791ab07af8725c944030f729a1232b0.scn"
[deps]
source_file="res://maps/moutain.gltf"
dest_files=["res://.godot/imported/moutain.gltf-e33c0b8a05fbc6797cb2d9daa7127c18.scn"]
source_file="res://maps/imports/moutain.gltf"
dest_files=["res://.godot/imported/moutain.gltf-d791ab07af8725c944030f729a1232b0.scn"]
[params]

View file

@ -4,12 +4,12 @@ importer="scene"
importer_version=1
type="PackedScene"
uid="uid://budtp4buplhtl"
path="res://.godot/imported/ramp.gltf-758f2ea246d1af6700e4c9df5ec78bf9.scn"
path="res://.godot/imported/ramp.gltf-bccf1e64fdd23324d36155b12fb1cdd4.scn"
[deps]
source_file="res://maps/ramp.gltf"
dest_files=["res://.godot/imported/ramp.gltf-758f2ea246d1af6700e4c9df5ec78bf9.scn"]
source_file="res://maps/imports/ramp.gltf"
dest_files=["res://.godot/imported/ramp.gltf-bccf1e64fdd23324d36155b12fb1cdd4.scn"]
[params]

Binary file not shown.

Binary file not shown.

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=3 format=3 uid="uid://cccuku6opjnvy"]
[gd_scene load_steps=3 format=3]
[ext_resource type="PackedScene" uid="uid://bas4wwnjq76wm" path="res://maps/moutain.gltf" id="1_afq06"]
[ext_resource type="Material" uid="uid://cdijyqa881tvv" path="res://maps/simple_grid_world.material" id="2_pll6h"]
[ext_resource type="PackedScene" uid="uid://bas4wwnjq76wm" path="res://maps/imports/moutain.gltf" id="1_afq06"]
[ext_resource type="Material" path="res://maps/materials/simple_grid_world.material" id="2_pll6h"]
[node name="moutain" instance=ExtResource( "1_afq06" )]

52
maps/obstacles.tscn Normal file
View file

@ -0,0 +1,52 @@
[gd_scene load_steps=4 format=3]
[ext_resource type="Material" path="res://maps/materials/simple_grid_world.material" id="1_reg3t"]
[sub_resource type="BoxMesh" id="BoxMesh_k23th"]
material = ExtResource( "1_reg3t" )
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_y7uft"]
data = PackedVector3Array(-1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, -1, -1, -1, -1, -1)
[node name="obstacles" type="Node3D"]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 3, 0, 19)
[node name="obstacle1" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0.5, 0)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="obstacle1"]
[node name="shape" type="CollisionShape3D" parent="obstacle1/collision"]
shape = SubResource( "ConcavePolygonShape3D_y7uft" )
[node name="obstacle2" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.25, 0, 0, 0, 0.5, 2, 0.25, 0)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="obstacle2"]
[node name="shape" type="CollisionShape3D" parent="obstacle2/collision"]
shape = SubResource( "ConcavePolygonShape3D_y7uft" )
[node name="obstacle3" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.125, 0, 0, 0, 0.5, 4, 0.125, 0)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="obstacle3"]
[node name="shape" type="CollisionShape3D" parent="obstacle3/collision"]
shape = SubResource( "ConcavePolygonShape3D_y7uft" )
[node name="obstacle4" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.063, 0, 0, 0, 0.5, 6, 0.0625, 0)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="obstacle4"]
[node name="shape" type="CollisionShape3D" parent="obstacle4/collision"]
shape = SubResource( "ConcavePolygonShape3D_y7uft" )

61
maps/ramp-complex.tscn Normal file
View file

@ -0,0 +1,61 @@
[gd_scene load_steps=4 format=3]
[ext_resource type="Material" path="res://maps/materials/simple_grid_world.material" id="1_6ofch"]
[sub_resource type="BoxMesh" id="BoxMesh_k23th"]
material = ExtResource( "1_6ofch" )
[sub_resource type="BoxShape3D" id="BoxShape3D_6y272"]
[node name="ramp-complex" type="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.5717, 0, 15.2275)
[node name="ramp" type="MeshInstance3D" parent="."]
transform = Transform3D(1.69964, 0.0527074, 0, -1.05415, 0.0849819, 0, 0, 0, 2, 3.88877, 1, 1.27697)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="ramp"]
[node name="shape" type="CollisionShape3D" parent="ramp/collision"]
shape = SubResource( "BoxShape3D_6y272" )
[node name="ramp2" type="MeshInstance3D" parent="."]
transform = Transform3D(0, -2.98023e-09, 2, -1.05391, 0.0849893, 0, -1.69979, -0.0526956, 0, -2.71124, 1, -2.4059)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="ramp2"]
[node name="shape" type="CollisionShape3D" parent="ramp2/collision"]
shape = SubResource( "BoxShape3D_6y272" )
[node name="ramp-horizontal" type="MeshInstance3D" parent="."]
transform = Transform3D(3.503, 0, 0, 0, 0.1, 0, 0, 0, 2, -1.26628, 2, 1.27697)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="ramp-horizontal"]
[node name="shape" type="CollisionShape3D" parent="ramp-horizontal/collision"]
shape = SubResource( "BoxShape3D_6y272" )
[node name="wall" type="MeshInstance3D" parent="."]
transform = Transform3D(3.503, 0, 0, 0, 0, -2, 0, 0.1, 0, -1.26628, 2, 3.18398)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="wall"]
[node name="shape" type="CollisionShape3D" parent="wall/collision"]
shape = SubResource( "BoxShape3D_6y272" )
[node name="wall2" type="MeshInstance3D" parent="."]
transform = Transform3D(1.19209e-07, 0.1, 0, 0, 5.96046e-09, -2, -2, 0, 1.19209e-07, -4.7697, 2, 1.19322)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="wall2"]
[node name="shape" type="CollisionShape3D" parent="wall2/collision"]
shape = SubResource( "BoxShape3D_6y272" )

85
maps/ramp-moving.tscn Normal file
View file

@ -0,0 +1,85 @@
[gd_scene load_steps=8 format=3]
[ext_resource type="Material" path="res://maps/materials/simple_grid_world.material" id="1_7o0gj"]
[ext_resource type="Material" path="res://maps/materials/simple_grid.material" id="2_m1mte"]
[sub_resource type="BoxMesh" id="BoxMesh_k23th"]
material = ExtResource( "1_7o0gj" )
[sub_resource type="BoxShape3D" id="BoxShape3D_6y272"]
[sub_resource type="BoxMesh" id="BoxMesh_s0ird"]
[sub_resource type="Animation" id="Animation_6wabv"]
resource_name = "MECH_moving_platform"
length = 10.0
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 5, 10),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(5.30321, 0, 0), Vector3(-5.57525, 0, -1.90735e-06), Vector3(5.30321, 0, 0)]
}
[sub_resource type="Animation" id="Animation_ta65t"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(5.30321, 0, 0)]
}
[node name="ramp-moving" type="Node3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 11.952, 0, 15.2275)
[node name="ramp" type="MeshInstance3D" parent="."]
transform = Transform3D(1.69964, 0.0527074, 0, -1.05415, 0.0849819, 0, 0, 0, 2, 14.8888, 1, 1.27697)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="ramp"]
[node name="shape" type="CollisionShape3D" parent="ramp/collision"]
shape = SubResource( "BoxShape3D_6y272" )
[node name="ramp2" type="MeshInstance3D" parent="."]
transform = Transform3D(-1.69979, -0.0526956, -8.74228e-08, -1.05391, 0.0849893, 0, 1.14822e-08, 1.03494e-08, -2, -6.26628, 1, 1.27697)
mesh = SubResource( "BoxMesh_k23th" )
skeleton = NodePath("../..")
[node name="collision" type="StaticBody3D" parent="ramp2"]
[node name="shape" type="CollisionShape3D" parent="ramp2/collision"]
shape = SubResource( "BoxShape3D_6y272" )
[node name="moving" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.71566, 0, 1.90735e-06)
[node name="AnimatableBody3D" type="AnimatableBody3D" parent="moving"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.30321, 0, 0)
[node name="horizontal" type="CollisionShape3D" parent="moving/AnimatableBody3D"]
transform = Transform3D(3.503, 0, 0, 0, 0.1, 0, 0, 0, 2, -1.26628, 2, 1.27697)
shape = SubResource( "BoxShape3D_6y272" )
[node name="MeshInstance3D" type="MeshInstance3D" parent="moving/AnimatableBody3D/horizontal"]
mesh = SubResource( "BoxMesh_s0ird" )
surface_material_override/0 = ExtResource( "2_m1mte" )
[node name="AnimationPlayer" type="AnimationPlayer" parent="moving/AnimatableBody3D"]
autoplay = "MECH_moving_platform"
anims/MECH_moving_platform = SubResource( "Animation_6wabv" )
anims/RESET = SubResource( "Animation_ta65t" )

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=3 format=3 uid="uid://c2ay2n3wnv4mr"]
[gd_scene load_steps=3 format=3]
[ext_resource type="PackedScene" uid="uid://budtp4buplhtl" path="res://maps/ramp.gltf" id="1_pcnfk"]
[ext_resource type="Material" uid="uid://cdijyqa881tvv" path="res://maps/simple_grid_world.material" id="2_4pnrr"]
[ext_resource type="PackedScene" uid="uid://budtp4buplhtl" path="res://maps/imports/ramp.gltf" id="1_pcnfk"]
[ext_resource type="Material" path="res://maps/materials/simple_grid_world.material" id="2_4pnrr"]
[node name="ramp" instance=ExtResource( "1_pcnfk" )]

Binary file not shown.

Binary file not shown.

View file

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View file

@ -3,8 +3,8 @@
importer="texture"
type="StreamTexture2D"
uid="uid://bdygfoyj1jnlr"
path.s3tc="res://.godot/imported/simple_grid.png-dfe958715033e9782a84577745ca44ba.s3tc.stex"
path.etc2="res://.godot/imported/simple_grid.png-dfe958715033e9782a84577745ca44ba.etc2.stex"
path.s3tc="res://.godot/imported/simple_grid.png-7d8153fbf2d0f206ba3d8a2f275451e2.s3tc.stex"
path.etc2="res://.godot/imported/simple_grid.png-7d8153fbf2d0f206ba3d8a2f275451e2.etc2.stex"
metadata={
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
@ -12,8 +12,8 @@ metadata={
[deps]
source_file="res://maps/simple_grid.png"
dest_files=["res://.godot/imported/simple_grid.png-dfe958715033e9782a84577745ca44ba.s3tc.stex", "res://.godot/imported/simple_grid.png-dfe958715033e9782a84577745ca44ba.etc2.stex"]
source_file="res://maps/textures/simple_grid.png"
dest_files=["res://.godot/imported/simple_grid.png-7d8153fbf2d0f206ba3d8a2f275451e2.s3tc.stex", "res://.godot/imported/simple_grid.png-7d8153fbf2d0f206ba3d8a2f275451e2.etc2.stex"]
[params]

View file

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View file

@ -3,15 +3,15 @@
importer="texture"
type="StreamTexture2D"
uid="uid://cs1ay0dxlxycu"
path="res://.godot/imported/simple_grid.svg-f82d0c43d35c5672d272b26df164bd26.stex"
path="res://.godot/imported/simple_grid.svg-c365526d4e5132d3659551b7d89ae633.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://maps/simple_grid.svg"
dest_files=["res://.godot/imported/simple_grid.svg-f82d0c43d35c5672d272b26df164bd26.stex"]
source_file="res://maps/textures/simple_grid.svg"
dest_files=["res://.godot/imported/simple_grid.svg-c365526d4e5132d3659551b7d89ae633.stex"]
[params]