Compare commits
29
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac606edb73 | ||
|
|
ded1600175 | ||
|
|
5012b5f73e | ||
|
|
da87b39b3d | ||
|
|
5345386d36 | ||
|
|
447e821429 | ||
|
|
1fa1e709ff | ||
|
|
ac50e8eee7 | ||
|
|
200694a005 | ||
|
|
4a08b21bed | ||
|
|
7266a89b60 | ||
|
|
a50449c71b | ||
|
|
f39c7e70c7 | ||
|
|
1a908d4eff | ||
|
|
2e8c1a5562 | ||
|
|
2c01143579 | ||
|
|
3187c3d359 | ||
|
|
3834d282ca | ||
|
|
808e1503fb | ||
|
|
eeb35efa18 | ||
|
|
2da0429cdd | ||
|
|
f3440af264 | ||
|
|
f62e1aee25 | ||
|
|
30d2636fdb | ||
|
|
b67f0d9263 | ||
|
|
cbb4b51a94 | ||
|
|
a23c2e7da7 | ||
|
|
6d50a76cff | ||
|
|
1d8d47a248 |
No files matched your search
@@ -1,3 +1,5 @@
|
|||||||
# Godot 4+ specific ignores
|
# Godot 4+ specific ignores
|
||||||
.godot/
|
.godot/
|
||||||
/android/
|
/android/
|
||||||
|
.idea
|
||||||
|
.DS_Store
|
||||||
@@ -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,81 @@ 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..?
|
||||||
|
|
||||||
|
### Gizmos
|
||||||
|
|
||||||
|
- Kreslím kubickou bezierku, která spojuje portál s exit portálem, ale nevypadá to nic moc. Je to blbě vidět a hloubka se dost ztrácí.
|
||||||
|
- Možná by bylo lepší ten exit portal _highlightnout_ podobně jak je zrovna vybraný node - double line gizmo
|
||||||
|
- TODO: Handly na procedurální mesh. Inspirace v godotím CollisionShape
|
||||||
|
|
||||||
|
### Procedural mesh
|
||||||
|
|
||||||
|
Momentálně procedural mesh generuju helper nodem. Tohle je ideální kandidát na _gizmo handles_ podobně jak collision shape
|
||||||
|
|
||||||
|
- Normály jsou pass. Mám jenom 8 vertexů, takže to bude dycky vypadat blbě. Ale portály jsou stejně vždycky unshaded.
|
||||||
|
- **Zmínit v DP!** Docela dobrý sell, obhajoba rozhodnutí.
|
||||||
|
- *UV coords:* Když se na portál podívám přímo zepředu (ortogonálně), tak ten indent není vubec vidět. Nejsem si jistý jestli to je k něčemu.. ten portálový mesh který jsem vzal z _simple portal sytem_ ani žádné UV coodinates nemá. Procedural mesh funguje hezky ✅
|
||||||
|
- Možná by se to hodilo kdyby měl portál "inactive" texturu... ale to se dá obejít placatým meshem narvaným před něj.. a neřešíš prohlubeň. Asi undefined behavior tady :D nechám na vývojářích
|
||||||
|
- Na to kolik jsem s tím teď zabil času, tak tohle je asi nanic. Prohlubeň je extrémně důležitá featura.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- **Stíny** - shadow mesh tam můžu a nemusím plácnout (stejný jako hlavní). Další věc je že stíny by asi měly být na OFF a nebo DOUBLE_SIDED. Asi to nechám na uživateli.. to s meshem nesouvisí nutně.
|
||||||
|
|
||||||
|
### Texture portal mask :x:
|
||||||
|
|
||||||
|
Mám v plánu udělat texture masku pro tvarování protálů. S házením stínů to bude průser. V tomhle je přístup s _tvarem meshe_ lepší. Měl bych nakódit generování vícero tvarů...?
|
||||||
|
|
||||||
|
:exclamation: Tohle asi nebude fungovat kvůli té prohlubni
|
||||||
|
|
||||||
|
- Kdybys měl oblouk nahoře, tak nemůžeš jenom tak clipnout obdélníkový portál. Kdyby byl plochý, tak jo. Ale takhle bude ten okraj nahoře jakoby zabořený a nebude to pěkné (asi). Zvlášť v rožkách.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
:question: Tohle asi řeší tenký box s **culling- off** jak měl Sebastian ve svém Unity videu. Akorát to žere trochu renderingu.. ale v porovnání s X kamerama navíc je to asi fuk.
|
||||||
|
|
||||||
|
> BoxMesh3D mi nefunguje na hned. Ugh, nejsem si jistý proč.. ale mám dojem že ten chlapík co vyrobil ty portály by to asi zkusil. Prohlubeň možná dává smysl.
|
||||||
|
|
||||||
|
> Dal by se udělat celkem jednoduchý algoritmus co by generoval mesh "s prohlubní" pro jakýkoliv nákres zepředu. Obdélník je nejjednodušší, ale udělat oblouček by asi nebyl problém.
|
||||||
|
>
|
||||||
|
> Podobně jak se dá "kreslit" s CSG polygonem. Ale to by byl teda komplikovaný editor widget. Ty oblouky bysme asi chtěli hladké - to vypadá na něco na styl Curve editoru... ugh
|
||||||
|
>
|
||||||
|
> 
|
||||||
|
>
|
||||||
|
> [Cyclops Level Editor](https://github.com/blackears/cyclopsLevelBuilder/blob/master/doc/index.md#display-mode)
|
||||||
|
|
||||||
|
**Custom Mesh subclassa?**
|
||||||
|
|
||||||
|
- Custom mesh subclassa je trochu divná věc. Když to všechno nastaví jeden editorový Node tak to bude asi lepší. Custom mesh se mi přegenerovává při každém spuštění, ale já chci aby se prostě "zapekl" a uložil a nazdar bazar...
|
||||||
|
|
||||||
|
## Detekce teleportu
|
||||||
|
|
||||||
|
> Marek Zouhar: navrhuje predikovat jestli hráč projde portálem příští frame. Tohle by mohlo řešit
|
||||||
|
> clipping. Protože já vlastně toho hráče _doopravdy_ teleportuju až když je _za_ portálem.
|
||||||
|
>
|
||||||
|
> V tu chvilku už je pozdě!! A pak musím mít promáčklý mesh.
|
||||||
|
>
|
||||||
|
> S tímhle bych mohl mít prostě _plane mesh_.
|
||||||
|
|
||||||
|
> Potenciálně 2 plejny těsně za sebou abych předešel clippingu?
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# Portals Demo
|
||||||
|
|
||||||
|
Git repos
|
||||||
|
|
||||||
|
- Gitea: https://git.vojtechstruhar.com/Vojta/dp-konzultace
|
||||||
|
- GitHub (mirror): https://github.com/VojtaStruhar/dp-konzultace
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
@tool
|
||||||
|
extends EditorPlugin
|
||||||
|
|
||||||
|
var editor_button_plugin:EditorButtonPlugin
|
||||||
|
|
||||||
|
func _enter_tree() -> void:
|
||||||
|
print("[inspector_buttons] enter")
|
||||||
|
editor_button_plugin = EditorButtonPlugin.new()
|
||||||
|
add_inspector_plugin(editor_button_plugin)
|
||||||
|
|
||||||
|
|
||||||
|
func _exit_tree() -> void:
|
||||||
|
if is_instance_valid(editor_button_plugin):
|
||||||
|
print("[inspector_buttons] exit")
|
||||||
|
remove_inspector_plugin(editor_button_plugin)
|
||||||
|
editor_button_plugin = null
|
||||||
|
|
||||||
|
|
||||||
|
class EditorButtonPlugin extends EditorInspectorPlugin:
|
||||||
|
func _can_handle(object: Object) -> bool:
|
||||||
|
return object.has_method('_add_inspector_buttons')
|
||||||
|
|
||||||
|
|
||||||
|
func _parse_begin(object: Object) -> void:
|
||||||
|
var buttons_data = object._add_inspector_buttons()
|
||||||
|
for button_data in buttons_data:
|
||||||
|
var name = button_data.get("name", null)
|
||||||
|
var icon = button_data.get("icon", null)
|
||||||
|
var pressed = button_data.get("pressed", null)
|
||||||
|
if not name:
|
||||||
|
push_warning('_add_inspector_buttons(): A button does not have a name key. Defaulting to: "Button"')
|
||||||
|
name = "Button"
|
||||||
|
if icon and not icon is Texture:
|
||||||
|
push_warning('_add_inspector_buttons(): The button <{name}> icon is not a texture.'.format({"name":name}))
|
||||||
|
icon = null
|
||||||
|
if not pressed:
|
||||||
|
push_warning('_add_inspector_buttons(): The button <{name}> does not have a pressed key. Skipping.'.format({"name":name}))
|
||||||
|
continue
|
||||||
|
if not pressed is Callable:
|
||||||
|
push_warning('_add_inspector_buttons(): The button <{name}> pressed is not a Callable. Skipping.'.format({"name":name}))
|
||||||
|
continue
|
||||||
|
|
||||||
|
var button = Button.new()
|
||||||
|
button.text = name
|
||||||
|
if icon:
|
||||||
|
button.icon = icon
|
||||||
|
button.expand_icon = true
|
||||||
|
button.pressed.connect(pressed)
|
||||||
|
add_custom_control(button)
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://cmkf6s21ky7b5
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
[plugin]
|
||||||
|
|
||||||
|
name="Inspector Buttons"
|
||||||
|
description="Quick and dirty Godot inspector plugins. Taken from the internets"
|
||||||
|
author="mrcdk"
|
||||||
|
version="0.1"
|
||||||
|
script="inspector_buttons.gd"
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
extends EditorNode3DGizmoPlugin
|
||||||
|
|
||||||
|
|
||||||
|
func _init():
|
||||||
|
print("[gizmo] _init")
|
||||||
|
create_material("main", Color(1,0,1), false, true, false)
|
||||||
|
|
||||||
|
|
||||||
|
func _get_gizmo_name() -> String:
|
||||||
|
return "PortalGizmo"
|
||||||
|
|
||||||
|
|
||||||
|
func _has_gizmo(for_node_3d: Node3D) -> bool:
|
||||||
|
var result: bool = for_node_3d is Portal
|
||||||
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
func _redraw(gizmo):
|
||||||
|
var portal = gizmo.get_node_3d() as Portal
|
||||||
|
|
||||||
|
gizmo.clear() # Always clear the gizmo
|
||||||
|
|
||||||
|
if portal not in EditorInterface.get_selection().get_selected_nodes():
|
||||||
|
return # If not selected, don't draw anything
|
||||||
|
|
||||||
|
var lines = PackedVector3Array()
|
||||||
|
|
||||||
|
if portal.exit_portal != null:
|
||||||
|
# Draw a bezier curve connecting the two portals
|
||||||
|
var exit = portal.exit_portal
|
||||||
|
var D = portal.global_position.distance_to(exit.global_position)
|
||||||
|
|
||||||
|
var p0 = portal.global_position
|
||||||
|
var p3 = exit.global_position
|
||||||
|
|
||||||
|
var p1 = p0 -portal.global_transform.basis.z * D * 0.25
|
||||||
|
var p2 = p3 -exit.global_transform.basis.z * D * 0.25
|
||||||
|
|
||||||
|
|
||||||
|
p0 = portal.to_local(p0)
|
||||||
|
p1 = portal.to_local(p1)
|
||||||
|
p2 = portal.to_local(p2)
|
||||||
|
p3 = portal.to_local(p3)
|
||||||
|
|
||||||
|
lines.push_back(p0)
|
||||||
|
|
||||||
|
const RESOLUTION: int = 24
|
||||||
|
for i in range(1, RESOLUTION + 1):
|
||||||
|
var t: float = float(i) / RESOLUTION
|
||||||
|
var spline_pos: Vector3 = pow(1 - t, 3) * p0 \
|
||||||
|
+ 3 * pow(1 - t, 2) * t * p1 \
|
||||||
|
+ 3 * (1 - t) * pow(t, 2) * p2 \
|
||||||
|
+ pow(t, 3) * p3
|
||||||
|
|
||||||
|
lines.push_back(spline_pos)
|
||||||
|
lines.push_back(spline_pos)
|
||||||
|
|
||||||
|
lines.push_back(p3)
|
||||||
|
|
||||||
|
#var handles = PackedVector3Array()
|
||||||
|
#handles.push_back(Vector3(0, 1, 0))
|
||||||
|
#handles.push_back(Vector3(0, 2, 0))
|
||||||
|
|
||||||
|
gizmo.add_lines(lines, get_material("main", gizmo))
|
||||||
|
# Thicker dashed line
|
||||||
|
var l2 = lines.duplicate()
|
||||||
|
for i in range(l2.size()): l2[i].x += 0.01
|
||||||
|
gizmo.add_lines(l2, get_material("main", gizmo))
|
||||||
|
|
||||||
|
#gizmo.add_handles(handles, get_material("handles", gizmo), [])
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://b8vlwx31bxx4b
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
[plugin]
|
||||||
|
|
||||||
|
name="Portal Gizmos"
|
||||||
|
description="Plugin providing 3D Gizmos for portals"
|
||||||
|
author="Vojtech Struhar"
|
||||||
|
version="0.1"
|
||||||
|
script="portal_gizmos.gd"
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
@tool
|
||||||
|
extends EditorPlugin
|
||||||
|
|
||||||
|
const GIZMO_PACKED = preload("gizmo.gd")
|
||||||
|
var gizmo = GIZMO_PACKED.new()
|
||||||
|
|
||||||
|
func _enter_tree() -> void:
|
||||||
|
print("[portal_gizmos] Enter")
|
||||||
|
add_node_3d_gizmo_plugin(gizmo)
|
||||||
|
|
||||||
|
func _exit_tree() -> void:
|
||||||
|
print("[portal_gizmos] Exit")
|
||||||
|
remove_node_3d_gizmo_plugin(gizmo)
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://c61kmx68labq0
|
||||||
@@ -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)
|
||||||
@@ -114,7 +117,7 @@ func _create_viewport() -> void:
|
|||||||
_viewport = SubViewport.new()
|
_viewport = SubViewport.new()
|
||||||
_viewport.name = "Viewport"
|
_viewport.name = "Viewport"
|
||||||
_viewport.render_target_clear_mode = SubViewport.CLEAR_MODE_ONCE
|
_viewport.render_target_clear_mode = SubViewport.CLEAR_MODE_ONCE
|
||||||
add_child(_viewport)
|
exit_portal.add_child(_viewport)
|
||||||
material_override.set_shader_parameter("albedo", _viewport.get_texture())
|
material_override.set_shader_parameter("albedo", _viewport.get_texture())
|
||||||
|
|
||||||
# Create the exit camera which renders the portal surface for the viewport
|
# Create the exit camera which renders the portal surface for the viewport
|
||||||
|
|||||||
@@ -23,8 +23,10 @@ func _ready():
|
|||||||
func _on_area_entered(area: Area3D) -> void:
|
func _on_area_entered(area: Area3D) -> void:
|
||||||
if area.has_meta("teleportable_root"):
|
if area.has_meta("teleportable_root"):
|
||||||
var root:Node3D = area.get_node(area.get_meta("teleportable_root"))
|
var root:Node3D = area.get_node(area.get_meta("teleportable_root"))
|
||||||
|
print("[%f] Teleporting %s to %s" % [roundi(Time.get_ticks_msec() / 100) / 10.0, root.name, _parent_portal.exit_portal.name])
|
||||||
root.global_transform = _parent_portal.real_to_exit_transform(root.global_transform)
|
root.global_transform = _parent_portal.real_to_exit_transform(root.global_transform)
|
||||||
|
|
||||||
func _on_body_entered(body: Node3D) -> void:
|
func _on_body_entered(body: Node3D) -> void:
|
||||||
if body.get_meta("teleportable", false) == true:
|
if body.get_meta("teleportable", false) == true:
|
||||||
body.global_transform = _parent_portal.real_to_exit_transform(body.global_transform)
|
body.global_transform = _parent_portal.real_to_exit_transform(body.global_transform)
|
||||||
|
print("Teleporting %s to %s" % [body.name, _parent_portal.exit_portal.name])
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
shader_type spatial;
|
shader_type spatial;
|
||||||
render_mode unshaded;
|
render_mode unshaded;
|
||||||
|
|
||||||
|
|
||||||
uniform float fade_out_distance_max = 10.0;
|
uniform float fade_out_distance_max = 10.0;
|
||||||
uniform float fade_out_distance_min = 8.0;
|
uniform float fade_out_distance_min = 8.0;
|
||||||
uniform vec4 fade_out_color = vec4(0.0);
|
uniform vec4 fade_out_color = vec4(0.0);
|
||||||
|
|||||||
Whitespace-only changes.
Binary file not shown.
|
After Width: | Height: | Size: 366 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 734 KiB |
@@ -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=14 format=4 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="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="4_top28"]
|
||||||
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="3_b0o0q"]
|
[ext_resource type="Script" uid="uid://bkv7t4hw21byg" path="res://addons/simple-portal-system/scripts/simple_portal_teleport.gd" id="5_evjit"]
|
||||||
[ext_resource type="Script" uid="uid://bkv7t4hw21byg" path="res://addons/simple-portal-system/scripts/simple_portal_teleport.gd" id="4_snwvi"]
|
[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"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://d1dtxvwk86ple" path="res://procedural_mesh_maker.tscn" id="8_vdsn8"]
|
||||||
|
|
||||||
[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,52 @@ 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="ArrayMesh" id="ArrayMesh_vdsn8"]
|
||||||
|
_surfaces = [{
|
||||||
|
"aabb": AABB(-1, -1, -0.1, 2, 2, 0.1),
|
||||||
|
"attribute_data": PackedByteArray("AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD/NzEw9zcxMPTMzcz/NzEw9zcxMPTMzcz8zM3M/MzNzPw=="),
|
||||||
|
"format": 34359742487,
|
||||||
|
"index_count": 30,
|
||||||
|
"index_data": PackedByteArray("AAABAAQABAABAAUAAQADAAUABQADAAcAAwACAAcABwACAAYAAgAAAAYABgAAAAQABAAFAAYABgAFAAcA"),
|
||||||
|
"name": "Portal Material",
|
||||||
|
"primitive": 3,
|
||||||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||||||
|
"vertex_count": 8,
|
||||||
|
"vertex_data": PackedByteArray("AACAvwAAgD8AAAAAAACAPwAAgD8AAAAAAACAvwAAgL8AAAAAAACAPwAAgL8AAAAAZmZmv2ZmZj/NzMy9ZmZmP2ZmZj/NzMy9ZmZmv2ZmZr/NzMy9ZmZmP2ZmZr/NzMy9/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgA==")
|
||||||
|
}]
|
||||||
|
|
||||||
[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="ArrayMesh" id="ArrayMesh_mmt1i"]
|
||||||
|
_surfaces = [{
|
||||||
|
"aabb": AABB(-1, -1, -0.1, 2, 2, 0.1),
|
||||||
|
"attribute_data": PackedByteArray("AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD/NzEw9zcxMPTMzcz/NzEw9zcxMPTMzcz8zM3M/MzNzPw=="),
|
||||||
|
"format": 34359742487,
|
||||||
|
"index_count": 30,
|
||||||
|
"index_data": PackedByteArray("AAABAAQABAABAAUAAQADAAUABQADAAcAAwACAAcABwACAAYAAgAAAAYABgAAAAQABAAFAAYABgAFAAcA"),
|
||||||
|
"name": "Portal Material",
|
||||||
|
"primitive": 3,
|
||||||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||||||
|
"vertex_count": 8,
|
||||||
|
"vertex_data": PackedByteArray("AACAvwAAgD8AAAAAAACAPwAAgD8AAAAAAACAvwAAgL8AAAAAAACAPwAAgL8AAAAAZmZmv2ZmZj/NzMy9ZmZmP2ZmZj/NzMy9ZmZmv2ZmZr/NzMy9ZmZmP2ZmZr/NzMy9/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgA==")
|
||||||
|
}]
|
||||||
|
|
||||||
[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 +72,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 = SubResource("ArrayMesh_vdsn8")
|
||||||
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 +83,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 +91,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 = SubResource("ArrayMesh_mmt1i")
|
||||||
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 +102,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 +128,11 @@ 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="ProceduralMeshMaker" parent="." node_paths=PackedStringArray("portal") instance=ExtResource("8_vdsn8")]
|
||||||
|
width = 2.0
|
||||||
|
portal = NodePath("../Portal_orange")
|
||||||
@@ -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")
|
||||||
@@ -0,0 +1,169 @@
|
|||||||
|
[gd_scene load_steps=17 format=4 uid="uid://d2d7xy8ash3kk"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b5x7fmpwck335" path="res://hud.tscn" id="1_ghyw7"]
|
||||||
|
[ext_resource type="Material" uid="uid://bx6qeabdhq2s" path="res://addons/kenney_prototype_tools/materials/dark/material_01.tres" id="1_gpwe8"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="2_84t5d"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://birikia38m0g7" path="res://skybox_world_environment.tscn" id="2_gnq53"]
|
||||||
|
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="5_jfr1b"]
|
||||||
|
[ext_resource type="Script" uid="uid://s5kb624h26hs" path="res://models/portal_mesh.gd" id="6_gnq53"]
|
||||||
|
[ext_resource type="Script" uid="uid://cili3lyodjqel" path="res://portal_environment_adapter.gd" id="6_jdap8"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://d1dtxvwk86ple" path="res://procedural_mesh_maker.tscn" id="7_mq505"]
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_gpwe8"]
|
||||||
|
size = Vector3(30, 1, 30)
|
||||||
|
|
||||||
|
[sub_resource type="BoxMesh" id="BoxMesh_84t5d"]
|
||||||
|
material = ExtResource("1_gpwe8")
|
||||||
|
size = Vector3(30, 1, 30)
|
||||||
|
|
||||||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_o404v"]
|
||||||
|
_surfaces = [{
|
||||||
|
"aabb": AABB(-1, -1.5, -0.2, 2, 3, 0.2),
|
||||||
|
"attribute_data": PackedByteArray("AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD/NzMw9iYiIPWZmZj+JiIg9zczMPe/ubj9mZmY/7+5uPw=="),
|
||||||
|
"format": 34359742487,
|
||||||
|
"index_count": 30,
|
||||||
|
"index_data": PackedByteArray("AAABAAQABAABAAUAAQADAAUABQADAAcAAwACAAcABwACAAYAAgAAAAYABgAAAAQABAAFAAYABgAFAAcA"),
|
||||||
|
"name": "Portal Material",
|
||||||
|
"primitive": 3,
|
||||||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||||||
|
"vertex_count": 8,
|
||||||
|
"vertex_data": PackedByteArray("AACAvwAAwD8AAAAAAACAPwAAwD8AAAAAAACAvwAAwL8AAAAAAACAPwAAwL8AAAAAzcxMv2Zmpj/NzEy+zcxMP2Zmpj/NzEy+zcxMv2Zmpr/NzEy+zcxMP2Zmpr/NzEy+/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgA==")
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jhkhy"]
|
||||||
|
albedo_color = Color(0, 0, 0, 1)
|
||||||
|
|
||||||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_2hir0"]
|
||||||
|
_surfaces = [{
|
||||||
|
"aabb": AABB(-1.1, -1.6, -0.125, 2.2, 3.2, 0.25),
|
||||||
|
"attribute_data": PackedByteArray("F110PwSA1TwXXXQ/AKwmPwAAgD8AAAAAAACAPwAAAAAXXXQ/AKwmPxdddD//VSc/AACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAF110PwSA1TwAAIA/AAAAAI4uOj0EgNU873AbPtr2FD4AAAAAAAAAACLP2T0AqEI+W5bXPt0edj8AAAAAAACAPwAAAD8AVnc/F110PwCosj4AAIA/AACAPxdddD8BVLE+F110PwBUeT8AAAAAAACAPwAAgD8AAIA/AACAPwAAAAAXXXQ//1UnPwAAgD8AAIA/F110P/9VJz8XXXQ/AKwmP3VHdD8ArCY/AACAPwAAgD8XXXQ//1UnP4eYcj9ROjU/AACAPwAAgD+HmHI/UTo1P5dYbT+TskI/AACAPwAAgD+XWG0/k7JCPxzGZD8AVk8/xCNZP0vCWj8AAIA/AACAPxzGZD8AVk8/D8xKP5eeZD8AAIA/AACAP8QjWT9Lwlo/jC46PzOebD8AAIA/AACAPw/MSj+XnmQ/eMwnP+eCcj8AAIA/AACAP4wuOj8znmw/0zQUP90edj8AAIA/AACAP3jMJz/ngnI/0zQUP90edj8AAAAAAACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/F110PwFUsT4AAIA/AACAPwAAgD8AAAAAF110PwCosj4XXXQ/AVSxPnVHdD8AqLI+F110PwFUsT4AAIA/AAAAAIeYcj9di5U+h5hyP12LlT4AAIA/AAAAAJdYbT+zNXU+l1htP7M1dT4AAIA/AAAAABzGZD8AqEI+HMZkPwCoQj4AAIA/AAAAAMQjWT/V9hQ+xCNZP9X2FD4AAIA/AAAAAA/MSj9LC9s9D8xKP0sL2z0AAIA/AAAAAIwuOj9lDps9jC46P2UOmz0AAIA/AAAAAHjMJz+S0Vc9AACAPwAAgD8AAAAAAAAAAAAAAAAAAIA/eMwnP5LRVz0AAIA/AAAAANM0FD82Eh490zQUPzYSHj0AAIA/AAAAAAAAAD8CoAo9AAAAPwKgCj0AAIA/AAAAAFuW1z42Eh49ji46PQSA1TwAAIA/AAAAAAAAAAAAAAAAji46PQSA1TwAAAAAAAAAAI4uOj0ArCY/AAAAAAAAAAAAAIA/AACAPwAAgD8AAAAAji46PQCsJj8AAAAAAAAAAI4uOj0AVic/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/ji46PQBUeT8AAAAAAACAPxdddD8AVHk/ji46PQBUeT+OLjo9AKiyPgAAAAAAAIA/AACAPwAAAAAAAAAAAAAAAAAAgD8AAIA/AAAAAAAAgD+OLjo9AKiyPo4uOj0AVLE+AAAAPwBWdz8AAAAAAACAP9M0FD/dHnY/xs9UPkEL2z0AAAAAAAAAAO9wGz7a9hQ+AAAAAAAAAABLO5U9tjV1PiLP2T0AqEI+AAAAAAAAAACUd1Y9X4uVPks7lT22NXU+AAAAAAAAAACOLjo9AFSxPpR3Vj1fi5U+6aKLPmUOmz0AAAAAAAAAAMbPVD5BC9s9EGewPpLRVz0AAAAAAAAAAOmiiz5lDps9ji46PQBUsT6OLjo9AKiyPrGIOz0AqLI+AAAAAAAAgD+OLjo9AFSxPgAAAAAAAAAAW5bXPjYSHj0AAAAAAAAAABBnsD6S0Vc9W5bXPjYSHj0AAIA/AAAAAAAAAAAAAAAAIs/ZPQBWTz8AAAAAAACAP+9wGz5Jwlo/73AbPknCWj8AAAAAAACAP8bPVD6YnmQ/SzuVPZOyQj8AAAAAAACAPyLP2T0AVk8/lHdWPVA6NT8AAAAAAACAP0s7lT2TskI/ji46PQBWJz8AAAAAAACAP5R3Vj1QOjU/xs9UPpieZD8AAAAAAACAP+miiz4znmw/6aKLPjOebD8AAAAAAACAPxBnsD7ngnI/F110PwBUeT8AAIA/AACAPxdddD8AqLI+AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/ji46PQCsJj+OLjo9AFYnP7GIOz0ArCY/ji46PQBWJz8AAAAAAAAAAAAAAAAAAIA/AACAPwAAAAAAAAAAAAAAAAAAgD8AAIA/EGewPueCcj8AAAAAAACAP1uW1z7dHnY/OY7jPv//Pz8cx/E+/v9/PjmO4z7+/38+AAAAAAAAID8AAIA/AADAPgAAgD8AACA/AAAgPwAAgD8AAMA+AACAPwAAwD4AAAAAAAAAAAAAwD4AAIA/AADAPgAAAAAAACA/x3GcPv//Pz/HcZw++v9/PuQ4jj76/38+q6qqPv//Pz+rqqo++v9/PsdxnD76/38+OY5jPvr/fz45jmM+//8/PwAAgD7//z8/chxHPvr/fz5yHEc+//8/PzmOYz7//z8/juO4Pv//Pz+O47g+/P9/Pquqqj76/38+q6oqPvr/fz6rqio+//8/P3IcRz7//z8/chzHPv//Pz9yHMc+/P9/Po7juD78/38+VVXVPv//Pz9VVdU+/v9/PnIcxz78/38+OY5jPf7/fz45juM8AABAPzmOYz3//z8/AADAPgAAAAAAACA/AAAAAAAAID8TYL456Vs+PQAAgD7pWz49AABAPwAAAAAAAEA/OY7jPv//Pz85juM+/v9/PlVV1T7+/38+OY7jPP7/fz4AAAAAAABAPzmO4zwAAEA/HMfxPgAAQD8AAAA/AACAPhzH8T7+/38+BVcAPwAAQD8FVwA/AACAPgAAAD8AAIA+AAAgPwAAgD8AAMA+AACAPwAAwD406H8/AACAPvr/fz4AAIA+//8/P+Q4jj7//z8/5DiOPvr/fz7kOI4+//8/P8dxnD7//z8/x3GcPvr/fz7HcZw+//8/P6uqqj7//z8/q6qqPvr/fz6rqqo+//8/P47juD7//z8/OY7jPfz/fz45juM9//8/P+Q4Dj7//z8/5DgOPvz/fz7kOA4+//8/P6uqKj7//z8/OY5jPf7/fz45jmM9//8/P6uqqj3//z8/q6qqPf7/fz6rqqo9//8/PzmO4z3//z8/AACAPv//Pz8AAIA++v9/PjmOYz76/38+OY5jPv//Pz85jmM++v9/PnIcRz76/38+chxHPv//Pz9yHEc++v9/PquqKj76/38+q6oqPv//Pz+rqio++v9/PuQ4Dj78/38+juO4Pvz/fz6O47g+//8/P3Icxz7//z8/VVXVPv//Pz9yHMc+/P9/PnIcxz7//z8/AAAgPxNgvjkAAMA+E2C+OQAAwD4AAAAAAAAAAAAAQD8AAAAAAACAPulbPj0AAIA+AAAAAAAAQD85juM8/v9/PgAAAAAAAIA+OY7jPAAAQD85jmM9/v9/PjmO4zz+/38+VVXVPv7/fz5VVdU+//8/PzmO4z7//z8/HMfxPv7/fz45juM+//8/PxzH8T4AAEA/q6qqPf7/fz45juM9//8/PzmO4z38/38+5DgOPv//Pz/kOA4+/P9/PjmO4z38/38+q6qqPf//Pz+rqqo9/v9/PjmOYz3+/38+AAAAPwAAgD4cx/E+AABAPwAAAD8AAEA/AAAAPwAAgD4AAAA/AABAPwVXAD8AAEA/AADAPjTofz8AACA/NOh/PwAAID8AAIA/AAAAAAAAID8AAIA/AADAPgAAgD8AACA/AADAPgAAAAAAACA/AAAAAAAAID8AAIA/AAAAAAAAwD4AAIA/AADAPgAAAAAAACA/5DiOPv//Pz/kOI4++v9/PgAAgD76/38+"),
|
||||||
|
"format": 34359738391,
|
||||||
|
"material": SubResource("StandardMaterial3D_jhkhy"),
|
||||||
|
"primitive": 3,
|
||||||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||||||
|
"vertex_count": 348,
|
||||||
|
"vertex_data": PackedByteArray("AACAvwAgwr8AAAC+AACAvwCA9z4AAAC+zcyMv83MzL8AAAC+zcyMv83MzL8AAAC+AACAvwCA9z4AAAC+AACAv/y/+z4AAAC+zcyMv83MzL8AAAA+zcyMv83MzL8AAAC+zcyMv83MzD8AAAC+AACAvwAgwr8AAAC+zcyMv83MzL8AAAC+AACAPwAgwr8AAAC+fRtEP9w2kT8AAAA+zcyMP83MzD8AAAA+17NdPwDgfT8AAAA+19AxPi7+vD8AAAC+zcyMP83MzD8AAAC+Lr07swDwvj8AAAC+AACAvwCA9z4AAAA+zcyMv83MzL8AAAA+AACAv/y/+z4AAAA+AACAvwAgwr8AAAA+zcyMP83MzL8AAAA+zcyMv83MzL8AAAA+zcyMv83MzL8AAAC+AACAv/y/+z4AAAC+zcyMv83MzD8AAAC+AACAv/y/+z4AAAC+AACAvwCA9z4AAAC+aNB/vwCA9z4AAAC+zcyMv83MzD8AAAC+AACAv/y/+z4AAAC+XBx8vzdUKj8AAAC+zcyMv83MzD8AAAC+XBx8vzdUKj8AAAC+so9wv6RuVT8AAAC+zcyMv83MzD8AAAC+so9wv6RuVT8AAAC+17NdvwDgfT8AAAC+fRtEv942kT8AAAC+zcyMv83MzD8AAAC+17NdvwDgfT8AAAC+u40kv779oD8AAAC+zcyMv83MzD8AAAC+fRtEv942kT8AAAC+AQAAv+zJrT8AAAC+zcyMv83MzD8AAAC+u40kv779oD8AAAC+Qx2vvtg3tz8AAAC+zcyMv83MzD8AAAC+AQAAv+zJrT8AAAC+3NAxvi7+vD8AAAC+zcyMv83MzD8AAAC+Qx2vvtg3tz8AAAC+3NAxvi7+vD8AAAC+zcyMP83MzD8AAAC+zcyMv83MzD8AAAC+zcyMv83MzD8AAAC+zcyMv83MzD8AAAA+zcyMv83MzL8AAAA+AACAv/y/+z4AAAA+zcyMv83MzL8AAAA+zcyMv83MzD8AAAA+AACAvwCA9z4AAAA+AACAv/y/+z4AAAA+aNB/vwCA9z4AAAA+AACAv/y/+z4AAAA+zcyMv83MzD8AAAA+XBx8vzhUKj8AAAA+XBx8vzhUKj8AAAA+zcyMv83MzD8AAAA+so9wv6RuVT8AAAA+so9wv6RuVT8AAAA+zcyMv83MzD8AAAA+17NdvwDgfT8AAAA+17NdvwDgfT8AAAA+zcyMv83MzD8AAAA+fRtEv942kT8AAAA+fRtEv942kT8AAAA+zcyMv83MzD8AAAA+u40kv779oD8AAAA+u40kv779oD8AAAA+zcyMv83MzD8AAAA+AQAAv+zJrT8AAAA+AQAAv+zJrT8AAAA+zcyMv83MzD8AAAA+Qx2vvtg3tz8AAAA+zcyMv83MzD8AAAC+zcyMP83MzD8AAAA+zcyMv83MzD8AAAA+Qx2vvtg3tz8AAAA+zcyMv83MzD8AAAA+3NAxvi7+vD8AAAA+3NAxvi7+vD8AAAA+zcyMv83MzD8AAAA+Lr07swDwvj8AAAA+Lr07swDwvj8AAAA+zcyMv83MzD8AAAA+19AxPi7+vD8AAAA+AACAPwAgwr8AAAC+zcyMv83MzL8AAAC+zcyMP83MzL8AAAC+AACAPwAgwr8AAAC+zcyMP83MzL8AAAC+AACAPwCA9z4AAAC+zcyMv83MzL8AAAA+zcyMP83MzL8AAAC+zcyMv83MzL8AAAC+AACAPwCA9z4AAAC+zcyMP83MzL8AAAC+AACAPwDA+z4AAAC+zcyMv83MzL8AAAA+zcyMP83MzL8AAAA+zcyMP83MzL8AAAC+AACAPwAgwr8AAAA+zcyMP83MzL8AAAA+AACAvwAgwr8AAAA+AACAPwAgwr8AAAA+AACAPwCA9z4AAAA+zcyMP83MzL8AAAA+zcyMP83MzL8AAAA+zcyMP83MzD8AAAA+zcyMP83MzL8AAAC+zcyMP83MzL8AAAA+AACAPwCA9z4AAAA+AACAPwDA+z4AAAA+Lr07swDwvj8AAAC+zcyMP83MzD8AAAC+3NAxvi7+vD8AAAC+uo0kP8D9oD8AAAA+zcyMP83MzD8AAAA+fRtEP9w2kT8AAAA+zcyMP83MzD8AAAA+so9wP6JuVT8AAAA+17NdPwDgfT8AAAA+zcyMP83MzD8AAAA+XBx8PzZUKj8AAAA+so9wP6JuVT8AAAA+zcyMP83MzD8AAAA+AACAPwDA+z4AAAA+XBx8PzZUKj8AAAA+////PuzJrT8AAAA+zcyMP83MzD8AAAA+uo0kP8D9oD8AAAA+RB2vPtg3tz8AAAA+zcyMP83MzD8AAAA+////PuzJrT8AAAA+AACAPwDA+z4AAAA+AACAPwCA9z4AAAA+aNB/PwCA9z4AAAA+zcyMP83MzL8AAAA+AACAPwDA+z4AAAA+zcyMP83MzD8AAAA+19AxPi7+vD8AAAA+zcyMP83MzD8AAAA+RB2vPtg3tz8AAAA+19AxPi7+vD8AAAA+zcyMv83MzD8AAAA+zcyMP83MzD8AAAA+17NdPwDgfT8AAAC+zcyMP83MzD8AAAC+fRtEP9w2kT8AAAC+fRtEP9w2kT8AAAC+zcyMP83MzD8AAAC+uo0kP8D9oD8AAAC+so9wP6JuVT8AAAC+zcyMP83MzD8AAAC+17NdPwDgfT8AAAC+XBx8PzVUKj8AAAC+zcyMP83MzD8AAAC+so9wP6JuVT8AAAC+AACAPwDA+z4AAAC+zcyMP83MzD8AAAC+XBx8PzVUKj8AAAC+uo0kP8D9oD8AAAC+zcyMP83MzD8AAAC+////PuzJrT8AAAC+////PuzJrT8AAAC+zcyMP83MzD8AAAC+RB2vPtg3tz8AAAC+AACAvwAgwr8AAAA+zcyMv83MzL8AAAA+AACAvwCA9z4AAAA+zcyMP83MzD8AAAA+zcyMP83MzD8AAAC+zcyMP83MzL8AAAC+AACAPwCA9z4AAAC+AACAPwDA+z4AAAC+aNB/PwCA9z4AAAC+AACAPwDA+z4AAAC+zcyMP83MzL8AAAC+zcyMP83MzD8AAAC+zcyMP83MzD8AAAC+zcyMP83MzD8AAAA+zcyMv83MzD8AAAC+RB2vPtg3tz8AAAC+zcyMP83MzD8AAAC+19AxPi7+vD8AAAC+so9wv6RuVT8AAAC+XBx8vzhUKj8AAAA+so9wv6RuVT8AAAA+AACAPwCA9z4AAAC+AACAPwAgwr8AAAA+AACAPwAgwr8AAAC+AACAPwAgwr8AAAC+AACAPwAgwr8AAAA+AACAvwAgwr8AAAA+AACAPwCA9z4AAAA+AACAPwAgwr8AAAA+AACAPwCA9z4AAAC+Qx2vvtg3tz8AAAC+Qx2vvtg3tz8AAAA+3NAxvi7+vD8AAAA+AQAAv+zJrT8AAAC+AQAAv+zJrT8AAAA+Qx2vvtg3tz8AAAA+19AxPi7+vD8AAAA+19AxPi7+vD8AAAC+Lr07swDwvj8AAAC+RB2vPtg3tz8AAAA+RB2vPtg3tz8AAAC+19AxPi7+vD8AAAC+u40kv779oD8AAAC+u40kv779oD8AAAA+AQAAv+zJrT8AAAA+////PuzJrT8AAAA+////PuzJrT8AAAC+RB2vPtg3tz8AAAC+fRtEv942kT8AAAC+fRtEv942kT8AAAA+u40kv779oD8AAAA+17NdvwDgfT8AAAC+17NdvwDgfT8AAAA+fRtEv942kT8AAAA+so9wP6JuVT8AAAA+XBx8PzVUKj8AAAC+so9wP6JuVT8AAAC+AACAPwCA9z4AAAA+AACAPwCA9z4AAAC+aNB/PwCA9z4AAAC+aNB/PwCA9z4AAAA+aNB/PwCA9z4AAAC+AACAPwDA+z4AAAC+so9wv6RuVT8AAAC+so9wv6RuVT8AAAA+17NdvwDgfT8AAAA+XBx8PzZUKj8AAAA+AACAPwDA+z4AAAC+XBx8PzVUKj8AAAC+XBx8vzdUKj8AAAC+AACAv/y/+z4AAAA+XBx8vzhUKj8AAAA+aNB/vwCA9z4AAAC+aNB/vwCA9z4AAAA+AACAv/y/+z4AAAA+AACAvwCA9z4AAAC+AACAvwCA9z4AAAA+aNB/vwCA9z4AAAA+Lr07swDwvj8AAAA+Lr07swDwvj8AAAC+3NAxvi7+vD8AAAC+3NAxvi7+vD8AAAA+3NAxvi7+vD8AAAC+Qx2vvtg3tz8AAAC+Qx2vvtg3tz8AAAA+Qx2vvtg3tz8AAAC+AQAAv+zJrT8AAAC+AQAAv+zJrT8AAAA+AQAAv+zJrT8AAAC+u40kv779oD8AAAC+fRtEP9w2kT8AAAA+fRtEP9w2kT8AAAC+uo0kP8D9oD8AAAC+uo0kP8D9oD8AAAA+uo0kP8D9oD8AAAC+////PuzJrT8AAAC+so9wP6JuVT8AAAA+so9wP6JuVT8AAAC+17NdPwDgfT8AAAC+17NdPwDgfT8AAAA+17NdPwDgfT8AAAC+fRtEP9w2kT8AAAC+Lr07swDwvj8AAAC+Lr07swDwvj8AAAA+19AxPi7+vD8AAAA+19AxPi7+vD8AAAC+19AxPi7+vD8AAAA+RB2vPtg3tz8AAAA+RB2vPtg3tz8AAAC+RB2vPtg3tz8AAAA+////PuzJrT8AAAA+////PuzJrT8AAAC+////PuzJrT8AAAA+uo0kP8D9oD8AAAA+u40kv779oD8AAAA+u40kv779oD8AAAC+fRtEv942kT8AAAC+17NdvwDgfT8AAAC+fRtEv942kT8AAAA+fRtEv942kT8AAAC+aNB/PwCA9z4AAAC+aNB/PwCA9z4AAAA+AACAPwCA9z4AAAA+AACAPwDA+z4AAAC+AACAPwDA+z4AAAA+aNB/PwCA9z4AAAA+AACAPwDA+z4AAAC+XBx8PzZUKj8AAAA+AACAPwDA+z4AAAA+XBx8PzVUKj8AAAC+so9wP6JLine truncated
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_jhkhy"]
|
||||||
|
_surfaces = [{
|
||||||
|
"aabb": AABB(-1, -1.5, -0.05, 2, 3, 0.05),
|
||||||
|
"attribute_data": PackedByteArray("AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD/NzMw8iYiIPJqZeT+JiIg8zczMPLy7ez+amXk/vLt7Pw=="),
|
||||||
|
"format": 34359742487,
|
||||||
|
"index_count": 30,
|
||||||
|
"index_data": PackedByteArray("AAABAAQABAABAAUAAQADAAUABQADAAcAAwACAAcABwACAAYAAgAAAAYABgAAAAQABAAFAAYABgAFAAcA"),
|
||||||
|
"primitive": 3,
|
||||||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||||||
|
"vertex_count": 8,
|
||||||
|
"vertex_data": PackedByteArray("AACAvwAAwD8AAAAAAACAPwAAwD8AAAAAAACAvwAAwL8AAAAAAACAPwAAwL8AAAAAMzNzv5qZuT/NzEy9MzNzP5qZuT/NzEy9MzNzv5qZub/NzEy9MzNzP5qZub/NzEy9/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgA==")
|
||||||
|
}]
|
||||||
|
script = ExtResource("6_gnq53")
|
||||||
|
height = 3.0
|
||||||
|
width = 2.0
|
||||||
|
indent = 0.05
|
||||||
|
metadata/_custom_type_script = "uid://s5kb624h26hs"
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gnq53"]
|
||||||
|
albedo_color = Color(0, 0, 0, 1)
|
||||||
|
|
||||||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_gnq53"]
|
||||||
|
_surfaces = [{
|
||||||
|
"aabb": AABB(-1.1, -1.6, -0.125, 2.2, 3.2, 0.25),
|
||||||
|
"attribute_data": PackedByteArray("F110PwSA1TwAAIA/AACAPwAAgD8AAAAAAACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAF110PwSA1TwAAIA/AAAAAI4uOj0EgNU8AAAAAAAAAAAAAIA/AACAPwAAgD8AAAAAF110PwBUeT8AAIA/AACAPxdddD8CAAA9F110PwBUeT8AAAAAAACAPwAAgD8AAIA/F110PwAAeD8AAIA/AACAPxdddD8EgNU8F110PwAAeD8AAAAAAACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/F110PwIAAD0AAIA/AACAPwAAgD8AAAAAAACAPwAAgD8AAAAAAAAAAAAAAAAAAIA/F110PwIAAD0AAIA/AAAAAI4uOj0CAAA9ji46PQSA1TwAAIA/AAAAAAAAAAAAAAAAji46PQSA1TwAAAAAAAAAAI4uOj0AAHg/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/ji46PQBUeT8AAAAAAACAPxdddD8AVHk/AACAPwAAAAAAAAAAAAAAAAAAgD8AAIA/ji46PQBUeT8AAAAAAAAAAAAAAAAAAIA/ji46PQAAeD8AAAAAAACAPxdddD8AAHg/AACAPwAAAAAAAAAAAAAAAAAAgD8AAIA/ji46PQAAeD8AAAAAAAAAAAAAAAAAAIA/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/ji46PQIAAD0AAIA/AAAAAAAAAAAAAAAAji46PQIAAD0AAAAAAAAAAI4uOj0AVHk/AADAPgAAAAAAACA/AAAAAAAAID8AAIA/AAAAAAAAID8AAIA/AADAPgAAgD8AACA/AACAPwAAwD4AAAAAAAAgPwAAAAAAAMA+AAAgPwAAgD8AAMA+AACAPwAAwD4AAAAAAAAAAAAAID8AAIA/AADAPgAAgD8AACA/AAAgPwAAgD8AAMA+AACAPwAAwD4AAAAAAADAPgAAAAAAACA/AAAAAAAAID8AAIA/AACAPwAAwD4AAAAAAAAgPwAAAAAAAMA+"),
|
||||||
|
"format": 34359738391,
|
||||||
|
"material": SubResource("StandardMaterial3D_gnq53"),
|
||||||
|
"primitive": 3,
|
||||||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||||||
|
"vertex_count": 96,
|
||||||
|
"vertex_data": PackedByteArray("AACAvwAgwr8AAAC+zcyMv83MzD8AAAC+zcyMv83MzL8AAAC+zcyMv83MzL8AAAA+zcyMv83MzL8AAAC+zcyMv83MzD8AAAC+AACAvwAgwr8AAAC+zcyMv83MzL8AAAC+AACAPwAgwr8AAAC+zcyMv83MzL8AAAA+zcyMP83MzL8AAAC+zcyMv83MzL8AAAC+AACAvwAgwr8AAAA+zcyMv83MzL8AAAA+AACAvwAAwD8AAAA+AACAvwAgwr8AAAA+zcyMP83MzL8AAAA+zcyMv83MzL8AAAA+AACAvwAAwD8AAAC+zcyMv83MzD8AAAC+AACAvwAgwr8AAAC+AACAvwAAwD8AAAC+zcyMP83MzD8AAAC+zcyMv83MzD8AAAC+zcyMv83MzD8AAAC+zcyMv83MzD8AAAA+zcyMv83MzL8AAAA+AACAvwAAwD8AAAA+zcyMv83MzL8AAAA+zcyMv83MzD8AAAA+zcyMv83MzD8AAAC+zcyMP83MzD8AAAA+zcyMv83MzD8AAAA+AACAvwAAwD8AAAA+zcyMv83MzD8AAAA+AACAPwAAwD8AAAA+AACAPwAgwr8AAAC+zcyMv83MzL8AAAC+zcyMP83MzL8AAAC+AACAPwAgwr8AAAC+zcyMP83MzL8AAAC+AACAPwAAwD8AAAC+zcyMv83MzL8AAAA+zcyMP83MzL8AAAA+zcyMP83MzL8AAAC+AACAPwAgwr8AAAA+zcyMP83MzL8AAAA+AACAvwAgwr8AAAA+zcyMP83MzL8AAAA+zcyMP83MzD8AAAA+zcyMP83MzL8AAAC+AACAPwAgwr8AAAA+zcyMP83MzD8AAAA+zcyMP83MzL8AAAA+AACAPwAAwD8AAAC+zcyMP83MzD8AAAC+AACAvwAAwD8AAAC+zcyMP83MzD8AAAC+zcyMP83MzD8AAAA+zcyMv83MzD8AAAC+AACAPwAAwD8AAAC+zcyMP83MzL8AAAC+zcyMP83MzD8AAAC+zcyMP83MzD8AAAA+zcyMP83MzD8AAAC+zcyMP83MzL8AAAC+AACAPwAAwD8AAAA+zcyMv83MzD8AAAA+zcyMP83MzD8AAAA+AACAPwAAwD8AAAA+zcyMP83MzD8AAAA+AACAPwAgwr8AAAA+AACAvwAgwr8AAAA+AACAvwAgwr8AAAC+AACAPwAgwr8AAAC+AACAvwAAwD8AAAA+AACAvwAgwr8AAAC+AACAvwAgwr8AAAA+AACAvwAgwr8AAAC+AACAvwAAwD8AAAA+AACAvwAAwD8AAAC+AACAvwAAwD8AAAC+AACAvwAAwD8AAAA+AACAPwAAwD8AAAA+AACAPwAAwD8AAAC+AACAPwAgwr8AAAA+AACAPwAgwr8AAAC+AACAPwAgwr8AAAC+AACAPwAgwr8AAAA+AACAvwAgwr8AAAA+AACAPwAAwD8AAAA+AACAPwAAwD8AAAC+AACAvwAAwD8AAAC+AACAPwAgwr8AAAA+AACAPwAAwD8AAAC+AACAPwAAwD8AAAA+/////wAA/z//////AAD/P/////8AAP8/AAD/f/9//n8AAP9//3/+fwAA/3//f/5//////wAA/z//////AAD/P/////8AAP8//38AAP//AAD/fwAA//8AAP9/AAD//wAA/3//fwAA/z//f/9/AAD/P/9//38AAP8//3//fwAA/z//f/9/AAD/P/9//38AAP8//////wAA/z//////AAD/P/////8AAP8//////wAA/z//////AAD/P/////8AAP8/AAD/f/9//n8AAP9//3/+fwAA/3//f/5//3//fwAA/z//f/9/AAD/P/9//38AAP8//3//////AAD/f/////8AAP9//////wAA/3//fwAA/z//f/9/AAD/P/9//38AAP8//////wAA/z//////AAD/P/////8AAP8//////wAA/z//////AAD/P/////8AAP8//38AAP//AAD/fwAA//8AAP9/AAD//wAA/3//fwAA/z//f/9/AAD/P/9//38AAP8/////f/9//n////9//3/+f////3//f/5//3//fwAA/z//f/9/AAD/P/9//38AAP8//////wAA/z//////AAD/P/////8AAP8//3//////AAD/f/////8AAP9//////wAA/////wAA/z//////AAD/P/////8AAP8/////f/9//n////9//3/+f////3//f/5//3//fwAA/z//f/9/AAD/P/9//38AAP8//3//fwAA/z//f/9/AAD/P/9//38AAP8//3//////////f/////////9/////////////f/9/AID///9//38AgP///3//fwCA////f/9/AID///9//38AgP///3//fwCA/38AAP//////fwAA//////9/AAD/////AAD/f/9/AIAAAP9//38AgAAA/3//fwCA/3//////////f/////////9//////////38AAP//////fwAA//////9/AAD/////AAD/f/9/AIAAAP9//38AgAAA/3//fwCA")
|
||||||
|
}]
|
||||||
|
|
||||||
|
[node name="level_cube_portals" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="HUD" parent="." instance=ExtResource("1_ghyw7")]
|
||||||
|
offset_right = 219.0
|
||||||
|
offset_bottom = 77.0
|
||||||
|
|
||||||
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||||
|
transform = Transform3D(0.901453, 0.27592, -0.333544, -0.158086, 0.927146, 0.339718, 0.402979, -0.253511, 0.879398, 0, 2.37678, 0)
|
||||||
|
shadow_enabled = true
|
||||||
|
|
||||||
|
[node name="WorldEnvironment" parent="." instance=ExtResource("2_gnq53")]
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||||
|
shape = SubResource("BoxShape3D_gpwe8")
|
||||||
|
|
||||||
|
[node name="Ground" type="MeshInstance3D" parent="StaticBody3D"]
|
||||||
|
mesh = SubResource("BoxMesh_84t5d")
|
||||||
|
skeleton = NodePath("../..")
|
||||||
|
|
||||||
|
[node name="Player" parent="." instance=ExtResource("2_84t5d")]
|
||||||
|
|
||||||
|
[node name="Portal A" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -6)
|
||||||
|
mesh = SubResource("ArrayMesh_o404v")
|
||||||
|
script = ExtResource("5_jfr1b")
|
||||||
|
destroy_disabled_viewport = false
|
||||||
|
fade_out_distance_max = 100.0
|
||||||
|
fade_out_distance_min = 95.0
|
||||||
|
fade_out_color = Color(1, 0, 1, 1)
|
||||||
|
exit_portal = NodePath("../Portal B")
|
||||||
|
|
||||||
|
[node name="Label3D" type="Label3D" parent="Portal A"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.89275, 0)
|
||||||
|
billboard = 2
|
||||||
|
text = "Portal A"
|
||||||
|
|
||||||
|
[node name="FrameRound" type="MeshInstance3D" parent="Portal A"]
|
||||||
|
mesh = SubResource("ArrayMesh_2hir0")
|
||||||
|
skeleton = NodePath("../..")
|
||||||
|
|
||||||
|
[node name="Portal B" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1, 6)
|
||||||
|
mesh = SubResource("ArrayMesh_jhkhy")
|
||||||
|
script = ExtResource("5_jfr1b")
|
||||||
|
destroy_disabled_viewport = false
|
||||||
|
fade_out_distance_max = 100.0
|
||||||
|
fade_out_distance_min = 95.0
|
||||||
|
fade_out_color = Color(1, 0, 1, 1)
|
||||||
|
exit_portal = NodePath("../Portal A")
|
||||||
|
|
||||||
|
[node name="Label3D" type="Label3D" parent="Portal B"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.89275, 0)
|
||||||
|
billboard = 2
|
||||||
|
text = "Portal B"
|
||||||
|
|
||||||
|
[node name="PortalEnvironmentAdapter" type="Node" parent="." node_paths=PackedStringArray("base")]
|
||||||
|
script = ExtResource("6_jdap8")
|
||||||
|
base = NodePath("")
|
||||||
|
|
||||||
|
[node name="ProceduralMeshMaker" parent="." node_paths=PackedStringArray("portal") instance=ExtResource("7_mq505")]
|
||||||
|
height = 3.0
|
||||||
|
width = 2.0
|
||||||
|
indent = 0.2
|
||||||
|
portal = NodePath("../Portal A")
|
||||||
|
|
||||||
|
[node name="Outer" type="CSGBox3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 2.78925)
|
||||||
|
size = Vector3(2.2, 3.2, 0.25)
|
||||||
|
|
||||||
|
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="Outer"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
|
||||||
|
operation = 2
|
||||||
|
|
||||||
|
[node name="Inner" type="CSGBox3D" parent="Outer/CSGCombiner3D"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.483398, 0)
|
||||||
|
size = Vector3(2, 2, 1)
|
||||||
|
|
||||||
|
[node name="CSGCylinder3D" type="CSGCylinder3D" parent="Outer/CSGCombiner3D"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 1.4917, 0)
|
||||||
|
radius = 1.0
|
||||||
|
height = 0.5
|
||||||
|
sides = 36
|
||||||
|
|
||||||
|
[node name="Frame" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 6)
|
||||||
|
mesh = SubResource("ArrayMesh_gnq53")
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
extends Node
|
||||||
|
|
||||||
|
@onready var player: CharacterBody3D = %Player
|
||||||
|
@onready var outside_world: SubViewport = %OutsideWorld
|
||||||
|
@onready var inside_world: SubViewport = %InsideWorld
|
||||||
|
@onready var sub_viewport_container: SubViewportContainer = $SubViewportContainer
|
||||||
|
|
||||||
|
var current_world: Node
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
current_world = outside_world
|
||||||
|
|
||||||
|
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
if Input.is_action_just_pressed("debug_teleport"):
|
||||||
|
_on_teleport_button_pressed()
|
||||||
|
|
||||||
|
|
||||||
|
func _on_teleport_button_pressed() -> void:
|
||||||
|
if current_world == outside_world:
|
||||||
|
outside_world.reparent(self)
|
||||||
|
inside_world.reparent(sub_viewport_container)
|
||||||
|
current_world = inside_world
|
||||||
|
else:
|
||||||
|
inside_world.reparent(self)
|
||||||
|
outside_world.reparent(sub_viewport_container)
|
||||||
|
current_world = outside_world
|
||||||
|
|
||||||
|
player.reparent(current_world.get_child(0))
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://ca45js46kc0l7
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
[gd_scene load_steps=9 format=4 uid="uid://dgvdetmbv5jya"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b5x7fmpwck335" path="res://hud.tscn" id="1_2k7q4"]
|
||||||
|
[ext_resource type="Script" uid="uid://ca45js46kc0l7" path="res://levels/level_hermione.gd" id="1_gyvwl"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://drhaqr78kv1o2" path="res://levels/room_hermione_outside.tscn" id="2_empe6"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://ci81nttn6foio" path="res://levels/room_hermione_inside.tscn" id="2_lv1mc"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="3_gyvwl"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://jecigkibqyew" path="res://portal.tscn" id="6_owlrt"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://d1dtxvwk86ple" path="res://procedural_mesh_maker.tscn" id="7_ucmro"]
|
||||||
|
|
||||||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_owlrt"]
|
||||||
|
_surfaces = [{
|
||||||
|
"aabb": AABB(-0.45, -1.075, 0, 0.9, 2.15, 1e-05),
|
||||||
|
"attribute_data": PackedByteArray("AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAIA/AACAPw=="),
|
||||||
|
"format": 34359742487,
|
||||||
|
"index_count": 30,
|
||||||
|
"index_data": PackedByteArray("AAABAAQABAABAAUAAQADAAUABQADAAcAAwACAAcABwACAAYAAgAAAAYABgAAAAQABAAFAAYABgAFAAcA"),
|
||||||
|
"name": "Portal Material",
|
||||||
|
"primitive": 3,
|
||||||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||||||
|
"vertex_count": 8,
|
||||||
|
"vertex_data": PackedByteArray("ZmbmvpqZiT8AAAAAZmbmPpqZiT8AAAAAZmbmvpqZib8AAAAAZmbmPpqZib8AAAAAZmbmvpqZiT8AAAAAZmbmPpqZiT8AAAAAZmbmvpqZib8AAAAAZmbmPpqZib8AAAAA/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgA==")
|
||||||
|
}]
|
||||||
|
|
||||||
|
[node name="level_hermione" type="Node"]
|
||||||
|
script = ExtResource("1_gyvwl")
|
||||||
|
|
||||||
|
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="OutsideWorld" type="SubViewport" parent="SubViewportContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
handle_input_locally = false
|
||||||
|
size = Vector2i(1920, 1080)
|
||||||
|
render_target_update_mode = 4
|
||||||
|
|
||||||
|
[node name="OutsideWorldContainer" type="Node3D" parent="SubViewportContainer/OutsideWorld"]
|
||||||
|
|
||||||
|
[node name="room_hermione_outside" parent="SubViewportContainer/OutsideWorld/OutsideWorldContainer" instance=ExtResource("2_empe6")]
|
||||||
|
|
||||||
|
[node name="Player" parent="SubViewportContainer/OutsideWorld/OutsideWorldContainer" instance=ExtResource("3_gyvwl")]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.08041, 1.41104, 0)
|
||||||
|
|
||||||
|
[node name="PortalOutside" parent="SubViewportContainer/OutsideWorld/OutsideWorldContainer" node_paths=PackedStringArray("main_camera") instance=ExtResource("6_owlrt")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 3.505, 1.55, 0.5)
|
||||||
|
mesh = SubResource("ArrayMesh_owlrt")
|
||||||
|
main_camera = NodePath("../Player/Camera3D")
|
||||||
|
|
||||||
|
[node name="HUD" parent="." instance=ExtResource("1_2k7q4")]
|
||||||
|
|
||||||
|
[node name="TeleportButton" type="Button" parent="HUD"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Switch Worlds (T)"
|
||||||
|
|
||||||
|
[node name="InsideWorld" type="SubViewport" parent="."]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
own_world_3d = true
|
||||||
|
size = Vector2i(1920, 1080)
|
||||||
|
|
||||||
|
[node name="InsideWorldContainer" type="Node3D" parent="InsideWorld"]
|
||||||
|
|
||||||
|
[node name="room_hermione_inside" parent="InsideWorld/InsideWorldContainer" instance=ExtResource("2_lv1mc")]
|
||||||
|
|
||||||
|
[node name="PortalInside" parent="InsideWorld/InsideWorldContainer" node_paths=PackedStringArray("main_camera", "exit_portal") instance=ExtResource("6_owlrt")]
|
||||||
|
transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, 3.505, 1.55, 0.5)
|
||||||
|
mesh = SubResource("ArrayMesh_owlrt")
|
||||||
|
main_camera = NodePath("../../../SubViewportContainer/OutsideWorld/OutsideWorldContainer/Player/Camera3D")
|
||||||
|
exit_portal = NodePath("../../../SubViewportContainer/OutsideWorld/OutsideWorldContainer/PortalOutside")
|
||||||
|
|
||||||
|
[node name="ProceduralMeshMaker" parent="." node_paths=PackedStringArray("portal") instance=ExtResource("7_ucmro")]
|
||||||
|
portal = NodePath("../InsideWorld/InsideWorldContainer/PortalInside")
|
||||||
|
height = 2.15
|
||||||
|
width = 0.9
|
||||||
|
indent = 0.0
|
||||||
|
|
||||||
|
[connection signal="pressed" from="HUD/TeleportButton" to="." method="_on_teleport_button_pressed"]
|
||||||
|
|
||||||
|
[editable path="SubViewportContainer/OutsideWorld/OutsideWorldContainer/Player"]
|
||||||
@@ -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")
|
||||||
@@ -0,0 +1,520 @@
|
|||||||
|
[gd_scene load_steps=21 format=4 uid="uid://ci81nttn6foio"]
|
||||||
|
|
||||||
|
[ext_resource type="Material" uid="uid://b7kc8jfs4fowj" path="res://addons/kenney_prototype_tools/materials/green/material_02.tres" id="1_ofsgw"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dve8bvx87r1mm" path="res://models/kenney-house/wall-doorway-square.glb" id="2_4aydi"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bfgvxrgm0dkgi" path="res://models/kenney-house/wall.glb" id="3_37grx"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://d3qx51q66eftg" path="res://models/kenney-house/roof-flat-corner.glb" id="4_e3d5x"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b0k0k4heruf3t" path="res://models/kenney-house/wall-window-square-detailed.glb" id="5_soise"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://d347ojn6kwgn2" path="res://models/kenney-house/floor.glb" id="6_p5xd2"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://yqsv32xecxbr" path="res://models/kenney-house/roof-flat-side.glb" id="7_km368"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://d3yk6et3d4yw3" path="res://models/kenney-house/border.glb" id="8_rmadb"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dsogp3m6bedxp" path="res://models/kenney-house/column.glb" id="9_jpxld"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b4mndlgalycyh" path="res://models/kenney-house/roof-flat-center.glb" id="10_5h2gx"]
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_w2gbp"]
|
||||||
|
size = Vector3(40, 1, 40)
|
||||||
|
|
||||||
|
[sub_resource type="BoxMesh" id="BoxMesh_blkr4"]
|
||||||
|
material = ExtResource("1_ofsgw")
|
||||||
|
size = Vector3(40, 1, 40)
|
||||||
|
|
||||||
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_soise"]
|
||||||
|
sky_top_color = Color(0.220994, 0.465185, 0.685758, 1)
|
||||||
|
sky_horizon_color = Color(0.775585, 0.617199, 0.525157, 1)
|
||||||
|
ground_bottom_color = Color(0.0327392, 0.0238974, 0.0155985, 1)
|
||||||
|
ground_horizon_color = Color(0.67988, 0.550619, 0.418075, 1)
|
||||||
|
|
||||||
|
[sub_resource type="Sky" id="Sky_m1tf4"]
|
||||||
|
sky_material = SubResource("ProceduralSkyMaterial_soise")
|
||||||
|
|
||||||
|
[sub_resource type="Environment" id="Environment_p5xd2"]
|
||||||
|
background_mode = 2
|
||||||
|
sky = SubResource("Sky_m1tf4")
|
||||||
|
tonemap_mode = 1
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_soise"]
|
||||||
|
albedo_color = Color(1, 0.6, 0.235294, 1)
|
||||||
|
|
||||||
|
[sub_resource type="PrismMesh" id="PrismMesh_p5xd2"]
|
||||||
|
material = SubResource("StandardMaterial3D_soise")
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_p5xd2"]
|
||||||
|
shading_mode = 0
|
||||||
|
albedo_color = Color(0, 0, 0, 1)
|
||||||
|
|
||||||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_km368"]
|
||||||
|
_surfaces = [{
|
||||||
|
"aabb": AABB(-0.51069, -0.511952, -0.512309, 1.02138, 1.02626, 1.02462),
|
||||||
|
"attribute_data": PackedByteArray("q6oqPgAAAABWVVU/AAAAAKuqKj4AAAAAVlVVPwAAAAAAAAAAAAAAP6uqKj8AAAA/q6qqPgAAAD8AAIA/AAAAP6uqqj4AAAAAAAAAAAAAAD+rqio/AAAAAKuqqj4AAAA/q6qqPgAAAD8AAAAAAACAP6uqKj8AAAA/q6qqPgAAgD+rqio/AAAAPwAAgD8AAAA/q6oqPwAAgD8AAIA/AACAPw=="),
|
||||||
|
"format": 34359742487,
|
||||||
|
"index_count": 24,
|
||||||
|
"index_data": PackedByteArray("AgAEAAYAAwAFAAcACAAMAAoACgAMAA4ACQANAAsACwANAA8AEAASABEAEQASABMA"),
|
||||||
|
"material": SubResource("StandardMaterial3D_p5xd2"),
|
||||||
|
"name": "Outline",
|
||||||
|
"primitive": 3,
|
||||||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||||||
|
"vertex_count": 20,
|
||||||
|
"vertex_data": PackedByteArray("VHXYu/ypAz+xJgM/U3XYu/ypAz+xJgO/VHXYu/ypAz+xJgM/U3XYu/ypAz+xJgO/nLwCv04PA79ODwM/nLwCP04PA79ODwO/nLwCP04PA79ODwM/nLwCv04PA79ODwO/VHXYu/ypAz+xJgM/U3XYu/ypAz+xJgO/U3XYu/ypAz+xJgO/VHXYu/ypAz+xJgM/nLwCP04PA79ODwM/nLwCv04PA79ODwO/nLwCP04PA79ODwO/nLwCv04PA79ODwM/nLwCv04PA79ODwM/nLwCP04PA79ODwM/nLwCv04PA79ODwO/nLwCP04PA79ODwO//3//f////7//////AAD/v/9//3////+//////wAA/7//f/9/////v/////8AAP+//3//f////7//////AAD/v1TVqqr/////qiqqqv9//79U1aqq/////6oqqqr/f/+/VNWqqv////+qKqqq/3//v1TVqqr/////qiqqqv9//78AgAAA////vwCAAAD///+/AIAAAP///78AgAAA////vw==")
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_soise"]
|
||||||
|
data = PackedVector3Array(0, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, 0, 0.5, 0.5, 0, 0.5, -0.5, 0.5, -0.5, 0.5, 0, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, 0, 0.5, -0.5, 0, 0.5, 0.5, -0.5, -0.5, -0.5, 0, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5)
|
||||||
|
|
||||||
|
[node name="room_hermione_inside" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||||
|
shape = SubResource("BoxShape3D_w2gbp")
|
||||||
|
|
||||||
|
[node name="Ground" type="MeshInstance3D" parent="StaticBody3D"]
|
||||||
|
mesh = SubResource("BoxMesh_blkr4")
|
||||||
|
skeleton = NodePath("../..")
|
||||||
|
metadata/_edit_lock_ = true
|
||||||
|
|
||||||
|
[node name="House" type="Node3D" parent="."]
|
||||||
|
|
||||||
|
[node name="wall-doorway-square2" parent="House" instance=ExtResource("2_4aydi")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5, 0.5, 0.5)
|
||||||
|
|
||||||
|
[node name="wall-window-square-detailed2" parent="House" instance=ExtResource("5_soise")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5, 0.5, 2.5)
|
||||||
|
|
||||||
|
[node name="floor2" parent="House" instance=ExtResource("6_p5xd2")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0.5, 0.5)
|
||||||
|
|
||||||
|
[node name="floor3" parent="House" instance=ExtResource("6_p5xd2")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0.5, 2.5)
|
||||||
|
|
||||||
|
[node name="floor4" parent="House" instance=ExtResource("6_p5xd2")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.5, 0.5)
|
||||||
|
|
||||||
|
[node name="floor5" parent="House" instance=ExtResource("6_p5xd2")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.5, 2.5)
|
||||||
|
|
||||||
|
[node name="floor7" parent="House" instance=ExtResource("6_p5xd2")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.245437, 0.5, 0.5)
|
||||||
|
|
||||||
|
[node name="floor8" parent="House" instance=ExtResource("6_p5xd2")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.245437, 0.5, 2.5)
|
||||||
|
|
||||||
|
[node name="floor6" parent="House" instance=ExtResource("6_p5xd2")]
|
||||||
|
transform = Transform3D(6, 0, 0, 0, 1, 0, 0, 0, 6, -6.5, 0.5, 1.5)
|
||||||
|
|
||||||
|
[node name="wall2" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 2.5, 0.5, 3.5)
|
||||||
|
|
||||||
|
[node name="wall3" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.5, 0.5, 3.5)
|
||||||
|
|
||||||
|
[node name="wall20" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 2.5, 0.5, -0.5)
|
||||||
|
|
||||||
|
[node name="wall21" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.5, 0.5, -0.5)
|
||||||
|
|
||||||
|
[node name="wall4" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, 4.5)
|
||||||
|
|
||||||
|
[node name="wall5" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, 6.5)
|
||||||
|
|
||||||
|
[node name="wall22" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, 4.5)
|
||||||
|
|
||||||
|
[node name="wall23" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, 6.5)
|
||||||
|
|
||||||
|
[node name="wall24" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, 0.5)
|
||||||
|
|
||||||
|
[node name="wall25" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, 2.5)
|
||||||
|
|
||||||
|
[node name="wall26" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, -3.5)
|
||||||
|
|
||||||
|
[node name="wall27" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, -1.5)
|
||||||
|
|
||||||
|
[node name="wall18" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, -3.5)
|
||||||
|
|
||||||
|
[node name="wall19" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, -1.5)
|
||||||
|
|
||||||
|
[node name="wall6" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -1.5, 0.5, 7.5)
|
||||||
|
|
||||||
|
[node name="wall7" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -3.5, 0.5, 7.5)
|
||||||
|
|
||||||
|
[node name="wall8" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -5.5, 0.5, 7.5)
|
||||||
|
|
||||||
|
[node name="wall9" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -7.5, 0.5, 7.5)
|
||||||
|
|
||||||
|
[node name="wall10" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -9.5, 0.5, 7.5)
|
||||||
|
|
||||||
|
[node name="wall11" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -11.5, 0.5, 7.5)
|
||||||
|
|
||||||
|
[node name="wall12" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -1.5, 0.5, -4.5)
|
||||||
|
|
||||||
|
[node name="wall13" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -3.5, 0.5, -4.5)
|
||||||
|
|
||||||
|
[node name="wall14" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -5.5, 0.5, -4.5)
|
||||||
|
|
||||||
|
[node name="wall15" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -7.5, 0.5, -4.5)
|
||||||
|
|
||||||
|
[node name="wall16" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -9.5, 0.5, -4.5)
|
||||||
|
|
||||||
|
[node name="wall17" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -11.5, 0.5, -4.5)
|
||||||
|
|
||||||
|
[node name="wall32" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, 4.5)
|
||||||
|
|
||||||
|
[node name="wall33" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, 6.5)
|
||||||
|
|
||||||
|
[node name="wall54" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, 0.5)
|
||||||
|
|
||||||
|
[node name="wall55" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, 2.5)
|
||||||
|
|
||||||
|
[node name="wall34" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, 4.5)
|
||||||
|
|
||||||
|
[node name="wall35" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, 6.5)
|
||||||
|
|
||||||
|
[node name="wall36" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, 0.5)
|
||||||
|
|
||||||
|
[node name="wall37" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, 2.5)
|
||||||
|
|
||||||
|
[node name="wall38" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, -3.5)
|
||||||
|
|
||||||
|
[node name="wall39" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, -1.5)
|
||||||
|
|
||||||
|
[node name="wall40" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, -3.5)
|
||||||
|
|
||||||
|
[node name="wall41" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, -1.5)
|
||||||
|
|
||||||
|
[node name="wall42" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -1.5, 2.9, 7.5)
|
||||||
|
|
||||||
|
[node name="wall43" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -3.5, 2.9, 7.5)
|
||||||
|
|
||||||
|
[node name="wall44" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -5.5, 2.9, 7.5)
|
||||||
|
|
||||||
|
[node name="wall45" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -7.5, 2.9, 7.5)
|
||||||
|
|
||||||
|
[node name="wall46" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -9.5, 2.9, 7.5)
|
||||||
|
|
||||||
|
[node name="wall47" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -11.5, 2.9, 7.5)
|
||||||
|
|
||||||
|
[node name="wall48" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -1.5, 2.9, -4.5)
|
||||||
|
|
||||||
|
[node name="wall49" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -3.5, 2.9, -4.5)
|
||||||
|
|
||||||
|
[node name="wall50" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -5.5, 2.9, -4.5)
|
||||||
|
|
||||||
|
[node name="wall51" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -7.5, 2.9, -4.5)
|
||||||
|
|
||||||
|
[node name="wall52" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -9.5, 2.9, -4.5)
|
||||||
|
|
||||||
|
[node name="wall53" parent="House" instance=ExtResource("3_37grx")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -11.5, 2.9, -4.5)
|
||||||
|
|
||||||
|
[node name="roof-flat-corner2" parent="House" instance=ExtResource("4_e3d5x")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 2.5, 2.9, 0.5)
|
||||||
|
|
||||||
|
[node name="roof-flat-corner3" parent="House" instance=ExtResource("4_e3d5x")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 2.9, 2.5)
|
||||||
|
|
||||||
|
[node name="roof-flat-side2" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0.5, 2.9, 0.5)
|
||||||
|
|
||||||
|
[node name="roof-flat-side3" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, -1, 0, 1, 0, 1, 0, 1.31134e-07, 0.5, 2.9, 2.5)
|
||||||
|
|
||||||
|
[node name="border2" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, 1)
|
||||||
|
|
||||||
|
[node name="border3" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, 2.5)
|
||||||
|
|
||||||
|
[node name="border4" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, -2.5)
|
||||||
|
|
||||||
|
[node name="border9" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, -3.5)
|
||||||
|
|
||||||
|
[node name="border5" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, -1)
|
||||||
|
|
||||||
|
[node name="border6" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, 4)
|
||||||
|
|
||||||
|
[node name="border7" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, 5.5)
|
||||||
|
|
||||||
|
[node name="border8" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, 6.5)
|
||||||
|
|
||||||
|
[node name="border10" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -7.0625, 3, 7.5625)
|
||||||
|
|
||||||
|
[node name="border11" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -5.5625, 3, 7.5625)
|
||||||
|
|
||||||
|
[node name="border12" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -10.5625, 3, 7.5625)
|
||||||
|
|
||||||
|
[node name="border13" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -11.5625, 3, 7.5625)
|
||||||
|
|
||||||
|
[node name="border14" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -9.0625, 3, 7.5625)
|
||||||
|
|
||||||
|
[node name="border15" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -4.0625, 3, 7.5625)
|
||||||
|
|
||||||
|
[node name="border16" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -2.5625, 3, 7.5625)
|
||||||
|
|
||||||
|
[node name="border17" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -1.5625, 3, 7.5625)
|
||||||
|
|
||||||
|
[node name="border18" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, 1)
|
||||||
|
|
||||||
|
[node name="border19" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, 2.5)
|
||||||
|
|
||||||
|
[node name="border20" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, -2.5)
|
||||||
|
|
||||||
|
[node name="border21" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, -3.5)
|
||||||
|
|
||||||
|
[node name="border22" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, -1)
|
||||||
|
|
||||||
|
[node name="border23" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, 4)
|
||||||
|
|
||||||
|
[node name="border24" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, 5.5)
|
||||||
|
|
||||||
|
[node name="border25" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, 6.5)
|
||||||
|
|
||||||
|
[node name="border26" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -5.9375, 3, -4.4375)
|
||||||
|
|
||||||
|
[node name="border27" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -7.4375, 3, -4.4375)
|
||||||
|
|
||||||
|
[node name="border28" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -2.4375, 3, -4.4375)
|
||||||
|
|
||||||
|
[node name="border29" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -1.4375, 3, -4.4375)
|
||||||
|
|
||||||
|
[node name="border30" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -3.9375, 3, -4.4375)
|
||||||
|
|
||||||
|
[node name="border31" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -8.9375, 3, -4.4375)
|
||||||
|
|
||||||
|
[node name="border32" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -10.4375, 3, -4.4375)
|
||||||
|
|
||||||
|
[node name="border33" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -11.4375, 3, -4.4375)
|
||||||
|
|
||||||
|
[node name="border34" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.5, 3, 2.125)
|
||||||
|
|
||||||
|
[node name="border35" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.5, 3, 0.625)
|
||||||
|
|
||||||
|
[node name="border36" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.500001, 3, 5.625)
|
||||||
|
|
||||||
|
[node name="border37" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.500001, 3, 6.625)
|
||||||
|
|
||||||
|
[node name="border38" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.5, 3, 4.125)
|
||||||
|
|
||||||
|
[node name="border39" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.5, 3, -0.875)
|
||||||
|
|
||||||
|
[node name="border40" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.499999, 3, -2.375)
|
||||||
|
|
||||||
|
[node name="border41" parent="House" instance=ExtResource("8_rmadb")]
|
||||||
|
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.499999, 3, -3.375)
|
||||||
|
|
||||||
|
[node name="column2" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, -4.5)
|
||||||
|
|
||||||
|
[node name="column3" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, -4.5)
|
||||||
|
|
||||||
|
[node name="column4" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, 7.5)
|
||||||
|
|
||||||
|
[node name="column5" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, 7.5)
|
||||||
|
|
||||||
|
[node name="column6" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, 7.5)
|
||||||
|
|
||||||
|
[node name="column7" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, 7.5)
|
||||||
|
|
||||||
|
[node name="column8" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, -4.5)
|
||||||
|
|
||||||
|
[node name="column9" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, -4.5)
|
||||||
|
|
||||||
|
[node name="column10" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 2.9, -4.5)
|
||||||
|
|
||||||
|
[node name="column11" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 0.5, -4.5)
|
||||||
|
|
||||||
|
[node name="column12" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 2.9, 7.5)
|
||||||
|
|
||||||
|
[node name="column13" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 0.5, 7.5)
|
||||||
|
|
||||||
|
[node name="column14" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, 1.5)
|
||||||
|
|
||||||
|
[node name="column15" parent="House" instance=ExtResource("9_jpxld")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, 1.5)
|
||||||
|
|
||||||
|
[node name="roof-flat-corner4" parent="House" instance=ExtResource("4_e3d5x")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 5.3, 7)
|
||||||
|
|
||||||
|
[node name="roof-flat-corner5" parent="House" instance=ExtResource("4_e3d5x")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -1, 5.3, -4)
|
||||||
|
|
||||||
|
[node name="roof-flat-corner6" parent="House" instance=ExtResource("4_e3d5x")]
|
||||||
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -12, 5.3, -4)
|
||||||
|
|
||||||
|
[node name="roof-flat-corner7" parent="House" instance=ExtResource("4_e3d5x")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, -1, 0, 1, 0, 1, 0, 1.31134e-07, -12, 5.3, 7)
|
||||||
|
|
||||||
|
[node name="roof-flat-side4" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -10.5, 5.3, 7)
|
||||||
|
|
||||||
|
[node name="roof-flat-side5" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -8.5, 5.3, 7)
|
||||||
|
|
||||||
|
[node name="roof-flat-side6" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -6.5, 5.3, 7)
|
||||||
|
|
||||||
|
[node name="roof-flat-side7" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -4.5, 5.3, 7)
|
||||||
|
|
||||||
|
[node name="roof-flat-side8" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -2.5, 5.3, 7)
|
||||||
|
|
||||||
|
[node name="roof-flat-side9" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -12, 5.3, -3)
|
||||||
|
|
||||||
|
[node name="roof-flat-side10" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -12, 5.3, -1)
|
||||||
|
|
||||||
|
[node name="roof-flat-side11" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -12, 5.3, 1)
|
||||||
|
|
||||||
|
[node name="roof-flat-side12" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -12, 5.3, 3)
|
||||||
|
|
||||||
|
[node name="roof-flat-side13" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -12, 5.3, 5)
|
||||||
|
|
||||||
|
[node name="roof-flat-side14" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -2.5, 5.3, -4)
|
||||||
|
|
||||||
|
[node name="roof-flat-side15" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -4.5, 5.3, -4)
|
||||||
|
|
||||||
|
[node name="roof-flat-side16" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -6.5, 5.3, -4)
|
||||||
|
|
||||||
|
[node name="roof-flat-side17" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -8.5, 5.3, -4)
|
||||||
|
|
||||||
|
[node name="roof-flat-side18" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -10.5, 5.3, -4)
|
||||||
|
|
||||||
|
[node name="roof-flat-side19" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -1, 5.3, 5)
|
||||||
|
|
||||||
|
[node name="roof-flat-side20" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -1, 5.3, 3)
|
||||||
|
|
||||||
|
[node name="roof-flat-side21" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -1, 5.3, 1)
|
||||||
|
|
||||||
|
[node name="roof-flat-side22" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -1, 5.3, -1)
|
||||||
|
|
||||||
|
[node name="roof-flat-side23" parent="House" instance=ExtResource("7_km368")]
|
||||||
|
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -1, 5.3, -3)
|
||||||
|
|
||||||
|
[node name="roof-flat-center2" parent="House" instance=ExtResource("10_5h2gx")]
|
||||||
|
transform = Transform3D(5, 0, 0, 0, 1, 0, 0, 0, 5, -6.5, 5.3, 1.5)
|
||||||
|
|
||||||
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
|
environment = SubResource("Environment_p5xd2")
|
||||||
|
|
||||||
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||||
|
transform = Transform3D(0.69407, -0.512887, 0.505188, 0.0341743, 0.724421, 0.68851, -0.719096, -0.46061, 0.520327, 6.21356, 1.32592, -0.575947)
|
||||||
|
shadow_enabled = true
|
||||||
|
|
||||||
|
[node name="Prism" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(0.679275, 0, 0.733884, 0, 1, 0, -0.733884, 0, 0.679275, 6.21356, 1.32592, -0.575947)
|
||||||
|
mesh = SubResource("PrismMesh_p5xd2")
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Prism"]
|
||||||
|
mesh = SubResource("ArrayMesh_km368")
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="Prism"]
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Prism/StaticBody3D"]
|
||||||
|
shape = SubResource("ConcavePolygonShape3D_soise")
|
||||||
@@ -0,0 +1,124 @@
|
|||||||
|
[gd_scene load_steps=15 format=4 uid="uid://drhaqr78kv1o2"]
|
||||||
|
|
||||||
|
[ext_resource type="Material" uid="uid://b7kc8jfs4fowj" path="res://addons/kenney_prototype_tools/materials/green/material_02.tres" id="1_2frux"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dve8bvx87r1mm" path="res://models/kenney-house/wall-doorway-square.glb" id="2_hytsl"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bfgvxrgm0dkgi" path="res://models/kenney-house/wall.glb" id="3_m1tf4"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://d3qx51q66eftg" path="res://models/kenney-house/roof-flat-corner.glb" id="4_iniy3"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b0k0k4heruf3t" path="res://models/kenney-house/wall-window-square-detailed.glb" id="5_tbp4y"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://d347ojn6kwgn2" path="res://models/kenney-house/floor.glb" id="6_hytsl"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://birikia38m0g7" path="res://skybox_world_environment.tscn" id="7_m1tf4"]
|
||||||
|
|
||||||
|
[sub_resource type="BoxMesh" id="BoxMesh_blkr4"]
|
||||||
|
material = ExtResource("1_2frux")
|
||||||
|
size = Vector3(20, 1, 20)
|
||||||
|
|
||||||
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_2frux"]
|
||||||
|
data = PackedVector3Array(-10, 0.5, 10, 10, 0.5, 10, -10, -0.5, 10, 10, 0.5, 10, 10, -0.5, 10, -10, -0.5, 10, 10, 0.5, -10, -10, 0.5, -10, 10, -0.5, -10, -10, 0.5, -10, -10, -0.5, -10, 10, -0.5, -10, 10, 0.5, 10, 10, 0.5, -10, 10, -0.5, 10, 10, 0.5, -10, 10, -0.5, -10, 10, -0.5, 10, -10, 0.5, -10, -10, 0.5, 10, -10, -0.5, -10, -10, 0.5, 10, -10, -0.5, 10, -10, -0.5, -10, 10, 0.5, 10, -10, 0.5, 10, 10, 0.5, -10, -10, 0.5, 10, -10, 0.5, -10, 10, 0.5, -10, -10, -0.5, 10, 10, -0.5, 10, -10, -0.5, -10, 10, -0.5, 10, 10, -0.5, -10, -10, -0.5, -10)
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_m1tf4"]
|
||||||
|
albedo_color = Color(0.733333, 0.552941, 1, 1)
|
||||||
|
|
||||||
|
[sub_resource type="BoxMesh" id="BoxMesh_iniy3"]
|
||||||
|
material = SubResource("StandardMaterial3D_m1tf4")
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tbp4y"]
|
||||||
|
shading_mode = 0
|
||||||
|
albedo_color = Color(0, 0, 0, 1)
|
||||||
|
|
||||||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_b8r5k"]
|
||||||
|
_surfaces = [{
|
||||||
|
"aabb": AABB(-0.511547, -0.511547, -0.511547, 1.02309, 1.02309, 1.02309),
|
||||||
|
"attribute_data": PackedByteArray("AAAAAAAAAACrqio/AAAAAKuqqj4AAAAAAACAPwAAAAAAAAAAAAAAP6uqKj8AAAA/q6qqPgAAAD8AAIA/AAAAP6uqqj4AAAAAAAAAAAAAAD+rqio/AAAAAKuqqj4AAAA/q6qqPgAAAD8AAAAAAACAP6uqKj8AAAA/q6qqPgAAgD+rqqo+AAAAP6uqKj8AAAA/q6oqPwAAAD8AAIA/AAAAP6uqqj4AAIA/q6oqPwAAgD+rqio/AACAPwAAgD8AAIA/"),
|
||||||
|
"format": 34359742487,
|
||||||
|
"index_count": 36,
|
||||||
|
"index_data": PackedByteArray("AAAEAAIAAgAEAAYAAQAFAAMAAwAFAAcACAAMAAoACgAMAA4ACQANAAsACwANAA8AEAAUABIAEgAUABYAEQAVABMAEwAVABcA"),
|
||||||
|
"material": SubResource("StandardMaterial3D_tbp4y"),
|
||||||
|
"name": "Outline",
|
||||||
|
"primitive": 3,
|
||||||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||||||
|
"vertex_count": 24,
|
||||||
|
"vertex_data": PackedByteArray("v/QCv7/0Aj+/9AI/v/QCP7/0Aj+/9AK/v/QCP7/0Aj+/9AI/v/QCv7/0Aj+/9AK/v/QCv7/0Ar+/9AI/v/QCP7/0Ar+/9AK/v/QCP7/0Ar+/9AI/v/QCv7/0Ar+/9AK/v/QCP7/0Aj+/9AI/v/QCv7/0Aj+/9AK/v/QCP7/0Aj+/9AK/v/QCv7/0Aj+/9AI/v/QCP7/0Ar+/9AI/v/QCv7/0Ar+/9AK/v/QCP7/0Ar+/9AK/v/QCv7/0Ar+/9AI/v/QCP7/0Aj+/9AI/v/QCv7/0Ar+/9AI/v/QCv7/0Aj+/9AI/v/QCP7/0Ar+/9AI/v/QCP7/0Aj+/9AK/v/QCv7/0Ar+/9AK/v/QCv7/0Aj+/9AK/v/QCP7/0Ar+/9AK//3//f////7//////AAD/v/9//3////+//////wAA/7//f/9/////v/////8AAP+//3//f////7//////AAD/v///AID/////AAAAgP9//7///wCA/////wAAAID/f/+///8AgP////8AAACA/3//v///AID/////AAAAgP9//78AgP//AAD/vwCAAAD///+/AID//wAA/78AgAAA////vwCA//8AAP+/AIAAAP///78AgP//AAD/vwCAAAD///+/")
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_m1tf4"]
|
||||||
|
data = PackedVector3Array(-0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, 0.5, 0.5, -0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5)
|
||||||
|
|
||||||
|
[node name="room_hermione_outside" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="Ground" type="MeshInstance3D" parent="."]
|
||||||
|
mesh = SubResource("BoxMesh_blkr4")
|
||||||
|
metadata/_edit_lock_ = true
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="Ground"]
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground/StaticBody3D"]
|
||||||
|
shape = SubResource("ConcavePolygonShape3D_2frux")
|
||||||
|
|
||||||
|
[node name="House" type="Node3D" parent="."]
|
||||||
|
|
||||||
|
[node name="wall-doorway-square2" parent="House" instance=ExtResource("2_hytsl")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5, 0.5, 0.5)
|
||||||
|
|
||||||
|
[node name="wall3" parent="House" instance=ExtResource("3_m1tf4")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, 2.5)
|
||||||
|
|
||||||
|
[node name="wall7" parent="House" instance=ExtResource("3_m1tf4")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, 0.5)
|
||||||
|
|
||||||
|
[node name="wall4" parent="House" instance=ExtResource("3_m1tf4")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 2.5, 0.5, 3.5)
|
||||||
|
|
||||||
|
[node name="wall8" parent="House" instance=ExtResource("3_m1tf4")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.5, 0.5, 3.5)
|
||||||
|
|
||||||
|
[node name="wall5" parent="House" instance=ExtResource("3_m1tf4")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 2.5, 0.5, -0.5)
|
||||||
|
|
||||||
|
[node name="wall6" parent="House" instance=ExtResource("3_m1tf4")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.5, 0.5, -0.5)
|
||||||
|
|
||||||
|
[node name="roof-flat-corner2" parent="House" instance=ExtResource("4_iniy3")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 2.88135, 2.5)
|
||||||
|
|
||||||
|
[node name="roof-flat-corner3" parent="House" instance=ExtResource("4_iniy3")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 2.5, 2.88135, 0.5)
|
||||||
|
|
||||||
|
[node name="roof-flat-corner4" parent="House" instance=ExtResource("4_iniy3")]
|
||||||
|
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0.5, 2.88135, 0.5)
|
||||||
|
|
||||||
|
[node name="roof-flat-corner5" parent="House" instance=ExtResource("4_iniy3")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.5, 2.88135, 2.5)
|
||||||
|
|
||||||
|
[node name="wall-window-square-detailed2" parent="House" instance=ExtResource("5_tbp4y")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5, 0.5, 2.5)
|
||||||
|
|
||||||
|
[node name="floor2" parent="." instance=ExtResource("6_hytsl")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0.5, 0.5)
|
||||||
|
|
||||||
|
[node name="floor3" parent="." instance=ExtResource("6_hytsl")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0.5, 2.5)
|
||||||
|
|
||||||
|
[node name="floor4" parent="." instance=ExtResource("6_hytsl")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.5, 0.5)
|
||||||
|
|
||||||
|
[node name="floor5" parent="." instance=ExtResource("6_hytsl")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.5, 2.5)
|
||||||
|
|
||||||
|
[node name="WorldEnvironment2" parent="." instance=ExtResource("7_m1tf4")]
|
||||||
|
|
||||||
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||||
|
transform = Transform3D(0.999197, -0.0103569, -0.0386982, 0.0341743, 0.724421, 0.68851, 0.0209029, -0.68928, 0.724194, 0, 0, 0)
|
||||||
|
shadow_enabled = true
|
||||||
|
|
||||||
|
[node name="Cube" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(0.823869, 0, 0.56678, 0, 1, 0, -0.56678, 0, 0.823869, 6.09669, 1.73711, 3.18691)
|
||||||
|
mesh = SubResource("BoxMesh_iniy3")
|
||||||
|
metadata/_edit_group_ = true
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Cube"]
|
||||||
|
mesh = SubResource("ArrayMesh_b8r5k")
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="Cube"]
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cube/StaticBody3D"]
|
||||||
|
shape = SubResource("ConcavePolygonShape3D_m1tf4")
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
@tool
|
||||||
|
extends Node3D
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
func _add_inspector_buttons() -> Array:
|
||||||
|
var buttons: Array = []
|
||||||
|
|
||||||
|
buttons.push_back({
|
||||||
|
"name": "Regular cube mesh",
|
||||||
|
"pressed": _add_regular_cube_mesh
|
||||||
|
})
|
||||||
|
buttons.push_back({
|
||||||
|
"name": "Internal cube mesh",
|
||||||
|
"pressed": _add_internal_cube_mesh
|
||||||
|
})
|
||||||
|
buttons.push_back({
|
||||||
|
"name": "Delete all children",
|
||||||
|
"pressed": func(): for child in get_children(true): child.queue_free()
|
||||||
|
})
|
||||||
|
|
||||||
|
return buttons
|
||||||
|
|
||||||
|
func _add_regular_cube_mesh() -> void:
|
||||||
|
var m = MeshInstance3D.new()
|
||||||
|
var b = BoxMesh.new()
|
||||||
|
m.mesh = b
|
||||||
|
add_child(m, true)
|
||||||
|
m.owner = self
|
||||||
|
m.position.x = 1.5 * get_child_count(true)
|
||||||
|
|
||||||
|
func _add_internal_cube_mesh() -> void:
|
||||||
|
var m = MeshInstance3D.new()
|
||||||
|
var b = BoxMesh.new()
|
||||||
|
m.mesh = b
|
||||||
|
add_child(m, true, Node.INTERNAL_MODE_BACK)
|
||||||
|
|
||||||
|
var mat = StandardMaterial3D.new()
|
||||||
|
mat.albedo_color = Color("ff4c4e")
|
||||||
|
b.material = mat
|
||||||
|
|
||||||
|
# Lock the node in editor. Prevents selection (here for internal nodes)
|
||||||
|
# UNDOCUMENTED
|
||||||
|
# https://github.com/godotengine/godot-proposals/issues/3046
|
||||||
|
m.set_meta("_edit_lock_", true)
|
||||||
|
|
||||||
|
m.owner = self
|
||||||
|
m.position.x = 1.5 * get_child_count(true)
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://ouk76qr5gpq0
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
[gd_scene load_steps=8 format=3 uid="uid://bnrph4k6wpruy"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://ouk76qr5gpq0" path="res://levels/test_internal_nodes.gd" id="1_glqbe"]
|
||||||
|
|
||||||
|
[sub_resource type="BoxMesh" id="BoxMesh_glqbe"]
|
||||||
|
|
||||||
|
[sub_resource type="BoxMesh" id="BoxMesh_dodl2"]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wgeau"]
|
||||||
|
albedo_color = Color(1, 0.298039, 0.305882, 1)
|
||||||
|
|
||||||
|
[sub_resource type="BoxMesh" id="BoxMesh_j0q2q"]
|
||||||
|
material = SubResource("StandardMaterial3D_wgeau")
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_47wcs"]
|
||||||
|
albedo_color = Color(1, 0.298039, 0.305882, 1)
|
||||||
|
|
||||||
|
[sub_resource type="BoxMesh" id="BoxMesh_bkhqo"]
|
||||||
|
material = SubResource("StandardMaterial3D_47wcs")
|
||||||
|
|
||||||
|
[node name="test_internal_nodes" type="Node3D"]
|
||||||
|
script = ExtResource("1_glqbe")
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5, 0, 0)
|
||||||
|
mesh = SubResource("BoxMesh_glqbe")
|
||||||
|
|
||||||
|
[node name="MeshInstance3D4" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0)
|
||||||
|
mesh = SubResource("BoxMesh_dodl2")
|
||||||
|
|
||||||
|
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0)
|
||||||
|
mesh = SubResource("BoxMesh_j0q2q")
|
||||||
|
metadata/_edit_lock_ = true
|
||||||
|
|
||||||
|
[node name="MeshInstance3D3" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.5, 0, 0)
|
||||||
|
mesh = SubResource("BoxMesh_bkhqo")
|
||||||
|
metadata/_edit_lock_ = true
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
[gd_scene load_steps=8 format=4 uid="uid://c0ieh1abu1xne"]
|
||||||
|
|
||||||
|
[ext_resource type="Material" uid="uid://bv36triwinl2f" path="res://textures/uv-checker-material.tres" id="1_dn1le"]
|
||||||
|
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="1_ksg6r"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://d1dtxvwk86ple" path="res://procedural_mesh_maker.tscn" id="2_4vena"]
|
||||||
|
|
||||||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_1w8eh"]
|
||||||
|
_surfaces = [{
|
||||||
|
"aabb": AABB(-1, -1.3, -0.133, 2, 2.6, 0.133),
|
||||||
|
"attribute_data": PackedByteArray("AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD8nMYg9soZRPdv5bj+yhlE9JzGIPZXncj/b+W4/ledyPw=="),
|
||||||
|
"format": 34359742487,
|
||||||
|
"index_count": 30,
|
||||||
|
"index_data": PackedByteArray("AAABAAQABAABAAUAAQADAAUABQADAAcAAwACAAcABwACAAYAAgAAAAYABgAAAAQABAAFAAYABgAFAAcA"),
|
||||||
|
"material": ExtResource("1_dn1le"),
|
||||||
|
"name": "Portal Material",
|
||||||
|
"primitive": 3,
|
||||||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||||||
|
"vertex_count": 8,
|
||||||
|
"vertex_data": PackedByteArray("AACAv2Zmpj8AAAAAAACAP2Zmpj8AAAAAAACAv2Zmpr8AAAAAAACAP2Zmpr8AAAAAtvNdv0FglT8nMQi+tvNdP0FglT8nMQi+tvNdv0Fglb8nMQi+tvNdP0Fglb8nMQi+/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgA==")
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_82kw5"]
|
||||||
|
|
||||||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_dn1le"]
|
||||||
|
_surfaces = [{
|
||||||
|
"aabb": AABB(-1.02429, -1.3, -0.2, 2.04857, 2.60001, 0.20001),
|
||||||
|
"format": 34896613377,
|
||||||
|
"index_count": 30,
|
||||||
|
"index_data": PackedByteArray("BwAFAAQABwAEAAYAAQAHAAMAAQAFAAcAAgAEAAAAAgAGAAQAAwAGAAIAAwAHAAYAAAAFAAEAAAAEAAUA"),
|
||||||
|
"lods": [0.156674, PackedByteArray("AwAFAAAAAQAFAAMAAwAAAAIAAAAFAAEA")],
|
||||||
|
"primitive": 3,
|
||||||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||||||
|
"vertex_count": 8,
|
||||||
|
"vertex_data": PackedByteArray("AAD+//v/AAAAAAAA+/8AAP///v/7/wAA/v8AAPv/AACZGWXmAAAAAJkZmRkAAAAAZeZl5gAAAABl5pkZAAAAAA==")
|
||||||
|
}]
|
||||||
|
blend_shape_mode = 0
|
||||||
|
|
||||||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_u54xs"]
|
||||||
|
resource_name = "room_Plane_001"
|
||||||
|
_surfaces = [{
|
||||||
|
"aabb": AABB(-1.02429, -1.3, -0.2, 2.04857, 2.60001, 0.20001),
|
||||||
|
"attribute_data": PackedByteArray("AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//"),
|
||||||
|
"format": 34896613399,
|
||||||
|
"index_count": 30,
|
||||||
|
"index_data": PackedByteArray("EQALAAgAEQAIAA4AAgASAAYAAgAMABIABAAJAAAABAAPAAkABwAQAAUABwATABAAAQANAAMAAQAKAA0A"),
|
||||||
|
"lods": [0.156674, PackedByteArray("BgAWAAAAAgAWAAYABgAAAAQAFAAXABUA")],
|
||||||
|
"material": SubResource("StandardMaterial3D_82kw5"),
|
||||||
|
"primitive": 3,
|
||||||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||||||
|
"vertex_count": 24,
|
||||||
|
"vertex_data": PackedByteArray("AAD+//v/SGUAAP7/+/8AagAAAAD7/0hlAAAAAPv/AGr///7/+/9IZf///v/7/wBq/v8AAPv/SGX+/wAA+/8AapkZZeYAAP5/mRll5gAASGWZGWXmAAAAapkZmRkAAP5/mRmZGQAASGWZGZkZAAAAamXmZeYAAP5/ZeZl5gAASGVl5mXmAAAAamXmmRkAAP5/ZeaZGQAASGVl5pkZAAAAagAA/v/7/wBqAAAAAPv/AGqZGZkZAAD1b5kZmRkAAABqAAD/f/9/AAD///9//38AAAAA/3//f///////f/9/////f///AAD/f/9/AAD/f///////f/9/AAD/f///AAD/f/9/////f///////f/9/////fwAA/38AAP///3//fwAA")
|
||||||
|
}]
|
||||||
|
blend_shape_mode = 0
|
||||||
|
shadow_mesh = SubResource("ArrayMesh_dn1le")
|
||||||
|
|
||||||
|
[node name="ProceduralPortal" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.4625e-05, -0.0007523, 0.000824571)
|
||||||
|
mesh = SubResource("ArrayMesh_1w8eh")
|
||||||
|
script = ExtResource("1_ksg6r")
|
||||||
|
|
||||||
|
[node name="ProceduralMeshMaker" parent="." node_paths=PackedStringArray("portal") instance=ExtResource("2_4vena")]
|
||||||
|
height = 2.6
|
||||||
|
width = 2.0
|
||||||
|
indent = 0.133
|
||||||
|
portal = NodePath("../MeshInstance3D")
|
||||||
|
portal_material = ExtResource("1_dn1le")
|
||||||
|
|
||||||
|
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.52963, 0, 1.51112)
|
||||||
|
metadata/_edit_lock_ = true
|
||||||
|
|
||||||
|
[node name="OfficialPortal" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5, 0, 0)
|
||||||
|
mesh = SubResource("ArrayMesh_u54xs")
|
||||||
|
metadata/_edit_lock_ = true
|
||||||
@@ -1,14 +1,26 @@
|
|||||||
extends Control
|
extends Control
|
||||||
|
|
||||||
const LEVEL_5_ROOMS = preload("res://level_5rooms.tscn")
|
const LEVEL_5_ROOMS: PackedScene = preload("res://levels/level_5rooms.tscn")
|
||||||
const LEVEL_PLATFORMER = preload("res://level_platformer.tscn")
|
const LEVEL_3_ROOMS: PackedScene = preload("res://levels/level_3_rooms.tscn")
|
||||||
const LEVEL_3_ROOMS = preload("res://level_3_rooms.tscn")
|
const LEVEL_PLATFORMER: PackedScene = preload("res://levels/level_platformer.tscn")
|
||||||
|
const LEVEL_SEMAPHORE_LIGHTS: PackedScene = preload("res://levels/level_semaphore_lights.tscn")
|
||||||
|
const LEVEL_CUBE_PORTALS: PackedScene = preload("res://levels/level_cube_portals.tscn")
|
||||||
|
const LEVEL_HERMIONE: PackedScene = preload("res://levels/level_hermione.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: Dictionary = {
|
||||||
get_tree().change_scene_to_packed(LEVEL_3_ROOMS)
|
"Semaphore": LEVEL_3_ROOMS,
|
||||||
|
"Semaphore - Lights Demo": LEVEL_SEMAPHORE_LIGHTS,
|
||||||
|
"5 rooms": LEVEL_5_ROOMS,
|
||||||
|
"Platform": LEVEL_PLATFORMER,
|
||||||
|
"Recurisve portals - WIP": LEVEL_CUBE_PORTALS,
|
||||||
|
"Multiple Worlds": LEVEL_HERMIONE
|
||||||
|
}
|
||||||
|
|
||||||
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
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 9.5 KiB |
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dnphrf6dekgvn"
|
||||||
|
path.s3tc="res://.godot/imported/colormap.png-be25d4a14434f049e9335c9189c05045.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/kenney-house/Textures/colormap.png"
|
||||||
|
dest_files=["res://.godot/imported/colormap.png-be25d4a14434f049e9335c9189c05045.s3tc.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://b57f1w1ffvjfl"
|
||||||
|
path="res://.godot/imported/border-corner.glb-0619254f56d70d0adb4dd42ae782ecba.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/kenney-house/border-corner.glb"
|
||||||
|
dest_files=["res://.godot/imported/border-corner.glb-0619254f56d70d0adb4dd42ae782ecba.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"nodes": {
|
||||||
|
"PATH:border-corner": {
|
||||||
|
"generate/physics": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://d3yk6et3d4yw3"
|
||||||
|
path="res://.godot/imported/border.glb-a1fe17af1c6910d583cef042a5a9701c.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/kenney-house/border.glb"
|
||||||
|
dest_files=["res://.godot/imported/border.glb-a1fe17af1c6910d583cef042a5a9701c.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"nodes": {
|
||||||
|
"PATH:border": {
|
||||||
|
"generate/physics": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://dsogp3m6bedxp"
|
||||||
|
path="res://.godot/imported/column.glb-657830aafa2c47310bb1b8ff06063167.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/kenney-house/column.glb"
|
||||||
|
dest_files=["res://.godot/imported/column.glb-657830aafa2c47310bb1b8ff06063167.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"nodes": {
|
||||||
|
"PATH:column": {
|
||||||
|
"generate/physics": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
Binary file not shown.
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://re7f0x1ke0md"
|
||||||
|
path="res://.godot/imported/door-rotate-square-c.glb-c1417ec31599a90af74fc57ed5f2acb5.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/kenney-house/door-rotate-square-c.glb"
|
||||||
|
dest_files=["res://.godot/imported/door-rotate-square-c.glb-c1417ec31599a90af74fc57ed5f2acb5.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"nodes": {
|
||||||
|
"PATH:door-rotate-square-c/door": {
|
||||||
|
"generate/physics": true,
|
||||||
|
"physics/body_type": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://d347ojn6kwgn2"
|
||||||
|
path="res://.godot/imported/floor.glb-e753c3bd35066eef24427a939bbbfb1d.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/kenney-house/floor.glb"
|
||||||
|
dest_files=["res://.godot/imported/floor.glb-e753c3bd35066eef24427a939bbbfb1d.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"nodes": {
|
||||||
|
"PATH:floor": {
|
||||||
|
"generate/physics": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://b4mndlgalycyh"
|
||||||
|
path="res://.godot/imported/roof-flat-center.glb-8f23942169210678242eb92cebea49e3.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/kenney-house/roof-flat-center.glb"
|
||||||
|
dest_files=["res://.godot/imported/roof-flat-center.glb-8f23942169210678242eb92cebea49e3.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"nodes": {
|
||||||
|
"PATH:roof-flat-center": {
|
||||||
|
"generate/physics": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://d3qx51q66eftg"
|
||||||
|
path="res://.godot/imported/roof-flat-corner.glb-a0c084a0d7800dcdcdbe5f633c05990c.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/kenney-house/roof-flat-corner.glb"
|
||||||
|
dest_files=["res://.godot/imported/roof-flat-corner.glb-a0c084a0d7800dcdcdbe5f633c05990c.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"nodes": {
|
||||||
|
"PATH:roof-flat-corner": {
|
||||||
|
"generate/physics": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://yqsv32xecxbr"
|
||||||
|
path="res://.godot/imported/roof-flat-side.glb-ab557049d2eaf7cef25c926db44909ce.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/kenney-house/roof-flat-side.glb"
|
||||||
|
dest_files=["res://.godot/imported/roof-flat-side.glb-ab557049d2eaf7cef25c926db44909ce.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"nodes": {
|
||||||
|
"PATH:roof-flat-side": {
|
||||||
|
"generate/physics": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://cy4givcixjenc"
|
||||||
|
path="res://.godot/imported/wall-corner.glb-1a25d3bf79cf2659eaabd5fbcdb07105.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/kenney-house/wall-corner.glb"
|
||||||
|
dest_files=["res://.godot/imported/wall-corner.glb-1a25d3bf79cf2659eaabd5fbcdb07105.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"nodes": {
|
||||||
|
"PATH:wall-corner": {
|
||||||
|
"generate/physics": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://dve8bvx87r1mm"
|
||||||
|
path="res://.godot/imported/wall-doorway-square.glb-7714b1be5989e7155fddd458ccfec05b.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/kenney-house/wall-doorway-square.glb"
|
||||||
|
dest_files=["res://.godot/imported/wall-doorway-square.glb-7714b1be5989e7155fddd458ccfec05b.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"nodes": {
|
||||||
|
"PATH:wall-doorway-square": {
|
||||||
|
"generate/physics": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
Binary file not shown.
@@ -0,0 +1,46 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://b0k0k4heruf3t"
|
||||||
|
path="res://.godot/imported/wall-window-square-detailed.glb-7ae5d3f7bbc0fc7ff27a838bc27dee6b.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/kenney-house/wall-window-square-detailed.glb"
|
||||||
|
dest_files=["res://.godot/imported/wall-window-square-detailed.glb-7ae5d3f7bbc0fc7ff27a838bc27dee6b.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"nodes": {
|
||||||
|
"PATH:wall-window-square-detailed": {
|
||||||
|
"generate/physics": true
|
||||||
|
},
|
||||||
|
"PATH:wall-window-square-detailed/(_ignore)": {
|
||||||
|
"import/skip_import": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://bfgvxrgm0dkgi"
|
||||||
|
path="res://.godot/imported/wall.glb-1123b951cefd776d3d2bae84553f3095.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://models/kenney-house/wall.glb"
|
||||||
|
dest_files=["res://.godot/imported/wall.glb-1123b951cefd776d3d2bae84553f3095.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"nodes": {
|
||||||
|
"PATH:wall": {
|
||||||
|
"generate/physics": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
@@ -0,0 +1,105 @@
|
|||||||
|
@tool
|
||||||
|
extends ArrayMesh
|
||||||
|
class_name PortalMesh
|
||||||
|
|
||||||
|
@export_range(0.1, 10, 0.01) var height: float = 2.0:
|
||||||
|
set(new_val):
|
||||||
|
height = new_val
|
||||||
|
generate_portal_mesh()
|
||||||
|
|
||||||
|
@export_range(0.1, 10, 0.01) var width: float = 1.0:
|
||||||
|
set(new_val):
|
||||||
|
width = new_val
|
||||||
|
generate_portal_mesh()
|
||||||
|
|
||||||
|
## Player camera's NEAR clip distance
|
||||||
|
@export_range(0, 0.2, 0.001) var indent: float = 0.1:
|
||||||
|
set(new_val):
|
||||||
|
indent = new_val
|
||||||
|
generate_portal_mesh()
|
||||||
|
|
||||||
|
func _init() -> void:
|
||||||
|
if Engine.is_editor_hint():
|
||||||
|
generate_portal_mesh()
|
||||||
|
|
||||||
|
func generate_portal_mesh() -> void:
|
||||||
|
print("[PortalMesh] Creating mesh")
|
||||||
|
var _start_time: int = Time.get_ticks_usec()
|
||||||
|
clear_surfaces() # Reset
|
||||||
|
|
||||||
|
var surface_array: Array = []
|
||||||
|
surface_array.resize(Mesh.ARRAY_MAX)
|
||||||
|
|
||||||
|
var verts: PackedVector3Array = PackedVector3Array()
|
||||||
|
var uvs: PackedVector2Array = PackedVector2Array()
|
||||||
|
var normals: PackedVector3Array = PackedVector3Array()
|
||||||
|
var indices: PackedInt32Array = PackedInt32Array()
|
||||||
|
|
||||||
|
# Just to save some chars
|
||||||
|
var w: float = width / 2
|
||||||
|
var h: float = height / 2
|
||||||
|
|
||||||
|
|
||||||
|
# Outside rect
|
||||||
|
var TOP_LEFT: Vector3 = Vector3(-w, h, 0)
|
||||||
|
var TOP_RIGHT: Vector3 = Vector3(w, h, 0)
|
||||||
|
var BOTTOM_LEFT: Vector3 = Vector3(-w, -h, 0)
|
||||||
|
var BOTTOM_RIGHT: Vector3 = Vector3(w, -h, 0)
|
||||||
|
# Inside rect, indented
|
||||||
|
var INDENT_TL: Vector3 = TOP_LEFT + Vector3(indent, -indent, -indent)
|
||||||
|
var INDENT_TR: Vector3 = TOP_RIGHT + Vector3(-indent, -indent, -indent)
|
||||||
|
var INDENT_BL: Vector3 = BOTTOM_LEFT + Vector3(indent, indent, -indent)
|
||||||
|
var INDENT_BR: Vector3 = BOTTOM_RIGHT + Vector3(-indent, indent, -indent)
|
||||||
|
|
||||||
|
verts.append_array([
|
||||||
|
TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT,
|
||||||
|
INDENT_TL, INDENT_TR, INDENT_BL, INDENT_BR
|
||||||
|
])
|
||||||
|
|
||||||
|
var ix: float = indent / width
|
||||||
|
var iy: float = indent / height
|
||||||
|
uvs.append_array([
|
||||||
|
Vector2(0, 0), Vector2(1, 0), Vector2(0, 1), Vector2(1, 1), # Outside UVs
|
||||||
|
Vector2(ix, iy), Vector2(1-ix, iy), Vector2(ix, 1-iy), Vector2(1-ix, 1-iy) # Indented UVs
|
||||||
|
])
|
||||||
|
|
||||||
|
# We are going for a flat-surface look here. Portals should be unshaded anyways.
|
||||||
|
normals.append_array([
|
||||||
|
Vector3.BACK, Vector3.BACK, Vector3.BACK, Vector3.BACK,
|
||||||
|
Vector3.BACK, Vector3.BACK, Vector3.BACK, Vector3.BACK
|
||||||
|
])
|
||||||
|
|
||||||
|
# 0 ----------- 1
|
||||||
|
# | \ / |
|
||||||
|
# | 4-------5 |
|
||||||
|
# | | | |
|
||||||
|
# | | | |
|
||||||
|
# | 6-------7 |
|
||||||
|
# | / \ |
|
||||||
|
# 2 ----------- 3
|
||||||
|
|
||||||
|
# Triangles are clockwise!
|
||||||
|
|
||||||
|
indices.append_array([
|
||||||
|
0, 1, 4,
|
||||||
|
4, 1, 5, # Top section done
|
||||||
|
1, 3, 5,
|
||||||
|
5, 3, 7, # right section done
|
||||||
|
3, 2, 7,
|
||||||
|
7, 2, 6, # bottom section done
|
||||||
|
2, 0, 6,
|
||||||
|
6, 0, 4, # left section done
|
||||||
|
|
||||||
|
4, 5, 6,
|
||||||
|
6, 5, 7, # middle sectiondone
|
||||||
|
])
|
||||||
|
|
||||||
|
surface_array[Mesh.ARRAY_VERTEX] = verts
|
||||||
|
surface_array[Mesh.ARRAY_TEX_UV] = uvs
|
||||||
|
surface_array[Mesh.ARRAY_NORMAL] = normals
|
||||||
|
surface_array[Mesh.ARRAY_INDEX] = indices
|
||||||
|
|
||||||
|
add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, surface_array)
|
||||||
|
|
||||||
|
print("[PortalMesh] Done in %f ms" % [(Time.get_ticks_usec() - _start_time) / 1000.0])
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://s5kb624h26hs
|
||||||
@@ -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,6 @@
|
|||||||
|
[gd_scene load_steps=2 format=3 uid="uid://jecigkibqyew"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="1_0r486"]
|
||||||
|
|
||||||
|
[node name="Portal" type="MeshInstance3D"]
|
||||||
|
script = ExtResource("1_0r486")
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
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
|
||||||
@@ -0,0 +1,126 @@
|
|||||||
|
@tool
|
||||||
|
extends Node
|
||||||
|
|
||||||
|
@export_range(0.1, 10, 0.01) var height: float = 2.0
|
||||||
|
@export_range(0.1, 10, 0.01) var width: float = 1.0
|
||||||
|
## Player camera's NEAR clip distance
|
||||||
|
@export_range(0, 0.2, 0.001) var indent: float = 0.1
|
||||||
|
|
||||||
|
@export var portal: Portal
|
||||||
|
@export var portal_material: BaseMaterial3D
|
||||||
|
|
||||||
|
|
||||||
|
func _add_inspector_buttons() -> Array:
|
||||||
|
var buttons: Array = []
|
||||||
|
|
||||||
|
buttons.push_back({
|
||||||
|
"name": "Generate Portal Mesh",
|
||||||
|
"pressed": generate_portal_mesh
|
||||||
|
})
|
||||||
|
buttons.push_back({
|
||||||
|
"name": "Remove Mesh",
|
||||||
|
"pressed": func(): portal.mesh = null
|
||||||
|
})
|
||||||
|
|
||||||
|
return buttons
|
||||||
|
|
||||||
|
func _get_configuration_warnings() -> PackedStringArray:
|
||||||
|
var warnings: Array = []
|
||||||
|
|
||||||
|
if portal == null:
|
||||||
|
warnings.append("Assign a portal to generate the mesh for")
|
||||||
|
|
||||||
|
return warnings
|
||||||
|
|
||||||
|
func generate_portal_mesh() -> void:
|
||||||
|
if portal == null:
|
||||||
|
push_error("No portal")
|
||||||
|
return
|
||||||
|
|
||||||
|
if portal.mesh != null:
|
||||||
|
push_warning("The portal %s already has a mesh! Replacing." % portal.name)
|
||||||
|
portal.mesh = null
|
||||||
|
|
||||||
|
|
||||||
|
var mesh = ArrayMesh.new()
|
||||||
|
print("[PMM] Creating mesh")
|
||||||
|
|
||||||
|
var surface_array: Array = []
|
||||||
|
surface_array.resize(Mesh.ARRAY_MAX)
|
||||||
|
|
||||||
|
var verts: PackedVector3Array = PackedVector3Array()
|
||||||
|
var uvs: PackedVector2Array = PackedVector2Array()
|
||||||
|
var normals: PackedVector3Array = PackedVector3Array()
|
||||||
|
var indices: PackedInt32Array = PackedInt32Array()
|
||||||
|
|
||||||
|
# Just to save some chars
|
||||||
|
var w: float = width / 2
|
||||||
|
var h: float = height / 2
|
||||||
|
|
||||||
|
|
||||||
|
# Outside rect
|
||||||
|
var TOP_LEFT: Vector3 = Vector3(-w, h, 0)
|
||||||
|
var TOP_RIGHT: Vector3 = Vector3(w, h, 0)
|
||||||
|
var BOTTOM_LEFT: Vector3 = Vector3(-w, -h, 0)
|
||||||
|
var BOTTOM_RIGHT: Vector3 = Vector3(w, -h, 0)
|
||||||
|
# Inside rect, indented
|
||||||
|
var INDENT_TL: Vector3 = TOP_LEFT + Vector3(indent, -indent, -indent)
|
||||||
|
var INDENT_TR: Vector3 = TOP_RIGHT + Vector3(-indent, -indent, -indent)
|
||||||
|
var INDENT_BL: Vector3 = BOTTOM_LEFT + Vector3(indent, indent, -indent)
|
||||||
|
var INDENT_BR: Vector3 = BOTTOM_RIGHT + Vector3(-indent, indent, -indent)
|
||||||
|
|
||||||
|
verts.append_array([
|
||||||
|
TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT,
|
||||||
|
INDENT_TL, INDENT_TR, INDENT_BL, INDENT_BR
|
||||||
|
])
|
||||||
|
|
||||||
|
var ix: float = indent / width
|
||||||
|
var iy: float = indent / height
|
||||||
|
uvs.append_array([
|
||||||
|
Vector2(0, 0), Vector2(1, 0), Vector2(0, 1), Vector2(1, 1), # Outside UVs
|
||||||
|
Vector2(ix, iy), Vector2(1-ix, iy), Vector2(ix, 1-iy), Vector2(1-ix, 1-iy) # Indented UVs
|
||||||
|
])
|
||||||
|
|
||||||
|
# We are going for a flat-surface look here. Portals should be unshaded anyways.
|
||||||
|
normals.append_array([
|
||||||
|
Vector3.BACK, Vector3.BACK, Vector3.BACK, Vector3.BACK,
|
||||||
|
Vector3.BACK, Vector3.BACK, Vector3.BACK, Vector3.BACK
|
||||||
|
])
|
||||||
|
|
||||||
|
# 0 ----------- 1
|
||||||
|
# | \ / |
|
||||||
|
# | 4-------5 |
|
||||||
|
# | | | |
|
||||||
|
# | | | |
|
||||||
|
# | 6-------7 |
|
||||||
|
# | / \ |
|
||||||
|
# 2 ----------- 3
|
||||||
|
|
||||||
|
# Triangles are clockwise!
|
||||||
|
|
||||||
|
indices.append_array([
|
||||||
|
0, 1, 4,
|
||||||
|
4, 1, 5, # Top section done
|
||||||
|
1, 3, 5,
|
||||||
|
5, 3, 7, # right section done
|
||||||
|
3, 2, 7,
|
||||||
|
7, 2, 6, # bottom section done
|
||||||
|
2, 0, 6,
|
||||||
|
6, 0, 4, # left section done
|
||||||
|
|
||||||
|
4, 5, 6,
|
||||||
|
6, 5, 7, # middle sectiondone
|
||||||
|
])
|
||||||
|
|
||||||
|
surface_array[Mesh.ARRAY_VERTEX] = verts
|
||||||
|
surface_array[Mesh.ARRAY_TEX_UV] = uvs
|
||||||
|
surface_array[Mesh.ARRAY_NORMAL] = normals
|
||||||
|
surface_array[Mesh.ARRAY_INDEX] = indices
|
||||||
|
|
||||||
|
mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, surface_array)
|
||||||
|
if portal_material:
|
||||||
|
mesh.surface_set_material(0, portal_material)
|
||||||
|
mesh.surface_set_name(0, "Portal Material")
|
||||||
|
portal.mesh = mesh
|
||||||
|
|
||||||
|
print("[PMM] Mesh assigned")
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://xt85yw2lp6dw
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[gd_scene load_steps=2 format=3 uid="uid://d1dtxvwk86ple"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://xt85yw2lp6dw" path="res://procedural_mesh_maker.gd" id="1_1a4ua"]
|
||||||
|
|
||||||
|
[node name="ProceduralMeshMaker" type="Node"]
|
||||||
|
script = ExtResource("1_1a4ua")
|
||||||
@@ -15,6 +15,21 @@ 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
|
||||||
|
|
||||||
|
[editor_plugins]
|
||||||
|
|
||||||
|
enabled=PackedStringArray("res://addons/inspector_buttons/plugin.cfg")
|
||||||
|
|
||||||
|
[file_customization]
|
||||||
|
|
||||||
|
folder_colors={
|
||||||
|
"res://addons/": "blue"
|
||||||
|
}
|
||||||
|
|
||||||
[input]
|
[input]
|
||||||
|
|
||||||
move_left={
|
move_left={
|
||||||
@@ -37,8 +52,15 @@ move_back={
|
|||||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
debug_teleport={
|
||||||
|
"deadzone": 0.2,
|
||||||
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":84,"key_label":0,"unicode":116,"location":0,"echo":false,"script":null)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
[layer_names]
|
[layer_names]
|
||||||
|
|
||||||
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"
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
[gd_scene load_steps=5 format=3 uid="uid://birikia38m0g7"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cvxwlhcjdg7u7" path="res://textures/kloppenheim_06_puresky_2k.exr" id="1_5twt8"]
|
||||||
|
|
||||||
|
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_ghyw7"]
|
||||||
|
panorama = ExtResource("1_5twt8")
|
||||||
|
|
||||||
|
[sub_resource type="Sky" id="Sky_jfr1b"]
|
||||||
|
sky_material = SubResource("PanoramaSkyMaterial_ghyw7")
|
||||||
|
|
||||||
|
[sub_resource type="Environment" id="Environment_jdap8"]
|
||||||
|
background_mode = 2
|
||||||
|
sky = SubResource("Sky_jfr1b")
|
||||||
|
tonemap_mode = 1
|
||||||
|
tonemap_exposure = 0.53
|
||||||
|
glow_enabled = true
|
||||||
|
|
||||||
|
[node name="WorldEnvironment" type="WorldEnvironment"]
|
||||||
|
environment = SubResource("Environment_jdap8")
|
||||||
Binary file not shown.
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cvxwlhcjdg7u7"
|
||||||
|
path.bptc="res://.godot/imported/kloppenheim_06_puresky_2k.exr-160a1911b7cbaf5d31339e358952146a.bptc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://textures/kloppenheim_06_puresky_2k.exr"
|
||||||
|
dest_files=["res://.godot/imported/kloppenheim_06_puresky_2k.exr-160a1911b7cbaf5d31339e358952146a.bptc.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://bv36triwinl2f"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://ya8afistbdec" path="res://textures/uv-checker.png" id="1_xdbe0"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
shading_mode = 0
|
||||||
|
albedo_texture = ExtResource("1_xdbe0")
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 122 KiB |
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ya8afistbdec"
|
||||||
|
path.s3tc="res://.godot/imported/uv-checker.png-26b18af46d2dfdb0ee67624bb4da1f2d.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://textures/uv-checker.png"
|
||||||
|
dest_files=["res://.godot/imported/uv-checker.png-26b18af46d2dfdb0ee67624bb4da1f2d.s3tc.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
Reference in new issue
Block a user