Les backrooms pour le fun =)
This commit is contained in:
40
stages/3d_scenes/backrooms/backrooms.tscn
Normal file
40
stages/3d_scenes/backrooms/backrooms.tscn
Normal file
@@ -0,0 +1,40 @@
|
||||
[gd_scene format=3 uid="uid://c1mpuajhgl3bo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cwvmwpcuvo4mq" path="res://stages/3d_scenes/backrooms/scripts/backrooms.gd" id="1_5hv6p"]
|
||||
[ext_resource type="PackedScene" uid="uid://iu6snlm18qqj" path="res://stages/3d_scenes/backrooms/resources/backroom.blend" id="2_xnw3x"]
|
||||
[ext_resource type="PackedScene" uid="uid://da7a74dg30q1l" path="res://entities/player_3d/player_3D.tscn" id="3_7gjj1"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_y4ueh"]
|
||||
background_energy_multiplier = 1.01
|
||||
ambient_light_source = 2
|
||||
ambient_light_color = Color(0.6590362, 0.5036295, 0.08567885, 1)
|
||||
ambient_light_energy = 0.16
|
||||
glow_enabled = true
|
||||
fog_enabled = true
|
||||
fog_light_color = Color(0.63076836, 0.5434774, 0.26496226, 1)
|
||||
fog_density = 0.005
|
||||
|
||||
[node name="Backrooms" type="Node3D" unique_id=16899465]
|
||||
script = ExtResource("1_5hv6p")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1572622905]
|
||||
environment = SubResource("Environment_y4ueh")
|
||||
|
||||
[node name="Model" parent="." unique_id=1875966589 instance=ExtResource("2_xnw3x")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0022678375, -0.0022674203, 0.00014042854)
|
||||
|
||||
[node name="Player3D" parent="." unique_id=549819967 instance=ExtResource("3_7gjj1")]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -0.18744713, 1.1111141, 4.915328)
|
||||
|
||||
[node name="Outline" parent="Player3D/Camera3D" parent_id_path=PackedInt32Array(549819967, 2091917091) index="0" unique_id=1477584785]
|
||||
visible = false
|
||||
|
||||
[node name="InteractTutorial" parent="Player3D/CanvasLayer/3dTutorial" parent_id_path=PackedInt32Array(549819967, 259323543) index="1" unique_id=1117243867]
|
||||
visible = false
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="." unique_id=281886327]
|
||||
transform = Transform3D(-0.98900557, 0.015714146, -0.14704114, -9.0072927e-10, 0.99433786, 0.10626406, 0.14787856, 0.10509577, -0.9834057, -2.3532534, 1.3807694, -30.463974)
|
||||
current = true
|
||||
fov = 90.9
|
||||
|
||||
[editable path="Player3D"]
|
||||
BIN
stages/3d_scenes/backrooms/resources/backroom.blend
Normal file
BIN
stages/3d_scenes/backrooms/resources/backroom.blend
Normal file
Binary file not shown.
60
stages/3d_scenes/backrooms/resources/backroom.blend.import
Normal file
60
stages/3d_scenes/backrooms/resources/backroom.blend.import
Normal file
@@ -0,0 +1,60 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://iu6snlm18qqj"
|
||||
path="res://.godot/imported/backroom.blend-dad3bd2a89599173447977734214fa7f.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://stages/3d_scenes/backrooms/resources/backroom.blend"
|
||||
dest_files=["res://.godot/imported/backroom.blend-dad3bd2a89599173447977734214fa7f.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
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={}
|
||||
blender/nodes/visible=0
|
||||
blender/nodes/active_collection_only=false
|
||||
blender/nodes/punctual_lights=true
|
||||
blender/nodes/cameras=true
|
||||
blender/nodes/custom_properties=true
|
||||
blender/nodes/modifiers=1
|
||||
blender/meshes/colors=false
|
||||
blender/meshes/uvs=true
|
||||
blender/meshes/normals=true
|
||||
blender/meshes/export_geometry_nodes_instances=false
|
||||
blender/meshes/gpu_instances=false
|
||||
blender/meshes/tangents=true
|
||||
blender/meshes/skins=2
|
||||
blender/meshes/export_bones_deforming_mesh_only=false
|
||||
blender/materials/unpack_enabled=true
|
||||
blender/materials/export_materials=1
|
||||
blender/animation/limit_playback=true
|
||||
blender/animation/always_sample=true
|
||||
blender/animation/group_tracks=true
|
||||
gltf/naming_version=2
|
||||
BIN
stages/3d_scenes/backrooms/resources/backroom.blend1
Normal file
BIN
stages/3d_scenes/backrooms/resources/backroom.blend1
Normal file
Binary file not shown.
BIN
stages/3d_scenes/backrooms/resources/backrooms_floor.jpg
Normal file
BIN
stages/3d_scenes/backrooms/resources/backrooms_floor.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
@@ -0,0 +1,41 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://7v1ooamtxlwb"
|
||||
path.s3tc="res://.godot/imported/backrooms_floor.jpg-946ff1bd6666e42520eb11cbfaee6d4d.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://stages/3d_scenes/backrooms/resources/backrooms_floor.jpg"
|
||||
dest_files=["res://.godot/imported/backrooms_floor.jpg-946ff1bd6666e42520eb11cbfaee6d4d.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
|
||||
BIN
stages/3d_scenes/backrooms/resources/backrooms_wallpaper.jpg
Normal file
BIN
stages/3d_scenes/backrooms/resources/backrooms_wallpaper.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
@@ -0,0 +1,41 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dumq2qx0yf61u"
|
||||
path.s3tc="res://.godot/imported/backrooms_wallpaper.jpg-9d5143fee0deb71337afa4bccf73c0e0.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://stages/3d_scenes/backrooms/resources/backrooms_wallpaper.jpg"
|
||||
dest_files=["res://.godot/imported/backrooms_wallpaper.jpg-9d5143fee0deb71337afa4bccf73c0e0.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
|
||||
BIN
stages/3d_scenes/backrooms/resources/yellow_ceiling_tiles.png
Normal file
BIN
stages/3d_scenes/backrooms/resources/yellow_ceiling_tiles.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 747 KiB |
@@ -0,0 +1,41 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://kuktyja0833d"
|
||||
path.s3tc="res://.godot/imported/yellow_ceiling_tiles.png-cbc0097ee3e67c51ac675ab527195b1d.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://stages/3d_scenes/backrooms/resources/yellow_ceiling_tiles.png"
|
||||
dest_files=["res://.godot/imported/yellow_ceiling_tiles.png-cbc0097ee3e67c51ac675ab527195b1d.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
|
||||
6
stages/3d_scenes/backrooms/scripts/backrooms.gd
Normal file
6
stages/3d_scenes/backrooms/scripts/backrooms.gd
Normal file
@@ -0,0 +1,6 @@
|
||||
extends Node3D
|
||||
|
||||
|
||||
func _ready():
|
||||
if not Engine.is_editor_hint():
|
||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||
1
stages/3d_scenes/backrooms/scripts/backrooms.gd.uid
Normal file
1
stages/3d_scenes/backrooms/scripts/backrooms.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cwvmwpcuvo4mq
|
||||
Reference in New Issue
Block a user