Now About Social Code
summaryrefslogtreecommitdiff
path: root/scenes/main.tscn
blob: c1339d114f4eeab21a84b96cde778439870d5ee6 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[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="." node_paths=PackedStringArray("stam_bar", "seed_text") instance=ExtResource("3_8dect")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.7109, 0, 0)
stam_bar = NodePath("../StaminaBar")
seed_text = NodePath("../RichTextLabel/SeedText")

[node name="StaticBody3D" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.7194, 5, -6.35033)
collision_layer = 5

[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
shape = SubResource("BoxShape3D_kjqqf")

[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D"]
mesh = SubResource("BoxMesh_f2n6h")

[node name="StaminaBar" type="ProgressBar" parent="."]
offset_left = 32.0
offset_top = 7.0
offset_right = 1103.0
offset_bottom = 34.0

[node name="RichTextLabel" type="RichTextLabel" parent="."]
offset_left = 34.0
offset_top = 43.0
offset_right = 201.0
offset_bottom = 83.0
text = "Seeds:"

[node name="SeedText" type="RichTextLabel" parent="RichTextLabel"]
layout_mode = 0
offset_left = 50.0
offset_top = 2.0
offset_right = 88.0
offset_bottom = 42.0
text = "0"
text_direction = 2