@ -0,0 +1,9 @@ | |||||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://jearv8lmwhec"] | |||||
[ext_resource type="Texture2D" uid="uid://de2ll7i47211v" path="res://assets/textures/wood-block.png" id="1_7x6pw"] | |||||
[resource] | |||||
albedo_texture = ExtResource("1_7x6pw") | |||||
metallic_specular = 0.0 | |||||
roughness = 0.0 | |||||
texture_filter = 0 |
@ -1,9 +0,0 @@ | |||||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://bnqiumcb3ixan"] | |||||
[ext_resource type="Texture2D" uid="uid://dxh0tr1jn2sym" path="res://assets/textures/wood-end.png" id="1_vqb8t"] | |||||
[resource] | |||||
albedo_texture = ExtResource("1_vqb8t") | |||||
metallic_specular = 0.0 | |||||
roughness = 0.0 | |||||
texture_filter = 0 |
@ -1,9 +0,0 @@ | |||||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://h0naiw6swfkl"] | |||||
[ext_resource type="Texture2D" uid="uid://0mw651622h01" path="res://assets/textures/wood-side.png" id="1_voafl"] | |||||
[resource] | |||||
albedo_texture = ExtResource("1_voafl") | |||||
metallic_specular = 0.0 | |||||
roughness = 0.0 | |||||
texture_filter = 0 |
@ -0,0 +1,35 @@ | |||||
[remap] | |||||
importer="texture" | |||||
type="CompressedTexture2D" | |||||
uid="uid://dsvk3faenewrl" | |||||
path.s3tc="res://.godot/imported/grass-block.png-a43533c53e78ccd42111c48d59e43ebf.s3tc.ctex" | |||||
metadata={ | |||||
"imported_formats": ["s3tc_bptc"], | |||||
"vram_texture": true | |||||
} | |||||
[deps] | |||||
source_file="res://assets/textures/grass-block.png" | |||||
dest_files=["res://.godot/imported/grass-block.png-a43533c53e78ccd42111c48d59e43ebf.s3tc.ctex"] | |||||
[params] | |||||
compress/mode=2 | |||||
compress/high_quality=false | |||||
compress/lossy_quality=0.7 | |||||
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/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 |
@ -0,0 +1,35 @@ | |||||
[remap] | |||||
importer="texture" | |||||
type="CompressedTexture2D" | |||||
uid="uid://cmtiotn1g7wxv" | |||||
path.s3tc="res://.godot/imported/leaves-block.png-c01c16272b530ade3ca524610fc204a6.s3tc.ctex" | |||||
metadata={ | |||||
"imported_formats": ["s3tc_bptc"], | |||||
"vram_texture": true | |||||
} | |||||
[deps] | |||||
source_file="res://assets/textures/leaves-block.png" | |||||
dest_files=["res://.godot/imported/leaves-block.png-c01c16272b530ade3ca524610fc204a6.s3tc.ctex"] | |||||
[params] | |||||
compress/mode=2 | |||||
compress/high_quality=false | |||||
compress/lossy_quality=0.7 | |||||
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/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 |
@ -0,0 +1,35 @@ | |||||
[remap] | |||||
importer="texture" | |||||
type="CompressedTexture2D" | |||||
uid="uid://ohcuqkbit3mc" | |||||
path.s3tc="res://.godot/imported/stone-block.png-7d1af345ce6c8bdaa19899a5ad89c6da.s3tc.ctex" | |||||
metadata={ | |||||
"imported_formats": ["s3tc_bptc"], | |||||
"vram_texture": true | |||||
} | |||||
[deps] | |||||
source_file="res://assets/textures/stone-block.png" | |||||
dest_files=["res://.godot/imported/stone-block.png-7d1af345ce6c8bdaa19899a5ad89c6da.s3tc.ctex"] | |||||
[params] | |||||
compress/mode=2 | |||||
compress/high_quality=false | |||||
compress/lossy_quality=0.7 | |||||
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/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 |
@ -0,0 +1,35 @@ | |||||
[remap] | |||||
importer="texture" | |||||
type="CompressedTexture2D" | |||||
uid="uid://de2ll7i47211v" | |||||
path.s3tc="res://.godot/imported/wood-block.png-443d7f141af0d10d126bdfee9ade4138.s3tc.ctex" | |||||
metadata={ | |||||
"imported_formats": ["s3tc_bptc"], | |||||
"vram_texture": true | |||||
} | |||||
[deps] | |||||
source_file="res://assets/textures/wood-block.png" | |||||
dest_files=["res://.godot/imported/wood-block.png-443d7f141af0d10d126bdfee9ade4138.s3tc.ctex"] | |||||
[params] | |||||
compress/mode=2 | |||||
compress/high_quality=false | |||||
compress/lossy_quality=0.7 | |||||
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/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 |
@ -1,54 +1,31 @@ | |||||
[gd_scene load_steps=6 format=3 uid="uid://col07xd76y60h"] | |||||
[gd_scene load_steps=8 format=3 uid="uid://b8evbp40gnomt"] | |||||
[ext_resource type="Script" uid="uid://buvqmrrtmxs2h" path="res://scenes/blocks/block.gd" id="1_7fut1"] | [ext_resource type="Script" uid="uid://buvqmrrtmxs2h" path="res://scenes/blocks/block.gd" id="1_7fut1"] | ||||
[ext_resource type="Material" uid="uid://bgc6efqf8aiqo" path="res://assets/materials/block_highlight.tres" id="2_524ei"] | [ext_resource type="Material" uid="uid://bgc6efqf8aiqo" path="res://assets/materials/block_highlight.tres" id="2_524ei"] | ||||
[ext_resource type="Texture2D" uid="uid://dsvk3faenewrl" path="res://assets/textures/grass-block.png" id="3_qi7hx"] | |||||
[sub_resource type="BoxShape3D" id="BoxShape3D_n5naa"] | [sub_resource type="BoxShape3D" id="BoxShape3D_n5naa"] | ||||
[sub_resource type="QuadMesh" id="QuadMesh_n5naa"] | |||||
[sub_resource type="BoxMesh" id="BoxMesh_7fut1"] | [sub_resource type="BoxMesh" id="BoxMesh_7fut1"] | ||||
material = ExtResource("2_524ei") | material = ExtResource("2_524ei") | ||||
size = Vector3(1.01, 1.01, 1.01) | size = Vector3(1.01, 1.01, 1.01) | ||||
[sub_resource type="BoxMesh" id="BoxMesh_e15ke"] | |||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4e127"] | |||||
albedo_texture = ExtResource("3_qi7hx") | |||||
texture_filter = 0 | |||||
[node name="Block" type="StaticBody3D"] | [node name="Block" type="StaticBody3D"] | ||||
script = ExtResource("1_7fut1") | script = ExtResource("1_7fut1") | ||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."] | [node name="CollisionShape3D" type="CollisionShape3D" parent="."] | ||||
shape = SubResource("BoxShape3D_n5naa") | shape = SubResource("BoxShape3D_n5naa") | ||||
[node name="BlockFaces" type="Node3D" parent="."] | |||||
[node name="EastFace" type="MeshInstance3D" parent="BlockFaces"] | |||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) | |||||
mesh = SubResource("QuadMesh_n5naa") | |||||
skeleton = NodePath("../..") | |||||
[node name="WestFace" type="MeshInstance3D" parent="BlockFaces"] | |||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 0, -0.5) | |||||
mesh = SubResource("QuadMesh_n5naa") | |||||
skeleton = NodePath("../..") | |||||
[node name="NorthFace" type="MeshInstance3D" parent="BlockFaces"] | |||||
transform = Transform3D(-1.3411e-07, 0, -1, 0, 1, 0, 1, 0, -1.3411e-07, -0.5, 0, 7.45058e-09) | |||||
mesh = SubResource("QuadMesh_n5naa") | |||||
skeleton = NodePath("../..") | |||||
[node name="SouthFace" type="MeshInstance3D" parent="BlockFaces"] | |||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0.5, 0, 0) | |||||
mesh = SubResource("QuadMesh_n5naa") | |||||
skeleton = NodePath("../..") | |||||
[node name="TopFace" type="MeshInstance3D" parent="BlockFaces"] | |||||
transform = Transform3D(1.91069e-15, -1, -4.37114e-08, -4.37114e-08, -4.37114e-08, 1, -1, 0, -4.37114e-08, 0, 0.5, 0) | |||||
mesh = SubResource("QuadMesh_n5naa") | |||||
skeleton = NodePath("../..") | |||||
[node name="BottomFace" type="MeshInstance3D" parent="BlockFaces"] | |||||
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91069e-15, 0, -0.5, 0) | |||||
mesh = SubResource("QuadMesh_n5naa") | |||||
skeleton = NodePath("../..") | |||||
[node name="HighlightMesh" type="MeshInstance3D" parent="."] | [node name="HighlightMesh" type="MeshInstance3D" parent="."] | ||||
visible = false | visible = false | ||||
mesh = SubResource("BoxMesh_7fut1") | mesh = SubResource("BoxMesh_7fut1") | ||||
[node name="BlockMesh" type="MeshInstance3D" parent="."] | |||||
mesh = SubResource("BoxMesh_e15ke") | |||||
surface_material_override/0 = SubResource("StandardMaterial3D_4e127") |