Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3885a7eedb | ||
|
|
f62e1aee25 | ||
|
|
30d2636fdb | ||
|
|
b67f0d9263 | ||
|
|
cbb4b51a94 | ||
|
|
a23c2e7da7 | ||
|
|
6d50a76cff | ||
|
|
1d8d47a248 |
No files matched your search
@@ -1,7 +1,3 @@
|
|||||||
# DP Konzultace 1
|
|
||||||
|
|
||||||
- 11.2.2024
|
|
||||||
|
|
||||||
## Poznámky k implementaci
|
## Poznámky k implementaci
|
||||||
|
|
||||||
### 5 roomka
|
### 5 roomka
|
||||||
@@ -12,11 +8,24 @@ venkovního úhlu. Protože reálně jsem od něj mega daleko, takže portálov
|
|||||||
### Island level
|
### Island level
|
||||||
|
|
||||||
- Dolní collider jsem musel hodně zvětšit aby skrz něj hráč neproletěl během 1 physics framu
|
- Dolní collider jsem musel hodně zvětšit aby skrz něj hráč neproletěl během 1 physics framu
|
||||||
|
- Horní jsem musel trochu potočit, jinak se hráč objevil zrcadlově??
|
||||||
|
- Zapnout/Vypnout tadyto *proporční* teleportování? V MC se člověk objeví asi uprostřed nether
|
||||||
|
portálu i když je kde chce
|
||||||
|
- Kdybych chtěl mesh do dveří (oblouk), možná by bylo jednodušší udělat masku než spešl mesh.
|
||||||
|
Viewport je čtveratý tak jako tak.
|
||||||
|
|
||||||
### Semafor
|
### Semafor
|
||||||
|
|
||||||
3 místnosti do čtverce
|
3 místnosti do čtverce
|
||||||
|
|
||||||
- Zkusil jsem vymodelovat vlastní mesh v blenderu. Moc to nefunguje, Godot je asi zmatený z toho
|
- Zkusil jsem vymodelovat vlastní mesh v blenderu. Moc to nefunguje, Godot je asi zmatený z toho
|
||||||
že on má Y-up a Blender používá Z-up. V portal repu je k tomu poznámka ale nepochopil jsem to asi.
|
že on má Y-up a Blender používá Z-up. V portal repu je k tomu poznámka ale nepochopil jsem to asi.
|
||||||
- Divně se na ten mesh pak projektuje ta textura kamery??
|
- Divně se na ten mesh pak projektuje ta textura kamery??
|
||||||
|
- Možná by stálo za to udělat procedurální mesh. Nejběžnější tvar portálu bude asi obdélník
|
||||||
|
- `OnScreenNotifier3D` nemůže specifikovat _která_ kamera ten objekt vidí, takže je asi k ničemu.
|
||||||
|
Portály se vidí různě navzájem, s tolika kamerama ve scéně je to nepředvídatelné trochu.
|
||||||
|
- **I když** možná by to šlo pofejkovat s culling vrstvama. Vzdáváme se tím rekurzivních portálů, ale kdyby portály **ne**renderovaly ostatní portály, tak by se daly vypnout v momentě kdy nejsou vidět (stonks?)
|
||||||
|
- **Fejkování světel** (OmniLight) by možná šlo!!! S rendering layerama bys nastavil aby některé světla byly vidět JEN skrz portály a NE tou kamerou co má hráč na sobě.
|
||||||
|
- Tohle platí hlavně u ~~free-standing~~ portálů na které jde koukat z obou stran. *Bylo by divné kdyby byl zezadu portálu ve vzduchu light source jenom proto, že na druhé straně portálu (bůh ví kde) takový source někde je*
|
||||||
|
- Free-standing portál neni uplně dobrý příklad, protože by to světlo mělo házet _výseč_ ven. To ničím fajné, to jsme zpátky u raytracingu. Leda by to člověk oblbnul nějakým shadow meshem nebo něco.. hm. Velmi specifické. Ale u těch dveří jako v semaforovém levelu by to fungovalo asi v pohodě, protože kolem futer je stěna.
|
||||||
|
- Spotlight..?
|
||||||
@@ -63,6 +63,9 @@ var _exit_camera:Camera3D
|
|||||||
# The number of seconds until the viewport updates its size
|
# The number of seconds until the viewport updates its size
|
||||||
var _seconds_until_resize:float
|
var _seconds_until_resize:float
|
||||||
|
|
||||||
|
func _enter_tree() -> void:
|
||||||
|
add_to_group("portals")
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
if not is_inside_tree():
|
if not is_inside_tree():
|
||||||
push_error("The portal \"%s\" is not inside a SceneTree." % name)
|
push_error("The portal \"%s\" is not inside a SceneTree." % name)
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
extends VBoxContainer
|
||||||
|
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
toggle_hud() # This should hide the HUD by default
|
||||||
|
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
if Input.is_action_just_pressed("ui_cancel"):
|
||||||
|
toggle_hud()
|
||||||
|
|
||||||
|
func toggle_hud() -> void:
|
||||||
|
|
||||||
|
var should_show = Input.mouse_mode == Input.MOUSE_MODE_CAPTURED
|
||||||
|
|
||||||
|
if should_show:
|
||||||
|
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
|
||||||
|
show()
|
||||||
|
else:
|
||||||
|
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||||
|
hide()
|
||||||
|
|
||||||
|
func _on_menu_button_pressed() -> void:
|
||||||
|
var err = get_tree().change_scene_to_file("res://menu.tscn")
|
||||||
|
if err != OK:
|
||||||
|
print("Failed to switch scenes: ", error_string(err))
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://dys441ih752an
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
[gd_scene load_steps=3 format=3 uid="uid://b5x7fmpwck335"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://dys441ih752an" path="res://hud.gd" id="1_37p78"]
|
||||||
|
[ext_resource type="Theme" uid="uid://h8lwapw6q4pv" path="res://menu_theme.tres" id="1_64ctp"]
|
||||||
|
|
||||||
|
[node name="HUD" type="VBoxContainer"]
|
||||||
|
theme = ExtResource("1_64ctp")
|
||||||
|
script = ExtResource("1_37p78")
|
||||||
|
|
||||||
|
[node name="MenuButton" type="Button" parent="."]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Back to Menu"
|
||||||
|
|
||||||
|
[node name="HSeparator" type="HSeparator" parent="."]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[connection signal="pressed" from="MenuButton" to="." method="_on_menu_button_pressed"]
|
||||||
@@ -1,254 +0,0 @@
|
|||||||
[gd_scene load_steps=11 format=3 uid="uid://dpatwnepecl8r"]
|
|
||||||
|
|
||||||
[ext_resource type="MeshLibrary" uid="uid://bedqgubx1g1uf" path="res://prototypes.tres" id="1_7nma7"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="2_7nma7"]
|
|
||||||
[ext_resource type="ArrayMesh" uid="uid://bqilnvlfws6xh" path="res://portal-mesh.tres" id="3_ok2r5"]
|
|
||||||
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="4_n2ayn"]
|
|
||||||
[ext_resource type="Script" uid="uid://bkv7t4hw21byg" path="res://addons/simple-portal-system/scripts/simple_portal_teleport.gd" id="5_dfyqt"]
|
|
||||||
|
|
||||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_lquwl"]
|
|
||||||
|
|
||||||
[sub_resource type="Sky" id="Sky_7mycd"]
|
|
||||||
sky_material = SubResource("ProceduralSkyMaterial_lquwl")
|
|
||||||
|
|
||||||
[sub_resource type="Environment" id="Environment_272bh"]
|
|
||||||
sky = SubResource("Sky_7mycd")
|
|
||||||
|
|
||||||
[sub_resource type="Environment" id="Environment_lquwl"]
|
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1bvp3"]
|
|
||||||
size = Vector3(2, 2.5, 0.2)
|
|
||||||
|
|
||||||
[node name="Main" type="Node3D"]
|
|
||||||
|
|
||||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
||||||
environment = SubResource("Environment_272bh")
|
|
||||||
|
|
||||||
[node name="GridMap" type="GridMap" parent="."]
|
|
||||||
mesh_library = ExtResource("1_7nma7")
|
|
||||||
cell_size = Vector3(1, 1, 1)
|
|
||||||
data = {
|
|
||||||
"cells": PackedInt32Array(0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 5, 0, 0, 0, 65535, 0, 0, 65534, 0, 0, 65533, 0, 0, 65532, 0, 0, 65531, 0, 0, 65530, 0, 1, 65529, 0, 2, 65529, 0, 3, 65529, 0, 3, 65530, 0, 4, 65530, 0, 5, 65530, 0, 5, 65531, 0, 5, 65532, 0, 5, 65533, 0, 5, 65534, 0, 5, 65535, 0, 4, 65535, 0, 3, 65535, 0, 2, 65535, 0, 2, 65534, 0, 1, 65534, 0, 2, 65533, 0, 3, 65533, 0, 4, 65534, 0, 3, 65534, 0, 1, 65535, 0, 65535, 0, 0, 2, 65532, 0, 1, 65532, 0, 1, 65531, 0, 1, 65530, 0, 1, 65533, 0, 4, 65533, 0, 3, 65532, 0, 3, 65531, 0, 2, 65531, 0, 2, 65530, 0, 4, 65532, 0, 4, 65531, 0, 4, 65529, 0, 5, 65529, 0, 0, 65529, 0, 65535, 65529, 0, 65534, 65529, 0, 65532, 65530, 0, 65531, 65531, 0, 65530, 65531, 0, 65530, 65532, 0, 65530, 65535, 0, 65530, 0, 0, 65531, 0, 0, 65534, 0, 0, 65534, 65535, 0, 65534, 65534, 0, 65533, 65534, 0, 65532, 65534, 0, 65531, 65534, 0, 65531, 65535, 0, 65532, 0, 0, 65533, 0, 0, 65532, 65535, 0, 65533, 65535, 0, 65535, 65535, 0, 65533, 65533, 0, 65534, 65533, 0, 65534, 65532, 0, 65534, 65531, 0, 65535, 65533, 0, 65535, 65532, 0, 65535, 65531, 0, 65535, 65530, 0, 65535, 65534, 0, 65532, 65533, 0, 65531, 65533, 0, 65530, 65534, 0, 65530, 65533, 0, 65531, 65532, 0, 65532, 65531, 0, 65534, 65530, 0, 65533, 65530, 0, 65533, 65531, 0, 65533, 65532, 0, 65532, 65532, 0, 65533, 65529, 0, 65532, 65529, 0, 65531, 65529, 0, 65530, 65529, 0, 65530, 65530, 0, 65531, 65530, 0, 131066, 0, 2, 131067, 0, 2, 131068, 0, 2, 131069, 0, 2, 131070, 0, 2, 131071, 0, 2, 65536, 0, 2, 65537, 0, 2, 65538, 0, 2, 65539, 0, 2, 65540, 0, 2, 65541, 0, 2, 65541, 65535, 2, 65541, 65534, 2, 65541, 65533, 2, 65541, 65532, 2, 65541, 65531, 2, 65541, 65530, 2, 65541, 65529, 2, 65540, 65529, 2, 65539, 65529, 2, 65538, 65529, 2, 65537, 65529, 2, 131070, 65529, 2, 131069, 65529, 2, 131068, 65529, 2, 131067, 65529, 2, 131066, 65529, 2, 131066, 65530, 2, 131066, 65531, 2, 131066, 65534, 2, 131066, 65535, 2, 10, 65529, 0, 10, 65530, 0, 10, 65531, 0, 10, 65532, 0, 10, 65533, 0, 10, 65534, 0, 10, 65535, 0, 10, 0, 0, 11, 0, 0, 12, 0, 0, 13, 0, 0, 14, 0, 0, 15, 0, 0, 16, 0, 0, 17, 0, 0, 18, 0, 0, 19, 0, 0, 20, 0, 0, 21, 0, 0, 21, 65535, 0, 21, 65534, 0, 21, 65533, 0, 21, 65532, 0, 21, 65531, 0, 21, 65530, 0, 21, 65529, 0, 20, 65529, 0, 19, 65529, 0, 18, 65529, 0, 17, 65529, 0, 16, 65529, 0, 15, 65529, 0, 14, 65529, 0, 13, 65529, 0, 12, 65529, 0, 11, 65529, 0, 11, 65530, 0, 11, 65531, 0, 11, 65532, 0, 11, 65533, 0, 11, 65534, 0, 11, 65535, 0, 12, 65535, 0, 15, 65535, 0, 16, 65535, 0, 17, 65535, 0, 18, 65535, 0, 19, 65535, 0, 20, 65535, 0, 20, 65534, 0, 20, 65533, 0, 20, 65532, 0, 20, 65531, 0, 20, 65530, 0, 19, 65530, 0, 18, 65530, 0, 17, 65530, 0, 16, 65530, 0, 15, 65530, 0, 14, 65530, 0, 13, 65530, 0, 12, 65530, 0, 12, 65531, 0, 12, 65532, 0, 12, 65533, 0, 12, 65534, 0, 13, 65535, 0, 14, 65535, 0, 14, 65534, 0, 13, 65533, 0, 13, 65532, 0, 13, 65531, 0, 14, 65531, 0, 15, 65531, 0, 16, 65531, 0, 16, 65532, 0, 17, 65532, 0, 18, 65532, 0, 19, 65532, 0, 19, 65531, 0, 19, 65533, 0, 18, 65533, 0, 17, 65534, 0, 16, 65534, 0, 15, 65534, 0, 13, 65534, 0, 18, 65534, 0, 19, 65534, 0, 14, 65533, 0, 14, 65532, 0, 15, 65533, 0, 16, 65533, 0, 17, 65533, 0, 15, 65532, 0, 17, 65531, 0, 18, 65531, 0, 26, 0, 0, 37, 65529, 0, 36, 65529, 0, 35, 65529, 0, 34, 65529, 0, 33, 65529, 0, 32, 65529, 0, 31, 65529, 0, 31, 65530, 0, 30, 65530, 0, 29, 65530, 0, 30, 65529, 0, 29, 65529, 0, 28, 65529, 0, 27, 65529, 0, 26, 65529, 0, 26, 65530, 0, 26, 65531, 0, 26, 65532, 0, 26, 65533, 0, 26, 65534, 0, 26, 65535, 0, 27, 65530, 0, 27, 65531, 0, 27, 65532, 0, 27, 65533, 0, 27, 65534, 0, 27, 65535, 0, 27, 0, 0, 28, 65530, 0, 28, 65531, 0, 28, 65532, 0, 28, 65533, 0, 28, 65534, 0, 28, 65535, 0, 28, 0, 0, 29, 65531, 0, 29, 65532, 0, 29, 65533, 0, 29, 65534, 0, 29, 65535, 0, 29, 0, 0, 30, 65531, 0, 30, 65532, 0, 30, 65533, 0, 30, 65534, 0, 30, 65535, 0, 30, 0, 0, 31, 65531, 0, 31, 65532, 0, 31, 65533, 0, 31, 65534, 0, 31, 65535, 0, 31, 0, 0, 32, 65530, 0, 32, 65531, 0, 32, 65532, 0, 32, 65533, 0, 32, 65534, 0, 32, 65535, 0, 32, 0, 0, 33, 65530, 0, 33, 65531, 0, 33, 65532, 0, 33, 65533, 0, 33, 65534, 0, 33, 65535, 0, 33, 0, 0, 34, 65530, 0, 34, 65531, 0, 34, 65532, 0, 34, 65533, 0, 34, 65534, 0, 34, 65535, 0, 34, 0, 0, 35, 65530, 0, 35, 65531, 0, 35, 65532, 0, 35, 65533, 0, 35, 65534, 0, 35, 65535, 0, 35, 0, 0, 36, 65530, 0, 36, 65531, 0, 36, 65532, 0, 36, 65533, 0, 36, 65534, 0, 36, 65535, 0, 36, 0, 0, 37, 65530, 0, 37, 65531, 0, 37, 65532, 0, 37, 65533, 0, 37, 65534, 0, 37, 65535, 0, 37, 0, 0, 65530, 5, 0, 65530, 6, 0, 65530, 7, 0, 65530, 8, 0, 65530, 9, 0, 65530, 10, 0, 65530, 11, 0, 65531, 5, 0, 65531, 6, 0, 65531, 7, 0, 65531, 8, 0, 65531, 9, 0, 65531, 10, 0, 65531, 11, 0, 65532, 5, 0, 65532, 6, 0, 65532, 7, 0, 65532, 8, 0, 65532, 9, 0, 65532, 10, 0, 65532, 11, 0, 65533, 5, 0, 65533, 6, 0, 65533, 7, 0, 65533, 8, 0, 65533, 9, 0, 65533, 10, 0, 65533, 11, 0, 65534, 5, 0, 65534, 6, 0, 65534, 7, 0, 65534, 8, 0, 65534, 9, 0, 65534, 10, 0, 65534, 11, 0, 65535, 5, 0, Line truncated
|
|
||||||
}
|
|
||||||
metadata/_editor_floor_ = Vector3(0, 3, 0)
|
|
||||||
|
|
||||||
[node name="OmniLight3D_white" type="OmniLight3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -3)
|
|
||||||
omni_range = 4.0
|
|
||||||
|
|
||||||
[node name="OmniLight3D2_green" type="OmniLight3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 2, -3)
|
|
||||||
light_color = Color(0.565916, 0.798943, 0.502176, 1)
|
|
||||||
omni_range = 4.0
|
|
||||||
|
|
||||||
[node name="OmniLight3D3_orange" type="OmniLight3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 32, 2, -3)
|
|
||||||
light_color = Color(0.933244, 0.547562, 0.264524, 1)
|
|
||||||
omni_range = 4.0
|
|
||||||
|
|
||||||
[node name="OmniLight3D4_purple" type="OmniLight3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 9)
|
|
||||||
light_color = Color(0.782893, 0.635622, 0.949367, 1)
|
|
||||||
omni_range = 4.0
|
|
||||||
|
|
||||||
[node name="OmniLight3D5_red" type="OmniLight3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 2, 9)
|
|
||||||
light_color = Color(1, 0.239216, 0.345098, 1)
|
|
||||||
omni_range = 4.0
|
|
||||||
|
|
||||||
[node name="OmniLight3D6" type="OmniLight3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 32, 2, 9)
|
|
||||||
omni_range = 4.0
|
|
||||||
|
|
||||||
[node name="Player" parent="." instance=ExtResource("2_7nma7")]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.28597, -3)
|
|
||||||
|
|
||||||
[node name="P_white_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
|
||||||
transform = Transform3D(-4.80825e-08, 0, 1.1, 0, 1.1, 0, -1.1, 0, -4.80825e-08, -5.5, 2, -3)
|
|
||||||
mesh = ExtResource("3_ok2r5")
|
|
||||||
script = ExtResource("4_n2ayn")
|
|
||||||
disable_viewport_distance = 100.0
|
|
||||||
destroy_disabled_viewport = false
|
|
||||||
fade_out_distance_max = 100.0
|
|
||||||
fade_out_distance_min = 80.0
|
|
||||||
fade_out_color = Color(1, 0, 1, 1)
|
|
||||||
exit_environment = SubResource("Environment_lquwl")
|
|
||||||
exit_portal = NodePath("../P_red_wide")
|
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="P_white_short"]
|
|
||||||
script = ExtResource("5_dfyqt")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_white_short/Teleport"]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
|
||||||
shape = SubResource("BoxShape3D_1bvp3")
|
|
||||||
|
|
||||||
[node name="P_white_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
|
||||||
transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 0, 2, -6.5)
|
|
||||||
mesh = ExtResource("3_ok2r5")
|
|
||||||
script = ExtResource("4_n2ayn")
|
|
||||||
disable_viewport_distance = 100.0
|
|
||||||
destroy_disabled_viewport = false
|
|
||||||
fade_out_distance_max = 100.0
|
|
||||||
fade_out_distance_min = 80.0
|
|
||||||
fade_out_color = Color(1, 0, 1, 1)
|
|
||||||
exit_environment = SubResource("Environment_lquwl")
|
|
||||||
exit_portal = NodePath("../P_green_short")
|
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="P_white_wide"]
|
|
||||||
script = ExtResource("5_dfyqt")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_white_wide/Teleport"]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
|
||||||
shape = SubResource("BoxShape3D_1bvp3")
|
|
||||||
|
|
||||||
[node name="P_green_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
|
||||||
transform = Transform3D(-4.80825e-08, 0, 1.1, 0, 1.1, 0, -1.1, 0, -4.80825e-08, 10.5, 2, -3)
|
|
||||||
mesh = ExtResource("3_ok2r5")
|
|
||||||
script = ExtResource("4_n2ayn")
|
|
||||||
disable_viewport_distance = 100.0
|
|
||||||
destroy_disabled_viewport = false
|
|
||||||
fade_out_distance_max = 100.0
|
|
||||||
fade_out_distance_min = 80.0
|
|
||||||
fade_out_color = Color(1, 0, 1, 1)
|
|
||||||
exit_environment = SubResource("Environment_lquwl")
|
|
||||||
exit_portal = NodePath("../P_white_wide")
|
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="P_green_short"]
|
|
||||||
script = ExtResource("5_dfyqt")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_green_short/Teleport"]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
|
||||||
shape = SubResource("BoxShape3D_1bvp3")
|
|
||||||
|
|
||||||
[node name="P_green_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
|
||||||
transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 16, 2, -6.5)
|
|
||||||
mesh = ExtResource("3_ok2r5")
|
|
||||||
script = ExtResource("4_n2ayn")
|
|
||||||
disable_viewport_distance = 100.0
|
|
||||||
destroy_disabled_viewport = false
|
|
||||||
fade_out_distance_max = 100.0
|
|
||||||
fade_out_distance_min = 80.0
|
|
||||||
fade_out_color = Color(1, 0, 1, 1)
|
|
||||||
exit_environment = SubResource("Environment_lquwl")
|
|
||||||
exit_portal = NodePath("../P_orange_short")
|
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="P_green_wide"]
|
|
||||||
script = ExtResource("5_dfyqt")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_green_wide/Teleport"]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
|
||||||
shape = SubResource("BoxShape3D_1bvp3")
|
|
||||||
|
|
||||||
[node name="P_orange_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
|
||||||
transform = Transform3D(-4.80825e-08, 0, 1.1, 0, 1.1, 0, -1.1, 0, -4.80825e-08, 26.5, 2, -3)
|
|
||||||
mesh = ExtResource("3_ok2r5")
|
|
||||||
script = ExtResource("4_n2ayn")
|
|
||||||
disable_viewport_distance = 100.0
|
|
||||||
destroy_disabled_viewport = false
|
|
||||||
fade_out_distance_max = 100.0
|
|
||||||
fade_out_distance_min = 80.0
|
|
||||||
fade_out_color = Color(1, 0, 1, 1)
|
|
||||||
exit_environment = SubResource("Environment_lquwl")
|
|
||||||
exit_portal = NodePath("../P_green_wide")
|
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="P_orange_short"]
|
|
||||||
script = ExtResource("5_dfyqt")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_orange_short/Teleport"]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
|
||||||
shape = SubResource("BoxShape3D_1bvp3")
|
|
||||||
|
|
||||||
[node name="P_orange_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
|
||||||
transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 32, 2, -6.5)
|
|
||||||
mesh = ExtResource("3_ok2r5")
|
|
||||||
script = ExtResource("4_n2ayn")
|
|
||||||
disable_viewport_distance = 100.0
|
|
||||||
destroy_disabled_viewport = false
|
|
||||||
fade_out_distance_max = 100.0
|
|
||||||
fade_out_distance_min = 80.0
|
|
||||||
fade_out_color = Color(1, 0, 1, 1)
|
|
||||||
exit_environment = SubResource("Environment_lquwl")
|
|
||||||
exit_portal = NodePath("../P_purple_short")
|
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="P_orange_wide"]
|
|
||||||
script = ExtResource("5_dfyqt")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_orange_wide/Teleport"]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
|
||||||
shape = SubResource("BoxShape3D_1bvp3")
|
|
||||||
|
|
||||||
[node name="P_purple_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
|
||||||
transform = Transform3D(-4.80825e-08, 0, 1.1, 0, 1.1, 0, -1.1, 0, -4.80825e-08, -5.5, 2, 9)
|
|
||||||
mesh = ExtResource("3_ok2r5")
|
|
||||||
script = ExtResource("4_n2ayn")
|
|
||||||
disable_viewport_distance = 100.0
|
|
||||||
destroy_disabled_viewport = false
|
|
||||||
fade_out_distance_max = 100.0
|
|
||||||
fade_out_distance_min = 80.0
|
|
||||||
fade_out_color = Color(1, 0, 1, 1)
|
|
||||||
exit_environment = SubResource("Environment_lquwl")
|
|
||||||
exit_portal = NodePath("../P_orange_wide")
|
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="P_purple_short"]
|
|
||||||
script = ExtResource("5_dfyqt")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_purple_short/Teleport"]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
|
||||||
shape = SubResource("BoxShape3D_1bvp3")
|
|
||||||
|
|
||||||
[node name="P_purple_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
|
||||||
transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 0, 2, 5.5)
|
|
||||||
mesh = ExtResource("3_ok2r5")
|
|
||||||
script = ExtResource("4_n2ayn")
|
|
||||||
disable_viewport_distance = 100.0
|
|
||||||
destroy_disabled_viewport = false
|
|
||||||
fade_out_distance_max = 100.0
|
|
||||||
fade_out_distance_min = 80.0
|
|
||||||
fade_out_color = Color(1, 0, 1, 1)
|
|
||||||
exit_environment = SubResource("Environment_lquwl")
|
|
||||||
exit_portal = NodePath("../P_red_short")
|
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="P_purple_wide"]
|
|
||||||
script = ExtResource("5_dfyqt")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_purple_wide/Teleport"]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
|
||||||
shape = SubResource("BoxShape3D_1bvp3")
|
|
||||||
|
|
||||||
[node name="P_red_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
|
||||||
transform = Transform3D(-4.80825e-08, 0, 1.1, 0, 1.1, 0, -1.1, 0, -4.80825e-08, 10.5, 2, 9)
|
|
||||||
mesh = ExtResource("3_ok2r5")
|
|
||||||
script = ExtResource("4_n2ayn")
|
|
||||||
disable_viewport_distance = 100.0
|
|
||||||
destroy_disabled_viewport = false
|
|
||||||
fade_out_distance_max = 100.0
|
|
||||||
fade_out_distance_min = 80.0
|
|
||||||
fade_out_color = Color(1, 0, 1, 1)
|
|
||||||
exit_environment = SubResource("Environment_lquwl")
|
|
||||||
exit_portal = NodePath("../P_purple_wide")
|
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="P_red_short"]
|
|
||||||
script = ExtResource("5_dfyqt")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_red_short/Teleport"]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
|
||||||
shape = SubResource("BoxShape3D_1bvp3")
|
|
||||||
|
|
||||||
[node name="P_red_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
|
||||||
transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 16, 2, 5.5)
|
|
||||||
mesh = ExtResource("3_ok2r5")
|
|
||||||
script = ExtResource("4_n2ayn")
|
|
||||||
disable_viewport_distance = 100.0
|
|
||||||
destroy_disabled_viewport = false
|
|
||||||
fade_out_distance_max = 100.0
|
|
||||||
fade_out_distance_min = 80.0
|
|
||||||
fade_out_color = Color(1, 0, 1, 1)
|
|
||||||
exit_environment = SubResource("Environment_lquwl")
|
|
||||||
exit_portal = NodePath("../P_white_short")
|
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="P_red_wide"]
|
|
||||||
script = ExtResource("5_dfyqt")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_red_wide/Teleport"]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
|
||||||
shape = SubResource("BoxShape3D_1bvp3")
|
|
||||||
@@ -1,10 +1,12 @@
|
|||||||
[gd_scene load_steps=10 format=3 uid="uid://27pb62xwsqd8"]
|
[gd_scene load_steps=13 format=3 uid="uid://27pb62xwsqd8"]
|
||||||
|
|
||||||
[ext_resource type="MeshLibrary" uid="uid://bedqgubx1g1uf" path="res://prototypes.tres" id="1_mqqdr"]
|
[ext_resource type="PackedScene" uid="uid://b5x7fmpwck335" path="res://hud.tscn" id="1_mmt1i"]
|
||||||
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="2_b14t7"]
|
[ext_resource type="MeshLibrary" uid="uid://bedqgubx1g1uf" path="res://prototypes.tres" id="2_vdsn8"]
|
||||||
[ext_resource type="ArrayMesh" uid="uid://bqilnvlfws6xh" path="res://portal-mesh.tres" id="2_cgnft"]
|
[ext_resource type="ArrayMesh" uid="uid://bqilnvlfws6xh" path="res://portal-mesh.tres" id="3_c4jka"]
|
||||||
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="3_b0o0q"]
|
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="4_top28"]
|
||||||
[ext_resource type="Script" uid="uid://bkv7t4hw21byg" path="res://addons/simple-portal-system/scripts/simple_portal_teleport.gd" id="4_snwvi"]
|
[ext_resource type="Script" uid="uid://bkv7t4hw21byg" path="res://addons/simple-portal-system/scripts/simple_portal_teleport.gd" id="5_evjit"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="6_hlt8e"]
|
||||||
|
[ext_resource type="Script" uid="uid://cili3lyodjqel" path="res://portal_environment_adapter.gd" id="7_2gewm"]
|
||||||
|
|
||||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_b0o0q"]
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_b0o0q"]
|
||||||
sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
|
sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
|
||||||
@@ -16,18 +18,27 @@ sky_material = SubResource("ProceduralSkyMaterial_b0o0q")
|
|||||||
[sub_resource type="Environment" id="Environment_snwvi"]
|
[sub_resource type="Environment" id="Environment_snwvi"]
|
||||||
background_mode = 2
|
background_mode = 2
|
||||||
sky = SubResource("Sky_cgnft")
|
sky = SubResource("Sky_cgnft")
|
||||||
|
tonemap_mode = 3
|
||||||
|
tonemap_exposure = 1.5
|
||||||
glow_enabled = true
|
glow_enabled = true
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_cgnft"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_cgnft"]
|
||||||
size = Vector3(2, 2, 0.5)
|
size = Vector3(2, 2, 0.5)
|
||||||
|
|
||||||
|
[sub_resource type="ViewportTexture" id="ViewportTexture_mmt1i"]
|
||||||
|
viewport_path = NodePath("SubViewport")
|
||||||
|
|
||||||
[node name="level_3rooms" type="Node3D"]
|
[node name="level_3rooms" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="HUD" parent="." instance=ExtResource("1_mmt1i")]
|
||||||
|
offset_right = 137.0
|
||||||
|
offset_bottom = 23.0
|
||||||
|
|
||||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
environment = SubResource("Environment_snwvi")
|
environment = SubResource("Environment_snwvi")
|
||||||
|
|
||||||
[node name="GridMap" type="GridMap" parent="."]
|
[node name="GridMap" type="GridMap" parent="."]
|
||||||
mesh_library = ExtResource("1_mqqdr")
|
mesh_library = ExtResource("2_vdsn8")
|
||||||
cell_size = Vector3(1, 1, 1)
|
cell_size = Vector3(1, 1, 1)
|
||||||
data = {
|
data = {
|
||||||
"cells": PackedInt32Array(65530, 6, 0, 65531, 6, 0, 65532, 6, 0, 65533, 6, 0, 65534, 6, 0, 65535, 6, 0, 0, 6, 0, 1, 6, 0, 2, 6, 0, 3, 6, 0, 4, 6, 0, 5, 6, 0, 5, 5, 0, 6, 5, 0, 6, 4, 0, 6, 3, 0, 6, 1, 0, 6, 2, 0, 5, 3, 0, 5, 4, 0, 6, 6, 0, 5, 2, 0, 6, 0, 0, 65535, 65529, 0, 65534, 65529, 0, 65533, 65529, 0, 65532, 65529, 0, 65531, 65529, 0, 65530, 65529, 0, 65529, 65529, 0, 65529, 65530, 0, 65529, 65531, 0, 65528, 65531, 0, 65528, 65532, 0, 65528, 65533, 0, 65528, 65534, 0, 65528, 65535, 0, 65528, 0, 0, 65528, 1, 0, 65528, 2, 0, 65528, 3, 0, 65528, 4, 0, 65528, 5, 0, 65528, 6, 0, 65529, 6, 0, 65529, 1, 0, 65529, 0, 0, 65529, 65535, 0, 65529, 65534, 0, 65529, 65533, 0, 65530, 65535, 0, 65530, 0, 0, 65530, 1, 0, 65530, 2, 0, 65530, 3, 0, 65529, 3, 0, 65529, 4, 0, 65529, 5, 0, 65530, 4, 0, 65530, 5, 0, 65531, 5, 0, 65529, 2, 0, 65530, 65534, 0, 65530, 65533, 0, 65529, 65532, 0, 65530, 65530, 0, 65531, 65530, 0, 65531, 65531, 0, 65531, 65532, 0, 65531, 65533, 0, 65530, 65532, 0, 65528, 65530, 0, 65528, 65529, 0, 65530, 65531, 0, 65534, 65530, 0, 65535, 65530, 0, 65534, 65531, 0, 65533, 65531, 0, 65532, 65531, 0, 65532, 65530, 0, 65533, 65530, 0, 5, 1, 0, 5, 0, 0, 4, 0, 0, 4, 1, 0, 4, 2, 0, 3, 2, 0, 3, 3, 0, 3, 4, 0, 3, 5, 0, 4, 5, 0, 4, 4, 0, 4, 3, 0, 0, 5, 0, 1, 5, 0, 2, 5, 0, 65535, 5, 0, 65534, 5, 0, 65533, 5, 0, 65532, 5, 0, 65531, 4, 0, 65532, 4, 0, 65533, 4, 0, 65534, 4, 0, 65535, 3, 0, 0, 3, 0, 0, 4, 0, 1, 4, 0, 1, 3, 0, 2, 3, 0, 2, 4, 0, 65535, 4, 0, 65534, 3, 0, 65533, 3, 0, 65532, 3, 0, 65531, 3, 0, 65531, 2, 0, 65532, 2, 0, 65533, 2, 0, 65534, 2, 0, 65535, 2, 0, 0, 2, 0, 1, 2, 0, 2, 2, 0, 3, 1, 0, 2, 1, 0, 1, 1, 0, 0, 1, 0, 65535, 1, 0, 65534, 1, 0, 65533, 1, 0, 65532, 1, 0, 65531, 1, 0, 65531, 0, 0, 65531, 65535, 0, 65532, 0, 0, 65533, 0, 0, 65534, 0, 0, 65535, 0, 0, 0, 0, 0, 3, 0, 0, 2, 0, 0, 1, 0, 0, 65535, 65531, 0, 65534, 65532, 0, 65535, 65532, 0, 65535, 65533, 0, 65535, 65534, 0, 65535, 65535, 0, 65534, 65535, 0, 65534, 65534, 0, 65533, 65533, 0, 65533, 65532, 0, 65532, 65532, 0, 65532, 65533, 0, 65532, 65534, 0, 65533, 65534, 0, 65533, 65535, 0, 65532, 65535, 0, 65531, 65534, 0, 65534, 65533, 0, 0, 65535, 0, 1, 65535, 0, 2, 65535, 0, 3, 65535, 0, 4, 65535, 0, 5, 65535, 0, 6, 65535, 0, 65528, 65528, 0, 65529, 65528, 0, 65530, 65528, 0, 65531, 65528, 0, 65532, 65528, 0, 65533, 65528, 0, 65534, 65528, 0, 65535, 65528, 0, 131064, 6, 0, 131065, 6, 0, 131066, 6, 0, 131067, 6, 0, 131068, 6, 0, 131069, 6, 0, 131070, 6, 0, 131071, 6, 0, 65536, 6, 0, 65537, 6, 0, 65538, 6, 0, 65539, 6, 0, 65540, 6, 0, 65541, 6, 0, 65542, 6, 0, 131064, 5, 0, 131064, 4, 0, 131064, 3, 0, 131064, 2, 0, 131064, 1, 0, 131064, 0, 0, 131064, 65535, 0, 131064, 65534, 0, 131064, 65533, 0, 131064, 65532, 0, 131064, 65531, 0, 131064, 65530, 0, 131064, 65529, 0, 131064, 65528, 0, 131065, 65528, 0, 131066, 65528, 0, 131067, 65528, 0, 131068, 65528, 0, 131069, 65528, 0, 131070, 65528, 0, 131071, 65528, 0, 131065, 65535, 0, 131066, 65535, 0, 131069, 65535, 0, 131070, 65535, 0, 131071, 65535, 0, 131071, 65534, 0, 131071, 65533, 0, 131071, 65530, 0, 131071, 65529, 0, 131071, 0, 0, 131071, 1, 0, 131071, 4, 0, 131071, 5, 0, 65536, 65535, 0, 65537, 65535, 0, 65542, 65535, 0, 65542, 0, 0, 65542, 1, 0, 65542, 5, 0, 65542, 4, 0, 65542, 3, 0, 65542, 2, 0, 65541, 65535, 0, 65540, 65535, 0, 196600, 0, 1, 196600, 1, 1, 196600, 2, 1, 196600, 3, 1, 196600, 4, 1, 196600, 5, 1, 196600, 6, 1, 196601, 6, 1, 196602, 6, 1, 196603, 6, 1, 196604, 6, 1, 196605, 6, 1, 196606, 6, 1, 131072, 6, 3, 131073, 6, 3, 131074, 6, 3, 131075, 6, 3, 131076, 6, 3, 131077, 6, 3, 131078, 6, 3, 131078, 5, 3, 131078, 4, 3, 131078, 3, 3, 131078, 2, 3, 131078, 1, 3, 131078, 0, 3, 196600, 65533, 5, 196600, 65534, 5, 196600, 65532, 5, 196600, 65531, 5, 196600, 65530, 5, 196600, 65529, 5, 196600, 65528, 5, 196601, 65528, 5, 196602, 65528, 5, 196603, 65528, 5, 196604, 65528, 5, 196605, 65528, 5, 196606, 65528, 5, 196600, 65535, 0, 196601, 65535, 0, 196602, 65535, 0, 196605, 65535, 0, 196606, 65535, 0, 196607, 65535, 0, 131072, 65535, 0, 131073, 65535, 0, 196607, 1, 0, 196607, 0, 0, 196607, 65534, 0, 196607, 65533, 0, 131078, 65535, 0, 131077, 65535, 0, 131076, 65535, 0, 196607, 65528, 0, 196607, 65529, 0, 196607, 65530, 0, 262143, 65528, 0, 262142, 65528, 0, 262141, 65528, 0, 262140, 65528, 0, 262139, 65528, 0, 262138, 65528, 0, 262137, 65528, 0, 262136, 65528, 0, 262136, 65529, 0, 262136, 65530, 0, 262136, 65531, 0, 262136, 65532, 0, 262136, 65533, 0, 262136, 65534, 0, 262136, 65535, 0, 262136, 0, 0, 262136, 1, 0, 262136, 2, 0, 262136, 3, 0, 262136, 4, 0, 262136, 5, 0, 262137, 6, 0, 262136, 6, 0, 262138, 6, 0, 262139, 6, 0, 262140, 6, 0, 262141, 6, 0, 262142, 6, 0, 196607, 4, 0, 196607, 5, 0, 196607, 6, 0, 262143, 6, 0, 196608, 6, 0, 196609, 6, 0, 196610, 6, 0, 196611, 6, 0, 196612, 6, 0, 196613, 6, 0, 196614, 6, 0, 196614, 5, 0, 196614, 4, 0, 196614, 3, 0, 196614, 2, 0, 196614, 1, 0, 196614, 0, 0, 196614, 65535, 0, 196613, 65535, 0, 196612, 65535, 0, 196609, 65535, 0, 196608, 655Line truncated
|
"cells": PackedInt32Array(65530, 6, 0, 65531, 6, 0, 65532, 6, 0, 65533, 6, 0, 65534, 6, 0, 65535, 6, 0, 0, 6, 0, 1, 6, 0, 2, 6, 0, 3, 6, 0, 4, 6, 0, 5, 6, 0, 5, 5, 0, 6, 5, 0, 6, 4, 0, 6, 3, 0, 6, 1, 0, 6, 2, 0, 5, 3, 0, 5, 4, 0, 6, 6, 0, 5, 2, 0, 6, 0, 0, 65535, 65529, 0, 65534, 65529, 0, 65533, 65529, 0, 65532, 65529, 0, 65531, 65529, 0, 65530, 65529, 0, 65529, 65529, 0, 65529, 65530, 0, 65529, 65531, 0, 65528, 65531, 0, 65528, 65532, 0, 65528, 65533, 0, 65528, 65534, 0, 65528, 65535, 0, 65528, 0, 0, 65528, 1, 0, 65528, 2, 0, 65528, 3, 0, 65528, 4, 0, 65528, 5, 0, 65528, 6, 0, 65529, 6, 0, 65529, 1, 0, 65529, 0, 0, 65529, 65535, 0, 65529, 65534, 0, 65529, 65533, 0, 65530, 65535, 0, 65530, 0, 0, 65530, 1, 0, 65530, 2, 0, 65530, 3, 0, 65529, 3, 0, 65529, 4, 0, 65529, 5, 0, 65530, 4, 0, 65530, 5, 0, 65531, 5, 0, 65529, 2, 0, 65530, 65534, 0, 65530, 65533, 0, 65529, 65532, 0, 65530, 65530, 0, 65531, 65530, 0, 65531, 65531, 0, 65531, 65532, 0, 65531, 65533, 0, 65530, 65532, 0, 65528, 65530, 0, 65528, 65529, 0, 65530, 65531, 0, 65534, 65530, 0, 65535, 65530, 0, 65534, 65531, 0, 65533, 65531, 0, 65532, 65531, 0, 65532, 65530, 0, 65533, 65530, 0, 5, 1, 0, 5, 0, 0, 4, 0, 0, 4, 1, 0, 4, 2, 0, 3, 2, 0, 3, 3, 0, 3, 4, 0, 3, 5, 0, 4, 5, 0, 4, 4, 0, 4, 3, 0, 0, 5, 0, 1, 5, 0, 2, 5, 0, 65535, 5, 0, 65534, 5, 0, 65533, 5, 0, 65532, 5, 0, 65531, 4, 0, 65532, 4, 0, 65533, 4, 0, 65534, 4, 0, 65535, 3, 0, 0, 3, 0, 0, 4, 0, 1, 4, 0, 1, 3, 0, 2, 3, 0, 2, 4, 0, 65535, 4, 0, 65534, 3, 0, 65533, 3, 0, 65532, 3, 0, 65531, 3, 0, 65531, 2, 0, 65532, 2, 0, 65533, 2, 0, 65534, 2, 0, 65535, 2, 0, 0, 2, 0, 1, 2, 0, 2, 2, 0, 3, 1, 0, 2, 1, 0, 1, 1, 0, 0, 1, 0, 65535, 1, 0, 65534, 1, 0, 65533, 1, 0, 65532, 1, 0, 65531, 1, 0, 65531, 0, 0, 65531, 65535, 0, 65532, 0, 0, 65533, 0, 0, 65534, 0, 0, 65535, 0, 0, 0, 0, 0, 3, 0, 0, 2, 0, 0, 1, 0, 0, 65535, 65531, 0, 65534, 65532, 0, 65535, 65532, 0, 65535, 65533, 0, 65535, 65534, 0, 65535, 65535, 0, 65534, 65535, 0, 65534, 65534, 0, 65533, 65533, 0, 65533, 65532, 0, 65532, 65532, 0, 65532, 65533, 0, 65532, 65534, 0, 65533, 65534, 0, 65533, 65535, 0, 65532, 65535, 0, 65531, 65534, 0, 65534, 65533, 0, 0, 65535, 0, 1, 65535, 0, 2, 65535, 0, 3, 65535, 0, 4, 65535, 0, 5, 65535, 0, 6, 65535, 0, 65528, 65528, 0, 65529, 65528, 0, 65530, 65528, 0, 65531, 65528, 0, 65532, 65528, 0, 65533, 65528, 0, 65534, 65528, 0, 65535, 65528, 0, 131064, 6, 0, 131065, 6, 0, 131066, 6, 0, 131067, 6, 0, 131068, 6, 0, 131069, 6, 0, 131070, 6, 0, 131071, 6, 0, 65536, 6, 0, 65537, 6, 0, 65538, 6, 0, 65539, 6, 0, 65540, 6, 0, 65541, 6, 0, 65542, 6, 0, 131064, 5, 0, 131064, 4, 0, 131064, 3, 0, 131064, 2, 0, 131064, 1, 0, 131064, 0, 0, 131064, 65535, 0, 131064, 65534, 0, 131064, 65533, 0, 131064, 65532, 0, 131064, 65531, 0, 131064, 65530, 0, 131064, 65529, 0, 131064, 65528, 0, 131065, 65528, 0, 131066, 65528, 0, 131067, 65528, 0, 131068, 65528, 0, 131069, 65528, 0, 131070, 65528, 0, 131071, 65528, 0, 131065, 65535, 0, 131066, 65535, 0, 131069, 65535, 0, 131070, 65535, 0, 131071, 65535, 0, 131071, 65534, 0, 131071, 65533, 0, 131071, 65530, 0, 131071, 65529, 0, 131071, 0, 0, 131071, 1, 0, 131071, 4, 0, 131071, 5, 0, 65536, 65535, 0, 65537, 65535, 0, 65542, 65535, 0, 65542, 0, 0, 65542, 1, 0, 65542, 5, 0, 65542, 4, 0, 65542, 3, 0, 65542, 2, 0, 65541, 65535, 0, 65540, 65535, 0, 196600, 0, 1, 196600, 1, 1, 196600, 2, 1, 196600, 3, 1, 196600, 4, 1, 196600, 5, 1, 196600, 6, 1, 196601, 6, 1, 196602, 6, 1, 196603, 6, 1, 196604, 6, 1, 196605, 6, 1, 196606, 6, 1, 131072, 6, 3, 131073, 6, 3, 131074, 6, 3, 131075, 6, 3, 131076, 6, 3, 131077, 6, 3, 131078, 6, 3, 131078, 5, 3, 131078, 4, 3, 131078, 3, 3, 131078, 2, 3, 131078, 1, 3, 131078, 0, 3, 196600, 65533, 5, 196600, 65534, 5, 196600, 65532, 5, 196600, 65531, 5, 196600, 65530, 5, 196600, 65529, 5, 196600, 65528, 5, 196601, 65528, 5, 196602, 65528, 5, 196603, 65528, 5, 196604, 65528, 5, 196605, 65528, 5, 196606, 65528, 5, 196600, 65535, 0, 196601, 65535, 0, 196602, 65535, 0, 196605, 65535, 0, 196606, 65535, 0, 196607, 65535, 0, 131072, 65535, 0, 131073, 65535, 0, 196607, 1, 0, 196607, 0, 0, 196607, 65534, 0, 196607, 65533, 0, 131078, 65535, 0, 131077, 65535, 0, 131076, 65535, 0, 196607, 65528, 0, 196607, 65529, 0, 196607, 65530, 0, 262143, 65528, 0, 262142, 65528, 0, 262141, 65528, 0, 262140, 65528, 0, 262139, 65528, 0, 262138, 65528, 0, 262137, 65528, 0, 262136, 65528, 0, 262136, 65529, 0, 262136, 65530, 0, 262136, 65531, 0, 262136, 65532, 0, 262136, 65533, 0, 262136, 65534, 0, 262136, 65535, 0, 262136, 0, 0, 262136, 1, 0, 262136, 2, 0, 262136, 3, 0, 262136, 4, 0, 262136, 5, 0, 262137, 6, 0, 262136, 6, 0, 262138, 6, 0, 262139, 6, 0, 262140, 6, 0, 262141, 6, 0, 262142, 6, 0, 196607, 4, 0, 196607, 5, 0, 196607, 6, 0, 262143, 6, 0, 196608, 6, 0, 196609, 6, 0, 196610, 6, 0, 196611, 6, 0, 196612, 6, 0, 196613, 6, 0, 196614, 6, 0, 196614, 5, 0, 196614, 4, 0, 196614, 3, 0, 196614, 2, 0, 196614, 1, 0, 196614, 0, 0, 196614, 65535, 0, 196613, 65535, 0, 196612, 65535, 0, 196609, 65535, 0, 196608, 655Line truncated
|
||||||
@@ -36,9 +47,9 @@ metadata/_editor_floor_ = Vector3(0, 3, 0)
|
|||||||
|
|
||||||
[node name="Portal_red" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
[node name="Portal_red" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -0.5, 2, -4)
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -0.5, 2, -4)
|
||||||
mesh = ExtResource("2_cgnft")
|
mesh = ExtResource("3_c4jka")
|
||||||
skeleton = NodePath("")
|
skeleton = NodePath("")
|
||||||
script = ExtResource("2_b14t7")
|
script = ExtResource("4_top28")
|
||||||
vertical_viewport_resolution = 1080
|
vertical_viewport_resolution = 1080
|
||||||
disable_viewport_distance = 32.0
|
disable_viewport_distance = 32.0
|
||||||
fade_out_distance_max = 30.0
|
fade_out_distance_max = 30.0
|
||||||
@@ -47,7 +58,7 @@ fade_out_color = Color(0, 0, 0, 1)
|
|||||||
exit_portal = NodePath("../Portal_orange")
|
exit_portal = NodePath("../Portal_orange")
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="Portal_red"]
|
[node name="Teleport" type="Area3D" parent="Portal_red"]
|
||||||
script = ExtResource("4_snwvi")
|
script = ExtResource("5_evjit")
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Portal_red/Teleport"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Portal_red/Teleport"]
|
||||||
transform = Transform3D(1, 0, 4.72511e-13, 0, 1, 0, -4.72511e-13, 0, 1, 0, 0, -0.250244)
|
transform = Transform3D(1, 0, 4.72511e-13, 0, 1, 0, -4.72511e-13, 0, 1, 0, 0, -0.250244)
|
||||||
@@ -55,9 +66,9 @@ shape = SubResource("BoxShape3D_cgnft")
|
|||||||
|
|
||||||
[node name="Portal_orange" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
[node name="Portal_orange" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 2, -0.5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 2, -0.5)
|
||||||
mesh = ExtResource("2_cgnft")
|
mesh = ExtResource("3_c4jka")
|
||||||
skeleton = NodePath("")
|
skeleton = NodePath("")
|
||||||
script = ExtResource("2_b14t7")
|
script = ExtResource("4_top28")
|
||||||
vertical_viewport_resolution = 1080
|
vertical_viewport_resolution = 1080
|
||||||
disable_viewport_distance = 32.0
|
disable_viewport_distance = 32.0
|
||||||
fade_out_distance_max = 30.0
|
fade_out_distance_max = 30.0
|
||||||
@@ -66,13 +77,13 @@ fade_out_color = Color(0, 0, 0, 1)
|
|||||||
exit_portal = NodePath("../Portal_red")
|
exit_portal = NodePath("../Portal_red")
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="Portal_orange"]
|
[node name="Teleport" type="Area3D" parent="Portal_orange"]
|
||||||
script = ExtResource("4_snwvi")
|
script = ExtResource("5_evjit")
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Portal_orange/Teleport"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Portal_orange/Teleport"]
|
||||||
transform = Transform3D(1, 0, 4.72511e-13, 0, 1, 0, -4.72511e-13, 0, 1, 0, 0, -0.250244)
|
transform = Transform3D(1, 0, 4.72511e-13, 0, 1, 0, -4.72511e-13, 0, 1, 0, 0, -0.250244)
|
||||||
shape = SubResource("BoxShape3D_cgnft")
|
shape = SubResource("BoxShape3D_cgnft")
|
||||||
|
|
||||||
[node name="Player" parent="." instance=ExtResource("3_b0o0q")]
|
[node name="Player" parent="." instance=ExtResource("6_hlt8e")]
|
||||||
transform = Transform3D(0.727006, 0, 0.686631, 0, 1, 0, -0.686631, 0, 0.727006, 4.51826, 1.08552, 4.0716)
|
transform = Transform3D(0.727006, 0, 0.686631, 0, 1, 0, -0.686631, 0, 0.727006, 4.51826, 1.08552, 4.0716)
|
||||||
|
|
||||||
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
||||||
@@ -92,3 +103,24 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 3, 3)
|
|||||||
light_color = Color(0.887552, 0.489512, 0.22965, 1)
|
light_color = Color(0.887552, 0.489512, 0.22965, 1)
|
||||||
light_energy = 3.0
|
light_energy = 3.0
|
||||||
omni_range = 4.0
|
omni_range = 4.0
|
||||||
|
|
||||||
|
[node name="PortalEnvironmentAdapter" type="Node" parent="." node_paths=PackedStringArray("base")]
|
||||||
|
script = ExtResource("7_2gewm")
|
||||||
|
base = NodePath("../WorldEnvironment")
|
||||||
|
|
||||||
|
[node name="Window" type="Window" parent="."]
|
||||||
|
title = "Scene overview"
|
||||||
|
initial_position = 3
|
||||||
|
size = Vector2i(1920, 1080)
|
||||||
|
current_screen = 1
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="Window"]
|
||||||
|
offset_right = 40.0
|
||||||
|
offset_bottom = 40.0
|
||||||
|
texture = SubResource("ViewportTexture_mmt1i")
|
||||||
|
|
||||||
|
[node name="SubViewport" type="SubViewport" parent="."]
|
||||||
|
size = Vector2i(1920, 1080)
|
||||||
|
|
||||||
|
[node name="Camera3D" type="Camera3D" parent="SubViewport"]
|
||||||
|
transform = Transform3D(-0.69337, -0.493312, 0.525244, 0, 0.728917, 0.684602, -0.720582, 0.474683, -0.505409, 2.78382, 9.04787, -3.54716)
|
||||||
@@ -0,0 +1,265 @@
|
|||||||
|
[gd_scene load_steps=13 format=3 uid="uid://dpatwnepecl8r"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b5x7fmpwck335" path="res://hud.tscn" id="1_hl706"]
|
||||||
|
[ext_resource type="MeshLibrary" uid="uid://bedqgubx1g1uf" path="res://prototypes.tres" id="2_2dlki"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="3_uhhax"]
|
||||||
|
[ext_resource type="ArrayMesh" uid="uid://bqilnvlfws6xh" path="res://portal-mesh.tres" id="4_mkbk1"]
|
||||||
|
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="5_2gwo3"]
|
||||||
|
[ext_resource type="Script" uid="uid://bkv7t4hw21byg" path="res://addons/simple-portal-system/scripts/simple_portal_teleport.gd" id="6_1dqps"]
|
||||||
|
[ext_resource type="Script" uid="uid://cili3lyodjqel" path="res://portal_environment_adapter.gd" id="7_2dlki"]
|
||||||
|
|
||||||
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_lquwl"]
|
||||||
|
|
||||||
|
[sub_resource type="Sky" id="Sky_7mycd"]
|
||||||
|
sky_material = SubResource("ProceduralSkyMaterial_lquwl")
|
||||||
|
|
||||||
|
[sub_resource type="Environment" id="Environment_272bh"]
|
||||||
|
sky = SubResource("Sky_7mycd")
|
||||||
|
tonemap_mode = 2
|
||||||
|
|
||||||
|
[sub_resource type="Environment" id="Environment_lquwl"]
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_1bvp3"]
|
||||||
|
size = Vector3(2, 2.5, 0.2)
|
||||||
|
|
||||||
|
[node name="Level_5_rooms" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="HUD" parent="." instance=ExtResource("1_hl706")]
|
||||||
|
offset_right = 114.0
|
||||||
|
offset_bottom = 39.0
|
||||||
|
|
||||||
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
|
environment = SubResource("Environment_272bh")
|
||||||
|
|
||||||
|
[node name="GridMap" type="GridMap" parent="."]
|
||||||
|
mesh_library = ExtResource("2_2dlki")
|
||||||
|
cell_size = Vector3(1, 1, 1)
|
||||||
|
data = {
|
||||||
|
"cells": PackedInt32Array(0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 5, 0, 0, 0, 65535, 0, 0, 65534, 0, 0, 65533, 0, 0, 65532, 0, 0, 65531, 0, 0, 65530, 0, 1, 65529, 0, 2, 65529, 0, 3, 65529, 0, 3, 65530, 0, 4, 65530, 0, 5, 65530, 0, 5, 65531, 0, 5, 65532, 0, 5, 65533, 0, 5, 65534, 0, 5, 65535, 0, 4, 65535, 0, 3, 65535, 0, 2, 65535, 0, 2, 65534, 0, 1, 65534, 0, 2, 65533, 0, 3, 65533, 0, 4, 65534, 0, 3, 65534, 0, 1, 65535, 0, 65535, 0, 0, 2, 65532, 0, 1, 65532, 0, 1, 65531, 0, 1, 65530, 0, 1, 65533, 0, 4, 65533, 0, 3, 65532, 0, 3, 65531, 0, 2, 65531, 0, 2, 65530, 0, 4, 65532, 0, 4, 65531, 0, 4, 65529, 0, 5, 65529, 0, 0, 65529, 0, 65535, 65529, 0, 65534, 65529, 0, 65532, 65530, 0, 65531, 65531, 0, 65530, 65531, 0, 65530, 65532, 0, 65530, 65535, 0, 65530, 0, 0, 65531, 0, 0, 65534, 0, 0, 65534, 65535, 0, 65534, 65534, 0, 65533, 65534, 0, 65532, 65534, 0, 65531, 65534, 0, 65531, 65535, 0, 65532, 0, 0, 65533, 0, 0, 65532, 65535, 0, 65533, 65535, 0, 65535, 65535, 0, 65533, 65533, 0, 65534, 65533, 0, 65534, 65532, 0, 65534, 65531, 0, 65535, 65533, 0, 65535, 65532, 0, 65535, 65531, 0, 65535, 65530, 0, 65535, 65534, 0, 65532, 65533, 0, 65531, 65533, 0, 65530, 65534, 0, 65530, 65533, 0, 65531, 65532, 0, 65532, 65531, 0, 65534, 65530, 0, 65533, 65530, 0, 65533, 65531, 0, 65533, 65532, 0, 65532, 65532, 0, 65533, 65529, 0, 65532, 65529, 0, 65531, 65529, 0, 65530, 65529, 0, 65530, 65530, 0, 65531, 65530, 0, 131066, 0, 2, 131067, 0, 2, 131068, 0, 2, 131069, 0, 2, 131070, 0, 2, 131071, 0, 2, 65536, 0, 2, 65537, 0, 2, 65538, 0, 2, 65539, 0, 2, 65540, 0, 2, 65541, 0, 2, 65541, 65535, 2, 65541, 65534, 2, 65541, 65533, 2, 65541, 65532, 2, 65541, 65531, 2, 65541, 65530, 2, 65541, 65529, 2, 65540, 65529, 2, 65539, 65529, 2, 65538, 65529, 2, 65537, 65529, 2, 131070, 65529, 2, 131069, 65529, 2, 131068, 65529, 2, 131067, 65529, 2, 131066, 65529, 2, 131066, 65530, 2, 131066, 65531, 2, 131066, 65534, 2, 131066, 65535, 2, 10, 65529, 0, 10, 65530, 0, 10, 65531, 0, 10, 65532, 0, 10, 65533, 0, 10, 65534, 0, 10, 65535, 0, 10, 0, 0, 11, 0, 0, 12, 0, 0, 13, 0, 0, 14, 0, 0, 15, 0, 0, 16, 0, 0, 17, 0, 0, 18, 0, 0, 19, 0, 0, 20, 0, 0, 21, 0, 0, 21, 65535, 0, 21, 65534, 0, 21, 65533, 0, 21, 65532, 0, 21, 65531, 0, 21, 65530, 0, 21, 65529, 0, 20, 65529, 0, 19, 65529, 0, 18, 65529, 0, 17, 65529, 0, 16, 65529, 0, 15, 65529, 0, 14, 65529, 0, 13, 65529, 0, 12, 65529, 0, 11, 65529, 0, 11, 65530, 0, 11, 65531, 0, 11, 65532, 0, 11, 65533, 0, 11, 65534, 0, 11, 65535, 0, 12, 65535, 0, 15, 65535, 0, 16, 65535, 0, 17, 65535, 0, 18, 65535, 0, 19, 65535, 0, 20, 65535, 0, 20, 65534, 0, 20, 65533, 0, 20, 65532, 0, 20, 65531, 0, 20, 65530, 0, 19, 65530, 0, 18, 65530, 0, 17, 65530, 0, 16, 65530, 0, 15, 65530, 0, 14, 65530, 0, 13, 65530, 0, 12, 65530, 0, 12, 65531, 0, 12, 65532, 0, 12, 65533, 0, 12, 65534, 0, 13, 65535, 0, 14, 65535, 0, 14, 65534, 0, 13, 65533, 0, 13, 65532, 0, 13, 65531, 0, 14, 65531, 0, 15, 65531, 0, 16, 65531, 0, 16, 65532, 0, 17, 65532, 0, 18, 65532, 0, 19, 65532, 0, 19, 65531, 0, 19, 65533, 0, 18, 65533, 0, 17, 65534, 0, 16, 65534, 0, 15, 65534, 0, 13, 65534, 0, 18, 65534, 0, 19, 65534, 0, 14, 65533, 0, 14, 65532, 0, 15, 65533, 0, 16, 65533, 0, 17, 65533, 0, 15, 65532, 0, 17, 65531, 0, 18, 65531, 0, 26, 0, 0, 37, 65529, 0, 36, 65529, 0, 35, 65529, 0, 34, 65529, 0, 33, 65529, 0, 32, 65529, 0, 31, 65529, 0, 31, 65530, 0, 30, 65530, 0, 29, 65530, 0, 30, 65529, 0, 29, 65529, 0, 28, 65529, 0, 27, 65529, 0, 26, 65529, 0, 26, 65530, 0, 26, 65531, 0, 26, 65532, 0, 26, 65533, 0, 26, 65534, 0, 26, 65535, 0, 27, 65530, 0, 27, 65531, 0, 27, 65532, 0, 27, 65533, 0, 27, 65534, 0, 27, 65535, 0, 27, 0, 0, 28, 65530, 0, 28, 65531, 0, 28, 65532, 0, 28, 65533, 0, 28, 65534, 0, 28, 65535, 0, 28, 0, 0, 29, 65531, 0, 29, 65532, 0, 29, 65533, 0, 29, 65534, 0, 29, 65535, 0, 29, 0, 0, 30, 65531, 0, 30, 65532, 0, 30, 65533, 0, 30, 65534, 0, 30, 65535, 0, 30, 0, 0, 31, 65531, 0, 31, 65532, 0, 31, 65533, 0, 31, 65534, 0, 31, 65535, 0, 31, 0, 0, 32, 65530, 0, 32, 65531, 0, 32, 65532, 0, 32, 65533, 0, 32, 65534, 0, 32, 65535, 0, 32, 0, 0, 33, 65530, 0, 33, 65531, 0, 33, 65532, 0, 33, 65533, 0, 33, 65534, 0, 33, 65535, 0, 33, 0, 0, 34, 65530, 0, 34, 65531, 0, 34, 65532, 0, 34, 65533, 0, 34, 65534, 0, 34, 65535, 0, 34, 0, 0, 35, 65530, 0, 35, 65531, 0, 35, 65532, 0, 35, 65533, 0, 35, 65534, 0, 35, 65535, 0, 35, 0, 0, 36, 65530, 0, 36, 65531, 0, 36, 65532, 0, 36, 65533, 0, 36, 65534, 0, 36, 65535, 0, 36, 0, 0, 37, 65530, 0, 37, 65531, 0, 37, 65532, 0, 37, 65533, 0, 37, 65534, 0, 37, 65535, 0, 37, 0, 0, 65530, 5, 0, 65530, 6, 0, 65530, 7, 0, 65530, 8, 0, 65530, 9, 0, 65530, 10, 0, 65530, 11, 0, 65531, 5, 0, 65531, 6, 0, 65531, 7, 0, 65531, 8, 0, 65531, 9, 0, 65531, 10, 0, 65531, 11, 0, 65532, 5, 0, 65532, 6, 0, 65532, 7, 0, 65532, 8, 0, 65532, 9, 0, 65532, 10, 0, 65532, 11, 0, 65533, 5, 0, 65533, 6, 0, 65533, 7, 0, 65533, 8, 0, 65533, 9, 0, 65533, 10, 0, 65533, 11, 0, 65534, 5, 0, 65534, 6, 0, 65534, 7, 0, 65534, 8, 0, 65534, 9, 0, 65534, 10, 0, 65534, 11, 0, 65535, 5, 0, Line truncated
|
||||||
|
}
|
||||||
|
metadata/_editor_floor_ = Vector3(0, 2, 0)
|
||||||
|
|
||||||
|
[node name="OmniLight3D_white" type="OmniLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -3)
|
||||||
|
omni_range = 4.0
|
||||||
|
|
||||||
|
[node name="OmniLight3D2_green" type="OmniLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 2, -3)
|
||||||
|
light_color = Color(0.565916, 0.798943, 0.502176, 1)
|
||||||
|
omni_range = 4.0
|
||||||
|
|
||||||
|
[node name="OmniLight3D3_orange" type="OmniLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 32, 2, -3)
|
||||||
|
light_color = Color(0.933244, 0.547562, 0.264524, 1)
|
||||||
|
omni_range = 4.0
|
||||||
|
|
||||||
|
[node name="OmniLight3D4_purple" type="OmniLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 9)
|
||||||
|
light_color = Color(0.782893, 0.635622, 0.949367, 1)
|
||||||
|
omni_range = 4.0
|
||||||
|
|
||||||
|
[node name="OmniLight3D5_red" type="OmniLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 2, 9)
|
||||||
|
light_color = Color(1, 0.239216, 0.345098, 1)
|
||||||
|
omni_range = 4.0
|
||||||
|
|
||||||
|
[node name="OmniLight3D6" type="OmniLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 32, 2, 9)
|
||||||
|
omni_range = 4.0
|
||||||
|
|
||||||
|
[node name="Player" parent="." instance=ExtResource("3_uhhax")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.28597, -3)
|
||||||
|
|
||||||
|
[node name="P_white_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -5.5, 2, -3)
|
||||||
|
mesh = ExtResource("4_mkbk1")
|
||||||
|
script = ExtResource("5_2gwo3")
|
||||||
|
disable_viewport_distance = 100.0
|
||||||
|
destroy_disabled_viewport = false
|
||||||
|
fade_out_distance_max = 100.0
|
||||||
|
fade_out_distance_min = 80.0
|
||||||
|
fade_out_color = Color(1, 0, 1, 1)
|
||||||
|
exit_environment = SubResource("Environment_lquwl")
|
||||||
|
exit_portal = NodePath("../P_red_wide")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_white_short"]
|
||||||
|
script = ExtResource("6_1dqps")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_white_short/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_white_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -6.5)
|
||||||
|
mesh = ExtResource("4_mkbk1")
|
||||||
|
script = ExtResource("5_2gwo3")
|
||||||
|
disable_viewport_distance = 100.0
|
||||||
|
destroy_disabled_viewport = false
|
||||||
|
fade_out_distance_max = 100.0
|
||||||
|
fade_out_distance_min = 80.0
|
||||||
|
fade_out_color = Color(1, 0, 1, 1)
|
||||||
|
exit_environment = SubResource("Environment_lquwl")
|
||||||
|
exit_portal = NodePath("../P_green_short")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_white_wide"]
|
||||||
|
script = ExtResource("6_1dqps")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_white_wide/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_green_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 10.5, 2, -3)
|
||||||
|
mesh = ExtResource("4_mkbk1")
|
||||||
|
script = ExtResource("5_2gwo3")
|
||||||
|
disable_viewport_distance = 100.0
|
||||||
|
destroy_disabled_viewport = false
|
||||||
|
fade_out_distance_max = 100.0
|
||||||
|
fade_out_distance_min = 80.0
|
||||||
|
fade_out_color = Color(1, 0, 1, 1)
|
||||||
|
exit_environment = SubResource("Environment_lquwl")
|
||||||
|
exit_portal = NodePath("../P_white_wide")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_green_short"]
|
||||||
|
script = ExtResource("6_1dqps")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_green_short/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_green_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 2, -6.5)
|
||||||
|
mesh = ExtResource("4_mkbk1")
|
||||||
|
script = ExtResource("5_2gwo3")
|
||||||
|
disable_viewport_distance = 100.0
|
||||||
|
destroy_disabled_viewport = false
|
||||||
|
fade_out_distance_max = 100.0
|
||||||
|
fade_out_distance_min = 80.0
|
||||||
|
fade_out_color = Color(1, 0, 1, 1)
|
||||||
|
exit_environment = SubResource("Environment_lquwl")
|
||||||
|
exit_portal = NodePath("../P_orange_short")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_green_wide"]
|
||||||
|
script = ExtResource("6_1dqps")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_green_wide/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_orange_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 26.5, 2, -3)
|
||||||
|
mesh = ExtResource("4_mkbk1")
|
||||||
|
script = ExtResource("5_2gwo3")
|
||||||
|
disable_viewport_distance = 100.0
|
||||||
|
destroy_disabled_viewport = false
|
||||||
|
fade_out_distance_max = 100.0
|
||||||
|
fade_out_distance_min = 80.0
|
||||||
|
fade_out_color = Color(1, 0, 1, 1)
|
||||||
|
exit_environment = SubResource("Environment_lquwl")
|
||||||
|
exit_portal = NodePath("../P_green_wide")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_orange_short"]
|
||||||
|
script = ExtResource("6_1dqps")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_orange_short/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_orange_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 32, 2, -6.5)
|
||||||
|
mesh = ExtResource("4_mkbk1")
|
||||||
|
script = ExtResource("5_2gwo3")
|
||||||
|
disable_viewport_distance = 100.0
|
||||||
|
destroy_disabled_viewport = false
|
||||||
|
fade_out_distance_max = 100.0
|
||||||
|
fade_out_distance_min = 80.0
|
||||||
|
fade_out_color = Color(1, 0, 1, 1)
|
||||||
|
exit_environment = SubResource("Environment_lquwl")
|
||||||
|
exit_portal = NodePath("../P_purple_short")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_orange_wide"]
|
||||||
|
script = ExtResource("6_1dqps")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_orange_wide/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_purple_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -5.5, 2, 9)
|
||||||
|
mesh = ExtResource("4_mkbk1")
|
||||||
|
script = ExtResource("5_2gwo3")
|
||||||
|
disable_viewport_distance = 100.0
|
||||||
|
destroy_disabled_viewport = false
|
||||||
|
fade_out_distance_max = 100.0
|
||||||
|
fade_out_distance_min = 80.0
|
||||||
|
fade_out_color = Color(1, 0, 1, 1)
|
||||||
|
exit_environment = SubResource("Environment_lquwl")
|
||||||
|
exit_portal = NodePath("../P_orange_wide")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_purple_short"]
|
||||||
|
script = ExtResource("6_1dqps")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_purple_short/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_purple_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 5.5)
|
||||||
|
mesh = ExtResource("4_mkbk1")
|
||||||
|
script = ExtResource("5_2gwo3")
|
||||||
|
disable_viewport_distance = 100.0
|
||||||
|
destroy_disabled_viewport = false
|
||||||
|
fade_out_distance_max = 100.0
|
||||||
|
fade_out_distance_min = 80.0
|
||||||
|
fade_out_color = Color(1, 0, 1, 1)
|
||||||
|
exit_environment = SubResource("Environment_lquwl")
|
||||||
|
exit_portal = NodePath("../P_red_short")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_purple_wide"]
|
||||||
|
script = ExtResource("6_1dqps")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_purple_wide/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_red_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 10.5, 2, 9)
|
||||||
|
mesh = ExtResource("4_mkbk1")
|
||||||
|
script = ExtResource("5_2gwo3")
|
||||||
|
disable_viewport_distance = 100.0
|
||||||
|
destroy_disabled_viewport = false
|
||||||
|
fade_out_distance_max = 100.0
|
||||||
|
fade_out_distance_min = 80.0
|
||||||
|
fade_out_color = Color(1, 0, 1, 1)
|
||||||
|
exit_environment = SubResource("Environment_lquwl")
|
||||||
|
exit_portal = NodePath("../P_purple_wide")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_red_short"]
|
||||||
|
script = ExtResource("6_1dqps")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_red_short/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_red_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 2, 5.5)
|
||||||
|
mesh = ExtResource("4_mkbk1")
|
||||||
|
script = ExtResource("5_2gwo3")
|
||||||
|
disable_viewport_distance = 100.0
|
||||||
|
destroy_disabled_viewport = false
|
||||||
|
fade_out_distance_max = 100.0
|
||||||
|
fade_out_distance_min = 80.0
|
||||||
|
fade_out_color = Color(1, 0, 1, 1)
|
||||||
|
exit_environment = SubResource("Environment_lquwl")
|
||||||
|
exit_portal = NodePath("../P_white_short")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_red_wide"]
|
||||||
|
script = ExtResource("6_1dqps")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_red_wide/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="EnvironmentAdapter" type="Node" parent="." node_paths=PackedStringArray("base")]
|
||||||
|
script = ExtResource("7_2dlki")
|
||||||
|
base = NodePath("../WorldEnvironment")
|
||||||
@@ -1,13 +1,14 @@
|
|||||||
[gd_scene load_steps=13 format=3 uid="uid://c0uk51mh24sl6"]
|
[gd_scene load_steps=13 format=3 uid="uid://c0uk51mh24sl6"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cjd40tsurltut" path="res://addons/platformer-assets/block-grass-large.glb" id="1_1wwjl"]
|
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="1_wmc81"]
|
||||||
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="3_7knre"]
|
[ext_resource type="PackedScene" uid="uid://cjd40tsurltut" path="res://addons/platformer-assets/block-grass-large.glb" id="2_6nhbe"]
|
||||||
[ext_resource type="PackedScene" uid="uid://c6u7a7bisra5b" path="res://addons/platformer-assets/flowers.glb" id="3_qvh7i"]
|
[ext_resource type="PackedScene" uid="uid://c6u7a7bisra5b" path="res://addons/platformer-assets/flowers.glb" id="3_uxyox"]
|
||||||
[ext_resource type="PackedScene" uid="uid://2oao5c24w74u" path="res://addons/platformer-assets/grass.glb" id="4_wg85y"]
|
[ext_resource type="PackedScene" uid="uid://2oao5c24w74u" path="res://addons/platformer-assets/grass.glb" id="4_p6b85"]
|
||||||
[ext_resource type="PackedScene" uid="uid://btdarsbrym1d4" path="res://addons/platformer-assets/flag.glb" id="5_r0or3"]
|
[ext_resource type="PackedScene" uid="uid://btdarsbrym1d4" path="res://addons/platformer-assets/flag.glb" id="5_a4n4h"]
|
||||||
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="5_wg85y"]
|
[ext_resource type="ArrayMesh" uid="uid://bqilnvlfws6xh" path="res://portal-mesh.tres" id="6_21xnk"]
|
||||||
[ext_resource type="Script" uid="uid://bkv7t4hw21byg" path="res://addons/simple-portal-system/scripts/simple_portal_teleport.gd" id="6_3fidx"]
|
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="7_8mrlp"]
|
||||||
[ext_resource type="ArrayMesh" uid="uid://bqilnvlfws6xh" path="res://portal-mesh.tres" id="7_hwdx8"]
|
[ext_resource type="Script" uid="uid://bkv7t4hw21byg" path="res://addons/simple-portal-system/scripts/simple_portal_teleport.gd" id="8_kco3g"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b5x7fmpwck335" path="res://hud.tscn" id="9_afarl"]
|
||||||
|
|
||||||
[sub_resource type="Environment" id="Environment_7knre"]
|
[sub_resource type="Environment" id="Environment_7knre"]
|
||||||
background_mode = 1
|
background_mode = 1
|
||||||
@@ -20,9 +21,6 @@ size = Vector3(2, 1, 2)
|
|||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_2wcgd"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_2wcgd"]
|
||||||
size = Vector3(2, 2.5, 8.79824)
|
size = Vector3(2, 2.5, 8.79824)
|
||||||
|
|
||||||
[sub_resource type="ViewportTexture" id="ViewportTexture_hwdx8"]
|
|
||||||
viewport_path = NodePath("SubViewport")
|
|
||||||
|
|
||||||
[node name="Main" type="Node3D"]
|
[node name="Main" type="Node3D"]
|
||||||
|
|
||||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||||
@@ -32,12 +30,12 @@ shadow_enabled = true
|
|||||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
environment = SubResource("Environment_7knre")
|
environment = SubResource("Environment_7knre")
|
||||||
|
|
||||||
[node name="Player" parent="." instance=ExtResource("3_7knre")]
|
[node name="Player" parent="." instance=ExtResource("1_wmc81")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.84696, 1.60873, -1.16561)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.84696, 1.60873, -1.16561)
|
||||||
|
|
||||||
[node name="Island" type="Node3D" parent="."]
|
[node name="Island" type="Node3D" parent="."]
|
||||||
|
|
||||||
[node name="block-grass-large2" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large2" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 5)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large2"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large2"]
|
||||||
@@ -46,7 +44,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 5)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large3" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large3" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 5)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large3"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large3"]
|
||||||
@@ -55,7 +53,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 5)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large4" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large4" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 3)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 3)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large4"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large4"]
|
||||||
@@ -64,7 +62,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 3)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large5" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large5" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 3)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 3)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large5"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large5"]
|
||||||
@@ -73,7 +71,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 3)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large6" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large6" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 5)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large6"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large6"]
|
||||||
@@ -82,7 +80,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 5)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large7" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large7" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 5)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large7"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large7"]
|
||||||
@@ -91,7 +89,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 5)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large8" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large8" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 3)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 3)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large8"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large8"]
|
||||||
@@ -100,7 +98,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 3)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large9" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large9" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 3)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 3)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large9"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large9"]
|
||||||
@@ -109,7 +107,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 3)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large10" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large10" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 1)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 1)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large10"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large10"]
|
||||||
@@ -118,7 +116,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 1)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large11" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large11" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 1)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 1)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large11"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large11"]
|
||||||
@@ -127,7 +125,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 1)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large12" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large12" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large12"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large12"]
|
||||||
@@ -136,7 +134,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large13" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large13" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 1)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 1)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large13"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large13"]
|
||||||
@@ -145,7 +143,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 1)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large14" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large14" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -1)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -1)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large14"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large14"]
|
||||||
@@ -154,7 +152,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -1)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large15" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large15" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -1)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -1)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large15"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large15"]
|
||||||
@@ -163,7 +161,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -1)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large16" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large16" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -3)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -3)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large16"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large16"]
|
||||||
@@ -172,7 +170,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -3)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large17" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large17" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -3)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -3)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large17"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large17"]
|
||||||
@@ -181,7 +179,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -3)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large18" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large18" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -1)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -1)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large18"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large18"]
|
||||||
@@ -190,7 +188,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -1)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large19" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large19" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -1)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -1)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large19"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large19"]
|
||||||
@@ -199,7 +197,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -1)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large20" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large20" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -3)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -3)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large20"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large20"]
|
||||||
@@ -208,7 +206,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -3)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large21" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large21" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -3)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -3)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large21"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large21"]
|
||||||
@@ -217,7 +215,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -3)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large22" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large22" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -5)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large22"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large22"]
|
||||||
@@ -226,7 +224,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -5)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large23" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large23" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -5)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large23"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large23"]
|
||||||
@@ -235,7 +233,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -5)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large24" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large24" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -5)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large24"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large24"]
|
||||||
@@ -244,7 +242,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -5)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="block-grass-large25" parent="Island" instance=ExtResource("1_1wwjl")]
|
[node name="block-grass-large25" parent="Island" instance=ExtResource("2_6nhbe")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -5)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -5)
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large25"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large25"]
|
||||||
@@ -253,24 +251,24 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -5)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
|
||||||
shape = SubResource("BoxShape3D_1wwjl")
|
shape = SubResource("BoxShape3D_1wwjl")
|
||||||
|
|
||||||
[node name="flowers" parent="Island" instance=ExtResource("3_qvh7i")]
|
[node name="flowers" parent="Island" instance=ExtResource("3_uxyox")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.31658, 1, 4.77017)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.31658, 1, 4.77017)
|
||||||
|
|
||||||
[node name="flowers2" parent="Island" instance=ExtResource("3_qvh7i")]
|
[node name="flowers2" parent="Island" instance=ExtResource("3_uxyox")]
|
||||||
transform = Transform3D(0.82088, 0, -0.5711, 0, 1, 0, 0.5711, 0, 0.82088, 2.6032, 1, 2.60677)
|
transform = Transform3D(0.82088, 0, -0.5711, 0, 1, 0, 0.5711, 0, 0.82088, 2.6032, 1, 2.60677)
|
||||||
|
|
||||||
[node name="grass2" parent="Island" instance=ExtResource("4_wg85y")]
|
[node name="grass2" parent="Island" instance=ExtResource("4_p6b85")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.44316, 1, 0.59875)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.44316, 1, 0.59875)
|
||||||
|
|
||||||
[node name="flag2" parent="Island" instance=ExtResource("5_r0or3")]
|
[node name="flag2" parent="Island" instance=ExtResource("5_a4n4h")]
|
||||||
transform = Transform3D(-0.896199, 0, 3.34466, 0, 3.46265, 0, -3.34466, 0, -0.896199, -3.34096, 1, -5.4095)
|
transform = Transform3D(-0.896199, 0, 3.34466, 0, 3.46265, 0, -3.34466, 0, -0.896199, -3.34096, 1, -5.4095)
|
||||||
|
|
||||||
[node name="P_bottom" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
[node name="P_bottom" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
transform = Transform3D(-20, -1.74846e-06, -3.82137e-15, 0, -8.74228e-07, 1, -1.74846e-06, 20, 4.37114e-08, 0, -15, 0)
|
transform = Transform3D(-20, -1.74846e-06, -3.82137e-15, 0, -8.74228e-07, 1, -1.74846e-06, 20, 4.37114e-08, 0, -15, 0)
|
||||||
layers = 2
|
layers = 2
|
||||||
cast_shadow = 0
|
cast_shadow = 0
|
||||||
mesh = ExtResource("7_hwdx8")
|
mesh = ExtResource("6_21xnk")
|
||||||
script = ExtResource("5_wg85y")
|
script = ExtResource("7_8mrlp")
|
||||||
vertical_viewport_resolution = 1080
|
vertical_viewport_resolution = 1080
|
||||||
disable_viewport_distance = 55.0
|
disable_viewport_distance = 55.0
|
||||||
destroy_disabled_viewport = false
|
destroy_disabled_viewport = false
|
||||||
@@ -281,7 +279,7 @@ exit_cull_mask = 1048573
|
|||||||
exit_portal = NodePath("../P_top")
|
exit_portal = NodePath("../P_top")
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="P_bottom"]
|
[node name="Teleport" type="Area3D" parent="P_bottom"]
|
||||||
script = ExtResource("6_3fidx")
|
script = ExtResource("8_kco3g")
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_bottom/Teleport"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_bottom/Teleport"]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, -2.88658e-14, 0, 7.16227e-12, 1, 0, -3.55271e-15, -4.39912)
|
transform = Transform3D(1, 0, 0, 0, 1, -2.88658e-14, 0, 7.16227e-12, 1, 0, -3.55271e-15, -4.39912)
|
||||||
@@ -291,8 +289,8 @@ shape = SubResource("BoxShape3D_2wcgd")
|
|||||||
transform = Transform3D(20, 0, 0, 0, -8.74228e-07, -1.1, 0, 20, -4.80825e-08, 0, 15, 0)
|
transform = Transform3D(20, 0, 0, 0, -8.74228e-07, -1.1, 0, 20, -4.80825e-08, 0, 15, 0)
|
||||||
layers = 2
|
layers = 2
|
||||||
cast_shadow = 0
|
cast_shadow = 0
|
||||||
mesh = ExtResource("7_hwdx8")
|
mesh = ExtResource("6_21xnk")
|
||||||
script = ExtResource("5_wg85y")
|
script = ExtResource("7_8mrlp")
|
||||||
vertical_viewport_resolution = 1080
|
vertical_viewport_resolution = 1080
|
||||||
disable_viewport_distance = 55.0
|
disable_viewport_distance = 55.0
|
||||||
destroy_disabled_viewport = false
|
destroy_disabled_viewport = false
|
||||||
@@ -302,17 +300,4 @@ fade_out_color = Color(0.590126, 0.615058, 0.699408, 1)
|
|||||||
exit_cull_mask = 1048573
|
exit_cull_mask = 1048573
|
||||||
exit_portal = NodePath("../P_bottom")
|
exit_portal = NodePath("../P_bottom")
|
||||||
|
|
||||||
[node name="SubViewport" type="SubViewport" parent="."]
|
[node name="HUD" parent="." instance=ExtResource("9_afarl")]
|
||||||
size = Vector2i(512, 288)
|
|
||||||
|
|
||||||
[node name="Camera3D" type="Camera3D" parent="SubViewport"]
|
|
||||||
transform = Transform3D(-0.00436047, 0.491726, -0.870739, 0, 0.870747, 0.491731, 0.999991, 0.00214418, -0.00379687, -34.9621, 17.276, -0.665714)
|
|
||||||
fov = 52.5
|
|
||||||
|
|
||||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
||||||
|
|
||||||
[node name="TextureRect" type="TextureRect" parent="CanvasLayer"]
|
|
||||||
visible = false
|
|
||||||
offset_right = 512.0
|
|
||||||
offset_bottom = 288.0
|
|
||||||
texture = SubResource("ViewportTexture_hwdx8")
|
|
||||||
@@ -0,0 +1,113 @@
|
|||||||
|
[gd_scene load_steps=12 format=3 uid="uid://b05da3uh23mfc"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b5x7fmpwck335" path="res://hud.tscn" id="1_4dtxc"]
|
||||||
|
[ext_resource type="MeshLibrary" uid="uid://bedqgubx1g1uf" path="res://prototypes.tres" id="2_wbiwv"]
|
||||||
|
[ext_resource type="ArrayMesh" uid="uid://bqilnvlfws6xh" path="res://portal-mesh.tres" id="3_0fe4d"]
|
||||||
|
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="4_mmyl2"]
|
||||||
|
[ext_resource type="Script" uid="uid://bkv7t4hw21byg" path="res://addons/simple-portal-system/scripts/simple_portal_teleport.gd" id="5_1lcpk"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="6_slvs7"]
|
||||||
|
[ext_resource type="Script" uid="uid://cili3lyodjqel" path="res://portal_environment_adapter.gd" id="7_yea2i"]
|
||||||
|
|
||||||
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_b0o0q"]
|
||||||
|
sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
|
||||||
|
ground_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
|
||||||
|
|
||||||
|
[sub_resource type="Sky" id="Sky_cgnft"]
|
||||||
|
sky_material = SubResource("ProceduralSkyMaterial_b0o0q")
|
||||||
|
|
||||||
|
[sub_resource type="Environment" id="Environment_snwvi"]
|
||||||
|
background_mode = 2
|
||||||
|
sky = SubResource("Sky_cgnft")
|
||||||
|
tonemap_mode = 3
|
||||||
|
tonemap_exposure = 1.5
|
||||||
|
glow_enabled = true
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_cgnft"]
|
||||||
|
size = Vector3(2, 2, 0.5)
|
||||||
|
|
||||||
|
[node name="level_semaphore_lights" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="HUD" parent="." instance=ExtResource("1_4dtxc")]
|
||||||
|
offset_right = 137.0
|
||||||
|
offset_bottom = 23.0
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="HUD"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Red light is ONLY visible through a portal"
|
||||||
|
|
||||||
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
|
environment = SubResource("Environment_snwvi")
|
||||||
|
|
||||||
|
[node name="GridMap" type="GridMap" parent="."]
|
||||||
|
mesh_library = ExtResource("2_wbiwv")
|
||||||
|
cell_size = Vector3(1, 1, 1)
|
||||||
|
data = {
|
||||||
|
"cells": PackedInt32Array(65530, 6, 0, 65531, 6, 0, 65532, 6, 0, 65533, 6, 0, 65534, 6, 0, 65535, 6, 0, 0, 6, 0, 1, 6, 0, 2, 6, 0, 3, 6, 0, 4, 6, 0, 5, 6, 0, 5, 5, 0, 6, 5, 0, 6, 4, 0, 6, 3, 0, 6, 1, 0, 6, 2, 0, 5, 3, 0, 5, 4, 0, 6, 6, 0, 5, 2, 0, 6, 0, 0, 65535, 65529, 0, 65534, 65529, 0, 65533, 65529, 0, 65532, 65529, 0, 65531, 65529, 0, 65530, 65529, 0, 65529, 65529, 0, 65529, 65530, 0, 65529, 65531, 0, 65528, 65531, 0, 65528, 65532, 0, 65528, 65533, 0, 65528, 65534, 0, 65528, 65535, 0, 65528, 0, 0, 65528, 1, 0, 65528, 2, 0, 65528, 3, 0, 65528, 4, 0, 65528, 5, 0, 65528, 6, 0, 65529, 6, 0, 65529, 1, 0, 65529, 0, 0, 65529, 65535, 0, 65529, 65534, 0, 65529, 65533, 0, 65530, 65535, 0, 65530, 0, 0, 65530, 1, 0, 65530, 2, 0, 65530, 3, 0, 65529, 3, 0, 65529, 4, 0, 65529, 5, 0, 65530, 4, 0, 65530, 5, 0, 65531, 5, 0, 65529, 2, 0, 65530, 65534, 0, 65530, 65533, 0, 65529, 65532, 0, 65530, 65530, 0, 65531, 65530, 0, 65531, 65531, 0, 65531, 65532, 0, 65531, 65533, 0, 65530, 65532, 0, 65528, 65530, 0, 65528, 65529, 0, 65530, 65531, 0, 65534, 65530, 0, 65535, 65530, 0, 65534, 65531, 0, 65533, 65531, 0, 65532, 65531, 0, 65532, 65530, 0, 65533, 65530, 0, 5, 1, 0, 5, 0, 0, 4, 0, 0, 4, 1, 0, 4, 2, 0, 3, 2, 0, 3, 3, 0, 3, 4, 0, 3, 5, 0, 4, 5, 0, 4, 4, 0, 4, 3, 0, 0, 5, 0, 1, 5, 0, 2, 5, 0, 65535, 5, 0, 65534, 5, 0, 65533, 5, 0, 65532, 5, 0, 65531, 4, 0, 65532, 4, 0, 65533, 4, 0, 65534, 4, 0, 65535, 3, 0, 0, 3, 0, 0, 4, 0, 1, 4, 0, 1, 3, 0, 2, 3, 0, 2, 4, 0, 65535, 4, 0, 65534, 3, 0, 65533, 3, 0, 65532, 3, 0, 65531, 3, 0, 65531, 2, 0, 65532, 2, 0, 65533, 2, 0, 65534, 2, 0, 65535, 2, 0, 0, 2, 0, 1, 2, 0, 2, 2, 0, 3, 1, 0, 2, 1, 0, 1, 1, 0, 0, 1, 0, 65535, 1, 0, 65534, 1, 0, 65533, 1, 0, 65532, 1, 0, 65531, 1, 0, 65531, 0, 0, 65531, 65535, 0, 65532, 0, 0, 65533, 0, 0, 65534, 0, 0, 65535, 0, 0, 0, 0, 0, 3, 0, 0, 2, 0, 0, 1, 0, 0, 65535, 65531, 0, 65534, 65532, 0, 65535, 65532, 0, 65535, 65533, 0, 65535, 65534, 0, 65535, 65535, 0, 65534, 65535, 0, 65534, 65534, 0, 65533, 65533, 0, 65533, 65532, 0, 65532, 65532, 0, 65532, 65533, 0, 65532, 65534, 0, 65533, 65534, 0, 65533, 65535, 0, 65532, 65535, 0, 65531, 65534, 0, 65534, 65533, 0, 0, 65535, 0, 1, 65535, 0, 2, 65535, 0, 3, 65535, 0, 4, 65535, 0, 5, 65535, 0, 6, 65535, 0, 65528, 65528, 0, 65529, 65528, 0, 65530, 65528, 0, 65531, 65528, 0, 65532, 65528, 0, 65533, 65528, 0, 65534, 65528, 0, 65535, 65528, 0, 131064, 6, 0, 131065, 6, 0, 131066, 6, 0, 131067, 6, 0, 131068, 6, 0, 131069, 6, 0, 131070, 6, 0, 131071, 6, 0, 65536, 6, 0, 65537, 6, 0, 65538, 6, 0, 65539, 6, 0, 65540, 6, 0, 65541, 6, 0, 65542, 6, 0, 131064, 5, 0, 131064, 4, 0, 131064, 3, 0, 131064, 2, 0, 131064, 1, 0, 131064, 0, 0, 131064, 65535, 0, 131064, 65534, 0, 131064, 65533, 0, 131064, 65532, 0, 131064, 65531, 0, 131064, 65530, 0, 131064, 65529, 0, 131064, 65528, 0, 131065, 65528, 0, 131066, 65528, 0, 131067, 65528, 0, 131068, 65528, 0, 131069, 65528, 0, 131070, 65528, 0, 131071, 65528, 0, 131065, 65535, 0, 131066, 65535, 0, 131069, 65535, 0, 131070, 65535, 0, 131071, 65535, 0, 131071, 65534, 0, 131071, 65533, 0, 131071, 65530, 0, 131071, 65529, 0, 131071, 0, 0, 131071, 1, 0, 131071, 4, 0, 131071, 5, 0, 65536, 65535, 0, 65537, 65535, 0, 65542, 65535, 0, 65542, 0, 0, 65542, 1, 0, 65542, 5, 0, 65542, 4, 0, 65542, 3, 0, 65542, 2, 0, 65541, 65535, 0, 65540, 65535, 0, 196600, 0, 1, 196600, 1, 1, 196600, 2, 1, 196600, 3, 1, 196600, 4, 1, 196600, 5, 1, 196600, 6, 1, 196601, 6, 1, 196602, 6, 1, 196603, 6, 1, 196604, 6, 1, 196605, 6, 1, 196606, 6, 1, 131072, 6, 3, 131073, 6, 3, 131074, 6, 3, 131075, 6, 3, 131076, 6, 3, 131077, 6, 3, 131078, 6, 3, 131078, 5, 3, 131078, 4, 3, 131078, 3, 3, 131078, 2, 3, 131078, 1, 3, 131078, 0, 3, 196600, 65533, 5, 196600, 65534, 5, 196600, 65532, 5, 196600, 65531, 5, 196600, 65530, 5, 196600, 65529, 5, 196600, 65528, 5, 196601, 65528, 5, 196602, 65528, 5, 196603, 65528, 5, 196604, 65528, 5, 196605, 65528, 5, 196606, 65528, 5, 196600, 65535, 0, 196601, 65535, 0, 196602, 65535, 0, 196605, 65535, 0, 196606, 65535, 0, 196607, 65535, 0, 131072, 65535, 0, 131073, 65535, 0, 196607, 1, 0, 196607, 0, 0, 196607, 65534, 0, 196607, 65533, 0, 131078, 65535, 0, 131077, 65535, 0, 131076, 65535, 0, 196607, 65528, 0, 196607, 65529, 0, 196607, 65530, 0, 262143, 65528, 0, 262142, 65528, 0, 262141, 65528, 0, 262140, 65528, 0, 262139, 65528, 0, 262138, 65528, 0, 262137, 65528, 0, 262136, 65528, 0, 262136, 65529, 0, 262136, 65530, 0, 262136, 65531, 0, 262136, 65532, 0, 262136, 65533, 0, 262136, 65534, 0, 262136, 65535, 0, 262136, 0, 0, 262136, 1, 0, 262136, 2, 0, 262136, 3, 0, 262136, 4, 0, 262136, 5, 0, 262137, 6, 0, 262136, 6, 0, 262138, 6, 0, 262139, 6, 0, 262140, 6, 0, 262141, 6, 0, 262142, 6, 0, 196607, 4, 0, 196607, 5, 0, 196607, 6, 0, 262143, 6, 0, 196608, 6, 0, 196609, 6, 0, 196610, 6, 0, 196611, 6, 0, 196612, 6, 0, 196613, 6, 0, 196614, 6, 0, 196614, 5, 0, 196614, 4, 0, 196614, 3, 0, 196614, 2, 0, 196614, 1, 0, 196614, 0, 0, 196614, 65535, 0, 196613, 65535, 0, 196612, 65535, 0, 196609, 65535, 0, 196608, 655Line truncated
|
||||||
|
}
|
||||||
|
metadata/_editor_floor_ = Vector3(0, 3, 0)
|
||||||
|
|
||||||
|
[node name="Portal_red" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -0.5, 2, -4)
|
||||||
|
mesh = ExtResource("3_0fe4d")
|
||||||
|
skeleton = NodePath("")
|
||||||
|
script = ExtResource("4_mmyl2")
|
||||||
|
vertical_viewport_resolution = 1080
|
||||||
|
disable_viewport_distance = 32.0
|
||||||
|
fade_out_distance_max = 30.0
|
||||||
|
fade_out_distance_min = 28.0
|
||||||
|
fade_out_color = Color(0, 0, 0, 1)
|
||||||
|
exit_cull_mask = 1048567
|
||||||
|
exit_portal = NodePath("../Portal_orange")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="Portal_red"]
|
||||||
|
script = ExtResource("5_1lcpk")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Portal_red/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 4.72511e-13, 0, 1, 0, -4.72511e-13, 0, 1, 0, 0, -0.250244)
|
||||||
|
shape = SubResource("BoxShape3D_cgnft")
|
||||||
|
|
||||||
|
[node name="Portal_orange" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 2, -0.5)
|
||||||
|
mesh = ExtResource("3_0fe4d")
|
||||||
|
skeleton = NodePath("")
|
||||||
|
script = ExtResource("4_mmyl2")
|
||||||
|
vertical_viewport_resolution = 1080
|
||||||
|
disable_viewport_distance = 32.0
|
||||||
|
fade_out_distance_max = 30.0
|
||||||
|
fade_out_distance_min = 28.0
|
||||||
|
fade_out_color = Color(0, 0, 0, 1)
|
||||||
|
exit_cull_mask = 1048567
|
||||||
|
exit_portal = NodePath("../Portal_red")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="Portal_orange"]
|
||||||
|
script = ExtResource("5_1lcpk")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Portal_orange/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 4.72511e-13, 0, 1, 0, -4.72511e-13, 0, 1, 0, 0, -0.250244)
|
||||||
|
shape = SubResource("BoxShape3D_cgnft")
|
||||||
|
|
||||||
|
[node name="Player" parent="." instance=ExtResource("6_slvs7")]
|
||||||
|
transform = Transform3D(0.727006, 0, 0.686631, 0, 1, 0, -0.686631, 0, 0.727006, 4.51826, 1.08552, 4.0716)
|
||||||
|
|
||||||
|
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 3, -4)
|
||||||
|
layers = 8
|
||||||
|
light_color = Color(1, 0.362897, 0.340022, 1)
|
||||||
|
light_energy = 3.0
|
||||||
|
omni_range = 4.0
|
||||||
|
|
||||||
|
[node name="OmniLight3D2" type="OmniLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 3, 3)
|
||||||
|
light_color = Color(0, 0.729686, 0.363492, 1)
|
||||||
|
light_energy = 3.0
|
||||||
|
omni_range = 4.0
|
||||||
|
|
||||||
|
[node name="OmniLight3D3" type="OmniLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 3, 3)
|
||||||
|
light_color = Color(0.887552, 0.489512, 0.22965, 1)
|
||||||
|
light_energy = 3.0
|
||||||
|
omni_range = 4.0
|
||||||
|
|
||||||
|
[node name="PortalEnvironmentAdapter" type="Node" parent="." node_paths=PackedStringArray("base")]
|
||||||
|
script = ExtResource("7_yea2i")
|
||||||
|
base = NodePath("../WorldEnvironment")
|
||||||
@@ -1,14 +1,22 @@
|
|||||||
extends Control
|
extends Control
|
||||||
|
|
||||||
const LEVEL_5_ROOMS = preload("res://level_5rooms.tscn")
|
const LEVEL_5_ROOMS = preload("res://levels/level_5rooms.tscn")
|
||||||
const LEVEL_PLATFORMER = preload("res://level_platformer.tscn")
|
const LEVEL_3_ROOMS = preload("res://levels/level_3_rooms.tscn")
|
||||||
const LEVEL_3_ROOMS = preload("res://level_3_rooms.tscn")
|
const LEVEL_PLATFORMER = preload("res://levels/level_platformer.tscn")
|
||||||
|
const LEVEL_SEMAPHORE_LIGHTS = preload("res://levels/level_semaphore_lights.tscn")
|
||||||
|
|
||||||
func _on_level_button_1_pressed() -> void:
|
@onready var items_container: VBoxContainer = $CenterContainer/ItemsContainer
|
||||||
get_tree().change_scene_to_packed(LEVEL_5_ROOMS)
|
|
||||||
|
|
||||||
func _on_level_button_2_pressed() -> void:
|
var levels = {
|
||||||
get_tree().change_scene_to_packed(LEVEL_3_ROOMS)
|
"Semaphore": LEVEL_3_ROOMS,
|
||||||
|
"Semaphore - Lights": LEVEL_SEMAPHORE_LIGHTS,
|
||||||
|
"5 rooms": LEVEL_5_ROOMS,
|
||||||
|
"Infinite fall": LEVEL_PLATFORMER
|
||||||
|
}
|
||||||
|
|
||||||
func _on_level_button_3_pressed() -> void:
|
func _ready() -> void:
|
||||||
get_tree().change_scene_to_packed(LEVEL_PLATFORMER)
|
for key in levels:
|
||||||
|
var b = Button.new()
|
||||||
|
items_container.add_child(b)
|
||||||
|
b.text = key
|
||||||
|
b.pressed.connect(func(): get_tree().change_scene_to_packed(levels[key]))
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
[gd_scene load_steps=2 format=3 uid="uid://cim3ul77o0ipr"]
|
[gd_scene load_steps=3 format=3 uid="uid://cim3ul77o0ipr"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://cxh40jp4vov4d" path="res://menu.gd" id="1_lti8b"]
|
[ext_resource type="Script" uid="uid://cxh40jp4vov4d" path="res://menu.gd" id="1_lti8b"]
|
||||||
|
[ext_resource type="Theme" uid="uid://h8lwapw6q4pv" path="res://menu_theme.tres" id="1_ouk20"]
|
||||||
|
|
||||||
[node name="Menu" type="Control"]
|
[node name="Menu" type="Control"]
|
||||||
layout_mode = 3
|
layout_mode = 3
|
||||||
@@ -9,6 +10,7 @@ anchor_right = 1.0
|
|||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
|
theme = ExtResource("1_ouk20")
|
||||||
script = ExtResource("1_lti8b")
|
script = ExtResource("1_lti8b")
|
||||||
|
|
||||||
[node name="CenterContainer" type="CenterContainer" parent="."]
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
||||||
@@ -24,24 +26,8 @@ layout_mode = 2
|
|||||||
|
|
||||||
[node name="Label" type="Label" parent="CenterContainer/ItemsContainer"]
|
[node name="Label" type="Label" parent="CenterContainer/ItemsContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
text = "Portals Demo"
|
text = "Portals Demo - DIploma project"
|
||||||
horizontal_alignment = 1
|
horizontal_alignment = 1
|
||||||
|
|
||||||
[node name="HSeparator" type="HSeparator" parent="CenterContainer/ItemsContainer"]
|
[node name="HSeparator" type="HSeparator" parent="CenterContainer/ItemsContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="LevelButton_1" type="Button" parent="CenterContainer/ItemsContainer"]
|
|
||||||
layout_mode = 2
|
|
||||||
text = "Square rooms"
|
|
||||||
|
|
||||||
[node name="LevelButton_2" type="Button" parent="CenterContainer/ItemsContainer"]
|
|
||||||
layout_mode = 2
|
|
||||||
text = "Semafor"
|
|
||||||
|
|
||||||
[node name="LevelButton_3" type="Button" parent="CenterContainer/ItemsContainer"]
|
|
||||||
layout_mode = 2
|
|
||||||
text = "Platformer"
|
|
||||||
|
|
||||||
[connection signal="pressed" from="CenterContainer/ItemsContainer/LevelButton_1" to="." method="_on_level_button_1_pressed"]
|
|
||||||
[connection signal="pressed" from="CenterContainer/ItemsContainer/LevelButton_2" to="." method="_on_level_button_2_pressed"]
|
|
||||||
[connection signal="pressed" from="CenterContainer/ItemsContainer/LevelButton_3" to="." method="_on_level_button_3_pressed"]
|
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
[gd_resource type="Theme" format=3 uid="uid://h8lwapw6q4pv"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
Button/font_sizes/font_size = 32
|
||||||
|
HSeparator/constants/separation = 16
|
||||||
|
Label/font_sizes/font_size = 32
|
||||||
|
VBoxContainer/constants/separation = 8
|
||||||
@@ -7,15 +7,9 @@ const JUMP_VELOCITY = 4.5
|
|||||||
const MOUSE_SENSITIVITY = 0.005
|
const MOUSE_SENSITIVITY = 0.005
|
||||||
|
|
||||||
|
|
||||||
func _ready() -> void:
|
|
||||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
|
||||||
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
if Input.is_action_just_pressed("ui_cancel"):
|
|
||||||
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
|
|
||||||
|
|
||||||
func _unhandled_input(event: InputEvent) -> void:
|
func _unhandled_input(event: InputEvent) -> void:
|
||||||
if event is InputEventMouseMotion:
|
if event is InputEventMouseMotion:
|
||||||
|
if Input.mouse_mode == Input.MOUSE_MODE_CAPTURED:
|
||||||
rotate_y(-event.screen_relative.x * MOUSE_SENSITIVITY)
|
rotate_y(-event.screen_relative.x * MOUSE_SENSITIVITY)
|
||||||
camera.rotate_x(-event.screen_relative.y * MOUSE_SENSITIVITY)
|
camera.rotate_x(-event.screen_relative.y * MOUSE_SENSITIVITY)
|
||||||
camera.rotation.x = clamp(camera.rotation.x, deg_to_rad(-80), deg_to_rad(80))
|
camera.rotation.x = clamp(camera.rotation.x, deg_to_rad(-80), deg_to_rad(80))
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ metadata/teleportable = false
|
|||||||
|
|
||||||
[node name="Camera3D" type="Camera3D" parent="."]
|
[node name="Camera3D" type="Camera3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.32153, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.32153, 0)
|
||||||
|
cull_mask = 1048571
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0)
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
extends Node
|
||||||
|
|
||||||
|
## Fixes the tonemapping being applied twice when looking through a portal.
|
||||||
|
##
|
||||||
|
## It copies the original environment (sky and stuff) and just puts in a noop
|
||||||
|
## tonemapping (linear with exposure 1).
|
||||||
|
|
||||||
|
@export var base: WorldEnvironment
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
var adapted_env: Environment = base.environment.duplicate(false)
|
||||||
|
adapted_env.tonemap_mode = Environment.TONE_MAPPER_LINEAR
|
||||||
|
# exposure is the only thing the linear tonemapper takes into account
|
||||||
|
adapted_env.tonemap_exposure = 1
|
||||||
|
|
||||||
|
for p in get_tree().get_nodes_in_group("portals"):
|
||||||
|
if p is Portal:
|
||||||
|
p.exit_environment = adapted_env
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://cili3lyodjqel
|
||||||
@@ -15,6 +15,12 @@ run/main_scene="uid://cim3ul77o0ipr"
|
|||||||
config/features=PackedStringArray("4.4", "Forward Plus")
|
config/features=PackedStringArray("4.4", "Forward Plus")
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
|
[display]
|
||||||
|
|
||||||
|
window/size/viewport_width=1920
|
||||||
|
window/size/viewport_height=1080
|
||||||
|
window/subwindows/embed_subwindows=false
|
||||||
|
|
||||||
[input]
|
[input]
|
||||||
|
|
||||||
move_left={
|
move_left={
|
||||||
@@ -42,3 +48,5 @@ move_back={
|
|||||||
|
|
||||||
3d_render/layer_1="World"
|
3d_render/layer_1="World"
|
||||||
3d_render/layer_2="Portals"
|
3d_render/layer_2="Portals"
|
||||||
|
3d_render/layer_3="Visible only in portals"
|
||||||
|
3d_render/layer_4="Visible only in person"
|
||||||
Reference in new issue
Block a user