Now About Social Code
summaryrefslogtreecommitdiff
path: root/scenes/main.tscn
blob: cf072fadcf0a14a270534e527816b79452447a2f (plain)
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
[gd_scene load_steps=8 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"]

[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)

[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="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)