grounders-slowjam-2024/level/level.tscn

52 lines
2.6 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://b00brfkibo5cj"]
[ext_resource type="PackedScene" uid="uid://bq654gwim6col" path="res://level/level.glb" id="1_s37in"]
[ext_resource type="Environment" uid="uid://covjrwmk4rplw" path="res://level/world_environment.tres" id="2_ptkl6"]
[ext_resource type="Script" path="res://level/level.gd" id="2_s1bx6"]
[ext_resource type="Script" path="res://addons/smoother/smoother.gd" id="5_2tyle"]
[ext_resource type="Script" path="res://level/PlayerSpawner.gd" id="6_7ww0m"]
[ext_resource type="MeshLibrary" uid="uid://cgh6y5j8wgi36" path="res://level/mesh_library/level_mesh_library.glb" id="6_d34iv"]
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_ujmev"]
margin = 2.067
[sub_resource type="BoxShape3D" id="BoxShape3D_qp06x"]
size = Vector3(2, 0.1, 2)
[node name="level" instance=ExtResource("1_s37in")]
script = ExtResource("2_s1bx6")
[node name="WorldEnvironment" type="WorldEnvironment" parent="." index="0"]
environment = ExtResource("2_ptkl6")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="WorldEnvironment" index="0"]
transform = Transform3D(1, 0, 0, 0, 0.566018, 0.824393, 0, -0.824393, 0.566018, 0, 13.4573, 0)
[node name="StaticBody3D" type="StaticBody3D" parent="Plane" index="0"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Plane/StaticBody3D" index="0"]
transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0)
shape = SubResource("WorldBoundaryShape3D_ujmev")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Plane/StaticBody3D" index="1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0)
shape = SubResource("BoxShape3D_qp06x")
[node name="Players" type="Node3D" parent="." index="3"]
unique_name_in_owner = true
[node name="PlayerSpawner" type="MultiplayerSpawner" parent="." index="4"]
unique_name_in_owner = true
_spawnable_scenes = PackedStringArray("res://player/player.tscn")
spawn_path = NodePath("../Players")
script = ExtResource("6_7ww0m")
[node name="Smoother" type="Node" parent="." index="5"]
script = ExtResource("5_2tyle")
[node name="GridMap" type="GridMap" parent="." index="6"]
mesh_library = ExtResource("6_d34iv")
data = {
"cells": PackedInt32Array(65533, 65533, 1, 0, 65533, 0, 4, 65532, 0, 4, 65533, 0, 5, 65533, 0, 6, 65534, 0, 6, 65533, 0, 5, 65532, 0, 65535, 65531, 0, 0, 65530, 0, 1, 65530, 0, 4, 65528, 0, 3, 65528, 0, 65534, 65528, 0, 2, 65533, 0, 2, 2, 1, 7, 4, 0, 7, 3, 0, 7, 2, 0, 7, 1, 0, 7, 0, 0, 7, 65535, 0, 65533, 6, 0, 65534, 6, 0, 65535, 6, 0, 0, 6, 0, 1, 6, 0, 4, 9, 0, 4, 8, 0, 4, 7, 0, 4, 6, 0, 3, 7, 1, 8, 6, 1)
}