1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
[gd_scene load_steps=11 format=3 uid="uid://bb55ocpenupao"]
[ext_resource type="Script" path="res://scripts/level_gen.gd" id="1_sfx65"]
[ext_resource type="PackedScene" uid="uid://dsq68sqy2ldjm" path="res://prefab/player.tscn" id="3_8dect"]
[ext_resource type="Material" uid="uid://uiwp0gpofjrx" path="res://materials/terrain.tres" id="3_nsy4g"]
[ext_resource type="PackedScene" uid="uid://2a3fyuye46hm" path="res://prefab/rock.tscn" id="3_so64k"]
[sub_resource type="BoxMesh" id="BoxMesh_2l1xl"]
material = ExtResource("3_nsy4g")
[sub_resource type="Environment" id="Environment_w27kj"]
background_color = Color(0.792157, 0.792157, 0.792157, 1)
ambient_light_source = 2
ambient_light_color = Color(1, 1, 1, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_gtg8d"]
size = Vector3(200, 1, 200)
[sub_resource type="PlaneMesh" id="PlaneMesh_ypd0i"]
size = Vector2(200, 200)
[sub_resource type="BoxShape3D" id="BoxShape3D_kjqqf"]
size = Vector3(3, 10, 3)
[sub_resource type="BoxMesh" id="BoxMesh_f2n6h"]
size = Vector3(3, 10, 3)
[node name="Node3D" type="Node3D"]
script = ExtResource("1_sfx65")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -0.878192, 0.478309, 0, -0.478309, -0.878192, 0, 50, 0)
light_energy = 2.0
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 0)
mesh = SubResource("BoxMesh_2l1xl")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_w27kj")
[node name="Rock" parent="WorldEnvironment" instance=ExtResource("3_so64k")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.6853, 2, 0)
[node name="Water" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 100, 0, 90)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Water"]
shape = SubResource("BoxShape3D_gtg8d")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="Water"]
mesh = SubResource("PlaneMesh_ypd0i")
skeleton = NodePath("../..")
[node name="Player" parent="." instance=ExtResource("3_8dect")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.7109, 0, 0)
[node name="StaticBody3D" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.7194, 5, -6.35033)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
shape = SubResource("BoxShape3D_kjqqf")
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D"]
mesh = SubResource("BoxMesh_f2n6h")
|