Infinite islands level

This commit is contained in:
Vojta committed 2025-02-11 15:17:53 +01:00
1 parent 4d07c5fb73
commit e489469119
4 files changed
+446 -82

No files matched your search

+105 -82
View File
@@ -1,31 +1,20 @@
[gd_scene load_steps=13 format=3 uid="uid://dpatwnepecl8r"] [gd_scene load_steps=11 format=3 uid="uid://dpatwnepecl8r"]
[ext_resource type="MeshLibrary" uid="uid://bedqgubx1g1uf" path="res://prototypes.tres" id="1_ig7tw"] [ext_resource type="MeshLibrary" uid="uid://bedqgubx1g1uf" path="res://prototypes.tres" id="1_7nma7"]
[ext_resource type="Script" uid="uid://bp1bo57yqtv65" path="res://player.gd" id="2_0xm2m"] [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_1bvp3"] [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_lquwl"] [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_lquwl"] [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_ig7tw"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_lquwl"]
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_0xm2m"] [sub_resource type="Sky" id="Sky_7mycd"]
sky_material = SubResource("ProceduralSkyMaterial_ig7tw") sky_material = SubResource("ProceduralSkyMaterial_lquwl")
[sub_resource type="Environment" id="Environment_h2yge"] [sub_resource type="Environment" id="Environment_272bh"]
background_mode = 2 sky = SubResource("Sky_7mycd")
sky = SubResource("Sky_0xm2m")
glow_enabled = true
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_0xm2m"] [sub_resource type="Environment" id="Environment_lquwl"]
radius = 0.4
height = 1.75
[sub_resource type="SphereShape3D" id="SphereShape3D_lquwl"]
radius = 0.005
[sub_resource type="Environment" id="Environment_7mycd"]
[sub_resource type="BoxShape3D" id="BoxShape3D_1bvp3"] [sub_resource type="BoxShape3D" id="BoxShape3D_1bvp3"]
size = Vector3(2, 2.5, 0.2) size = Vector3(2, 2.5, 0.2)
@@ -33,10 +22,10 @@ size = Vector3(2, 2.5, 0.2)
[node name="Main" type="Node3D"] [node name="Main" type="Node3D"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."] [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_h2yge") environment = SubResource("Environment_272bh")
[node name="GridMap" type="GridMap" parent="."] [node name="GridMap" type="GridMap" parent="."]
mesh_library = ExtResource("1_ig7tw") mesh_library = ExtResource("1_7nma7")
cell_size = Vector3(1, 1, 1) cell_size = Vector3(1, 1, 1)
data = { 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 "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
@@ -71,34 +60,23 @@ omni_range = 4.0
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 32, 2, 9) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 32, 2, 9)
omni_range = 4.0 omni_range = 4.0
[node name="Player" type="CharacterBody3D" parent="."] [node name="Player" parent="." instance=ExtResource("2_7nma7")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.28597, -3) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.28597, -3)
script = ExtResource("2_0xm2m")
metadata/teleportable = false
[node name="Camera3D" type="Camera3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.32153, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0)
shape = SubResource("CapsuleShape3D_0xm2m")
[node name="TeleportTrigger" type="Area3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0)
metadata/teleportable_root = NodePath("..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player/TeleportTrigger"]
shape = SubResource("SphereShape3D_lquwl")
[node name="P_white_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")] [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) 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_1bvp3") mesh = ExtResource("3_ok2r5")
script = ExtResource("4_lquwl") script = ExtResource("4_n2ayn")
exit_environment = SubResource("Environment_7mycd") 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") exit_portal = NodePath("../P_red_wide")
[node name="Teleport" type="Area3D" parent="P_white_short"] [node name="Teleport" type="Area3D" parent="P_white_short"]
script = ExtResource("5_lquwl") script = ExtResource("5_dfyqt")
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_white_short/Teleport"] [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) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
@@ -106,13 +84,18 @@ shape = SubResource("BoxShape3D_1bvp3")
[node name="P_white_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")] [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) transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 0, 2, -6.5)
mesh = ExtResource("3_1bvp3") mesh = ExtResource("3_ok2r5")
script = ExtResource("4_lquwl") script = ExtResource("4_n2ayn")
exit_environment = SubResource("Environment_7mycd") 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") exit_portal = NodePath("../P_green_short")
[node name="Teleport" type="Area3D" parent="P_white_wide"] [node name="Teleport" type="Area3D" parent="P_white_wide"]
script = ExtResource("5_lquwl") script = ExtResource("5_dfyqt")
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_white_wide/Teleport"] [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) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
@@ -120,13 +103,18 @@ shape = SubResource("BoxShape3D_1bvp3")
[node name="P_green_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")] [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) 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_1bvp3") mesh = ExtResource("3_ok2r5")
script = ExtResource("4_lquwl") script = ExtResource("4_n2ayn")
exit_environment = SubResource("Environment_7mycd") 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") exit_portal = NodePath("../P_white_wide")
[node name="Teleport" type="Area3D" parent="P_green_short"] [node name="Teleport" type="Area3D" parent="P_green_short"]
script = ExtResource("5_lquwl") script = ExtResource("5_dfyqt")
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_green_short/Teleport"] [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) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
@@ -134,13 +122,18 @@ shape = SubResource("BoxShape3D_1bvp3")
[node name="P_green_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")] [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) transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 16, 2, -6.5)
mesh = ExtResource("3_1bvp3") mesh = ExtResource("3_ok2r5")
script = ExtResource("4_lquwl") script = ExtResource("4_n2ayn")
exit_environment = SubResource("Environment_7mycd") 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") exit_portal = NodePath("../P_orange_short")
[node name="Teleport" type="Area3D" parent="P_green_wide"] [node name="Teleport" type="Area3D" parent="P_green_wide"]
script = ExtResource("5_lquwl") script = ExtResource("5_dfyqt")
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_green_wide/Teleport"] [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) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
@@ -148,13 +141,18 @@ shape = SubResource("BoxShape3D_1bvp3")
[node name="P_orange_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")] [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) 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_1bvp3") mesh = ExtResource("3_ok2r5")
script = ExtResource("4_lquwl") script = ExtResource("4_n2ayn")
exit_environment = SubResource("Environment_7mycd") 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") exit_portal = NodePath("../P_green_wide")
[node name="Teleport" type="Area3D" parent="P_orange_short"] [node name="Teleport" type="Area3D" parent="P_orange_short"]
script = ExtResource("5_lquwl") script = ExtResource("5_dfyqt")
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_orange_short/Teleport"] [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) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
@@ -162,13 +160,18 @@ shape = SubResource("BoxShape3D_1bvp3")
[node name="P_orange_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")] [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) transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 32, 2, -6.5)
mesh = ExtResource("3_1bvp3") mesh = ExtResource("3_ok2r5")
script = ExtResource("4_lquwl") script = ExtResource("4_n2ayn")
exit_environment = SubResource("Environment_7mycd") 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") exit_portal = NodePath("../P_purple_short")
[node name="Teleport" type="Area3D" parent="P_orange_wide"] [node name="Teleport" type="Area3D" parent="P_orange_wide"]
script = ExtResource("5_lquwl") script = ExtResource("5_dfyqt")
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_orange_wide/Teleport"] [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) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
@@ -176,13 +179,18 @@ shape = SubResource("BoxShape3D_1bvp3")
[node name="P_purple_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")] [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) 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_1bvp3") mesh = ExtResource("3_ok2r5")
script = ExtResource("4_lquwl") script = ExtResource("4_n2ayn")
exit_environment = SubResource("Environment_7mycd") 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") exit_portal = NodePath("../P_orange_wide")
[node name="Teleport" type="Area3D" parent="P_purple_short"] [node name="Teleport" type="Area3D" parent="P_purple_short"]
script = ExtResource("5_lquwl") script = ExtResource("5_dfyqt")
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_purple_short/Teleport"] [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) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
@@ -190,13 +198,18 @@ shape = SubResource("BoxShape3D_1bvp3")
[node name="P_purple_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")] [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) transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 0, 2, 5.5)
mesh = ExtResource("3_1bvp3") mesh = ExtResource("3_ok2r5")
script = ExtResource("4_lquwl") script = ExtResource("4_n2ayn")
exit_environment = SubResource("Environment_7mycd") 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") exit_portal = NodePath("../P_red_short")
[node name="Teleport" type="Area3D" parent="P_purple_wide"] [node name="Teleport" type="Area3D" parent="P_purple_wide"]
script = ExtResource("5_lquwl") script = ExtResource("5_dfyqt")
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_purple_wide/Teleport"] [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) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
@@ -204,13 +217,18 @@ shape = SubResource("BoxShape3D_1bvp3")
[node name="P_red_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")] [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) 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_1bvp3") mesh = ExtResource("3_ok2r5")
script = ExtResource("4_lquwl") script = ExtResource("4_n2ayn")
exit_environment = SubResource("Environment_7mycd") 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") exit_portal = NodePath("../P_purple_wide")
[node name="Teleport" type="Area3D" parent="P_red_short"] [node name="Teleport" type="Area3D" parent="P_red_short"]
script = ExtResource("5_lquwl") script = ExtResource("5_dfyqt")
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_red_short/Teleport"] [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) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
@@ -218,13 +236,18 @@ shape = SubResource("BoxShape3D_1bvp3")
[node name="P_red_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")] [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) transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 16, 2, 5.5)
mesh = ExtResource("3_1bvp3") mesh = ExtResource("3_ok2r5")
script = ExtResource("4_lquwl") script = ExtResource("4_n2ayn")
exit_environment = SubResource("Environment_7mycd") 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") exit_portal = NodePath("../P_white_short")
[node name="Teleport" type="Area3D" parent="P_red_wide"] [node name="Teleport" type="Area3D" parent="P_red_wide"]
script = ExtResource("5_lquwl") script = ExtResource("5_dfyqt")
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_red_wide/Teleport"] [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) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
+300
View File
@@ -0,0 +1,300 @@
[gd_scene load_steps=11 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="3_7knre"]
[ext_resource type="PackedScene" uid="uid://c6u7a7bisra5b" path="res://addons/platformer-assets/flowers.glb" id="3_qvh7i"]
[ext_resource type="PackedScene" uid="uid://2oao5c24w74u" path="res://addons/platformer-assets/grass.glb" id="4_wg85y"]
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="5_wg85y"]
[ext_resource type="Script" uid="uid://bkv7t4hw21byg" path="res://addons/simple-portal-system/scripts/simple_portal_teleport.gd" id="6_3fidx"]
[ext_resource type="ArrayMesh" uid="uid://bqilnvlfws6xh" path="res://portal-mesh.tres" id="7_hwdx8"]
[sub_resource type="Environment" id="Environment_7knre"]
background_mode = 1
background_color = Color(0.590126, 0.615058, 0.699408, 1)
glow_enabled = true
[sub_resource type="BoxShape3D" id="BoxShape3D_1wwjl"]
size = Vector3(2, 1, 2)
[sub_resource type="BoxShape3D" id="BoxShape3D_2wcgd"]
size = Vector3(2, 2.5, 0.2)
[node name="Main" type="Node3D"]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, -0.500003, 0.749999, -0.43301, 0, 0, 0)
shadow_enabled = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_7knre")
[node name="Player" parent="." instance=ExtResource("3_7knre")]
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="block-grass-large2" parent="Island" instance=ExtResource("1_1wwjl")]
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large2"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large2/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large3" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large3"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large3/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large4" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large4"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large4/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large5" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -2)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large5"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large5/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large6" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, 0)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large6"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large6/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large7" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large7"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large7/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large8" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -2)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large8"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large8/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large9" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -2)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large9"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large9/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large10" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large10"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large10/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large11" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -4)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large11"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large11/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large12" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -4)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large12"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large12/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large13" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -4)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large13"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large13/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large14" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -6)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large14"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large14/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large15" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -6)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large15"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large15/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large16" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -8)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large16"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large16/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large17" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -8)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large17"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large17/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large18" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -6)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large18"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large18/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large19" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -6)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large19"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large19/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large20" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -8)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large20"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large20/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large21" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -8)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large21"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large21/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large22" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -10)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large22"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large22/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large23" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -10)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large23"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large23/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large24" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -10)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large24"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large24/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="block-grass-large25" parent="Island" instance=ExtResource("1_1wwjl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -10)
[node name="StaticBody3D" type="StaticBody3D" parent="Island/block-grass-large25"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/block-grass-large25/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.005, 0.5, 0)
shape = SubResource("BoxShape3D_1wwjl")
[node name="flowers" parent="Island" instance=ExtResource("3_qvh7i")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.683421, 1, -0.22983)
[node name="flowers2" parent="Island" instance=ExtResource("3_qvh7i")]
transform = Transform3D(0.82088, 0, -0.5711, 0, 1, 0, 0.5711, 0, 0.82088, 5.6032, 1, -2.39323)
[node name="grass2" parent="Island" instance=ExtResource("4_wg85y")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.443156, 1, -4.40125)
[node name="P_white_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
transform = Transform3D(20, 0, 0, 0, -8.74228e-07, 1, 0, -20, -4.37114e-08, 0, -15, 0)
layers = 2
cast_shadow = 0
mesh = ExtResource("7_hwdx8")
script = ExtResource("5_wg85y")
disable_viewport_distance = 100.0
destroy_disabled_viewport = false
fade_out_distance_max = 100.0
fade_out_distance_min = 90.0
fade_out_color = Color(1, 0, 1, 1)
exit_cull_mask = 1048573
exit_portal = NodePath("../P_green_short")
[node name="Teleport" type="Area3D" parent="P_white_wide"]
script = ExtResource("6_3fidx")
[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_2wcgd")
[node name="P_green_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
transform = Transform3D(-8.74228e-07, -20, 4.80825e-08, 0, -8.74228e-07, -1.1, 20, -8.74228e-07, 2.10175e-15, 0, 15, 0)
layers = 2
cast_shadow = 0
mesh = ExtResource("7_hwdx8")
script = ExtResource("5_wg85y")
disable_viewport_distance = 100.0
destroy_disabled_viewport = false
fade_out_distance_max = 100.0
fade_out_distance_min = 90.0
fade_out_color = Color(1, 0, 1, 1)
exit_cull_mask = 1048573
exit_portal = NodePath("../P_white_wide")
[node name="Teleport" type="Area3D" parent="P_green_short"]
script = ExtResource("6_3fidx")
[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_2wcgd")
+36
View File
@@ -0,0 +1,36 @@
[gd_scene load_steps=5 format=3 uid="uid://cgdlowfuuorvi"]
[ext_resource type="Script" uid="uid://bp1bo57yqtv65" path="res://player.gd" id="1_4flbx"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_0xm2m"]
radius = 0.4
height = 1.75
[sub_resource type="SphereShape3D" id="SphereShape3D_lquwl"]
radius = 0.005
[sub_resource type="CapsuleMesh" id="CapsuleMesh_4flbx"]
radius = 0.4
height = 1.75
[node name="Player" type="CharacterBody3D"]
script = ExtResource("1_4flbx")
metadata/teleportable = false
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.32153, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0)
shape = SubResource("CapsuleShape3D_0xm2m")
[node name="TeleportTrigger" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0)
metadata/teleportable_root = NodePath("..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="TeleportTrigger"]
shape = SubResource("SphereShape3D_lquwl")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0)
mesh = SubResource("CapsuleMesh_4flbx")
+5
View File
@@ -37,3 +37,8 @@ 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)
] ]
} }
[layer_names]
3d_render/layer_1="World"
3d_render/layer_2="Portals"