-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
gerblesh
committed
Mar 18, 2022
0 parents
commit 893ad9a
Showing
18 changed files
with
1,008 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Normalize EOL for all files that Git considers text files. | ||
* text=auto eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Godot 4+ specific ignores | ||
.godot/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://irn4o008dcv7" | ||
path.s3tc="res://.godot/imported/DxI0X41X0AUwQSM (1).jpg-7667431ec2e9a5439ac790413712b9cf.s3tc.ctex" | ||
path.etc2="res://.godot/imported/DxI0X41X0AUwQSM (1).jpg-7667431ec2e9a5439ac790413712b9cf.etc2.ctex" | ||
metadata={ | ||
"imported_formats": ["s3tc", "etc2"], | ||
"vram_texture": true | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://DxI0X41X0AUwQSM (1).jpg" | ||
dest_files=["res://.godot/imported/DxI0X41X0AUwQSM (1).jpg-7667431ec2e9a5439ac790413712b9cf.s3tc.ctex", "res://.godot/imported/DxI0X41X0AUwQSM (1).jpg-7667431ec2e9a5439ac790413712b9cf.etc2.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=2 | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/bptc_ldr=0 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
compress/streamed=false | ||
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/size_limit=0 | ||
detect_3d/compress_to=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
[gd_scene load_steps=8 format=3 uid="uid://brwi2intnbh1k"] | ||
|
||
[ext_resource type="Script" path="res://blocks.gd" id="2_7cxfx"] | ||
[ext_resource type="Script" path="res://Models/trigger/trigger_manager.gd" id="6_gro3x"] | ||
|
||
[sub_resource type="Environment" id="Environment_mv7jf"] | ||
background_mode = 2 | ||
ambient_light_source = 2 | ||
ambient_light_color = Color(0.611765, 0.611765, 0.611765, 1) | ||
tonemap_mode = 2 | ||
glow_enabled = true | ||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_dseq0"] | ||
size = Vector3(4, 1, 42) | ||
|
||
[sub_resource type="BoxMesh" id="BoxMesh_owiwe"] | ||
flip_faces = true | ||
size = Vector3(2.3, 80, 40.2) | ||
|
||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_uxlqc"] | ||
albedo_color = Color(0.376471, 0.376471, 0.376471, 1) | ||
|
||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_fuwlr"] | ||
custom_solver_bias = 1.0 | ||
margin = 0.05 | ||
data = PackedVector3Array(1.15, 40, 20.1, -1.15, 40, 20.1, -1.15, -40, 20.1, 1.15, -40, 20.1, 1.15, 40, 20.1, -1.15, -40, 20.1, -1.15, 40, -20.1, 1.15, 40, -20.1, 1.15, -40, -20.1, -1.15, -40, -20.1, -1.15, 40, -20.1, 1.15, -40, -20.1, 1.15, 40, -20.1, 1.15, 40, 20.1, 1.15, -40, 20.1, 1.15, -40, -20.1, 1.15, 40, -20.1, 1.15, -40, 20.1, -1.15, 40, 20.1, -1.15, 40, -20.1, -1.15, -40, -20.1, -1.15, -40, 20.1, -1.15, 40, 20.1, -1.15, -40, -20.1, -1.15, 40, 20.1, 1.15, 40, 20.1, 1.15, 40, -20.1, -1.15, 40, -20.1, -1.15, 40, 20.1, 1.15, 40, -20.1, 1.15, -40, 20.1, -1.15, -40, 20.1, -1.15, -40, -20.1, 1.15, -40, -20.1, 1.15, -40, 20.1, -1.15, -40, -20.1) | ||
backface_collision = true | ||
|
||
[node name="MAIN" type="Node3D"] | ||
|
||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] | ||
transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, 0.75, -0.433013, 0, 0, 0) | ||
shadow_enabled = true | ||
directional_shadow_max_distance = 250.0 | ||
|
||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."] | ||
environment = SubResource( "Environment_mv7jf" ) | ||
|
||
[node name="Timer" type="Timer" parent="."] | ||
process_callback = 0 | ||
wait_time = 0.2 | ||
autostart = true | ||
|
||
[node name="Camera3D" type="Camera3D" parent="."] | ||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 15, 14.4, 0) | ||
fov = 100.0 | ||
|
||
[node name="trigger_manager" type="Node3D" parent="Camera3D"] | ||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 12, -15) | ||
script = ExtResource( "6_gro3x" ) | ||
|
||
[node name="trigger" type="Area3D" parent="Camera3D/trigger_manager"] | ||
|
||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Camera3D/trigger_manager/trigger"] | ||
shape = SubResource( "BoxShape3D_dseq0" ) | ||
|
||
[node name="blocks" type="Node3D" parent="Camera3D"] | ||
transform = Transform3D(0, 0, 1, 0, 1, 0, -1, 0, 0, 0, 10, -15) | ||
script = ExtResource( "2_7cxfx" ) | ||
|
||
[node name="box" type="MeshInstance3D" parent="."] | ||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 36, 0) | ||
mesh = SubResource( "BoxMesh_owiwe" ) | ||
surface_material_override/0 = SubResource( "StandardMaterial3D_uxlqc" ) | ||
|
||
[node name="StaticBody3D" type="StaticBody3D" parent="box"] | ||
collision_layer = 2 | ||
collision_mask = 0 | ||
|
||
[node name="@@33914" type="CollisionShape3D" parent="box/StaticBody3D"] | ||
shape = SubResource( "ConcavePolygonShape3D_fuwlr" ) | ||
|
||
[connection signal="timeout" from="Timer" to="Camera3D/trigger_manager" method="_on_timer_timeout"] |
Oops, something went wrong.