47 lines
2.1 KiB
Plaintext
47 lines
2.1 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://b00brfkibo5cj"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bq654gwim6col" path="res://level/level.glb" id="1_s37in"]
|
|
[ext_resource type="PackedScene" uid="uid://do25xvpy80iio" path="res://player/player.tscn" id="2_7ct70"]
|
|
[ext_resource type="Environment" uid="uid://covjrwmk4rplw" path="res://level/world_environment.tres" id="2_ptkl6"]
|
|
[ext_resource type="PackedScene" uid="uid://brgqf2ebuyhuy" path="res://camera/camera.tscn" id="3_yev7j"]
|
|
[ext_resource type="Script" path="res://addons/smoother/smoother.gd" id="5_2tyle"]
|
|
|
|
[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")]
|
|
|
|
[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="Player" parent="." index="3" instance=ExtResource("2_7ct70")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.36667, 2.66437, 0)
|
|
floor_max_angle = 1.309
|
|
JUMP_VELOCITY = 5.0
|
|
|
|
[node name="Camera" parent="Player" index="2" instance=ExtResource("3_yev7j")]
|
|
|
|
[node name="Players" type="Node3D" parent="." index="4"]
|
|
|
|
[node name="Smoother" type="Node" parent="." index="5"]
|
|
script = ExtResource("5_2tyle")
|
|
|
|
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="." index="6"]
|
|
spawn_path = NodePath("../Players")
|