-
Notifications
You must be signed in to change notification settings - Fork 5
/
Level.tscn
135 lines (106 loc) · 3.89 KB
/
Level.tscn
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[gd_scene load_steps=17 format=2]
[ext_resource path="res://Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://Level.gd" type="Script" id=2]
[ext_resource path="res://Roboto-Regular.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://TestMovingPlatform.tscn" type="PackedScene" id=4]
[sub_resource type="PlaneMesh" id=1]
size = Vector2( 250, 250 )
[sub_resource type="OpenSimplexNoise" id=2]
octaves = 9
period = 16.0
persistence = 1.0
lacunarity = 3.0
[sub_resource type="NoiseTexture" id=3]
flags = 11
width = 2048
height = 2048
noise = SubResource( 2 )
[sub_resource type="OpenSimplexNoise" id=4]
lacunarity = 1.45
[sub_resource type="NoiseTexture" id=5]
seamless = true
as_normalmap = true
bump_strength = 24.0
noise = SubResource( 4 )
[sub_resource type="SpatialMaterial" id=6]
albedo_color = Color( 0.439216, 0.521569, 0.278431, 1 )
albedo_texture = SubResource( 3 )
normal_enabled = true
normal_scale = 2.0
normal_texture = SubResource( 5 )
[sub_resource type="BoxShape" id=7]
extents = Vector3( 125, 0.1, 125 )
[sub_resource type="DynamicFont" id=8]
size = 32
font_data = ExtResource( 3 )
[sub_resource type="PrismMesh" id=9]
left_to_right = 0.0
size = Vector3( 7, 3, 10 )
[sub_resource type="ConvexPolygonShape" id=10]
points = PoolVector3Array( -3.5, 1.5, 5, -3.5, 1.5, -5, -3.5, 1.5, 5, -3.5, 1.5, -5, -3.5, -1.5, 5, 3.5, -1.5, -5, 3.5, -1.5, 5, -3.5, -1.5, -5, -3.5, 1.5, 5, -3.5, 1.5, -5, -3.5, 1.5, -5, -3.5, 1.5, 5, 3.5, -1.5, 5, -3.5, -1.5, -5, 3.5, -1.5, -5, -3.5, -1.5, 5, -3.5, -1.5, 5, 3.5, -1.5, 5, -3.5, -1.5, -5, 3.5, -1.5, -5 )
[sub_resource type="SphereMesh" id=11]
radius = 2.0
height = 4.0
[sub_resource type="SphereShape" id=12]
radius = 2.0
[node name="Level" type="Node"]
script = ExtResource( 2 )
[node name="StaticBody" type="StaticBody" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0 )
[node name="MeshInstance" type="MeshInstance" parent="StaticBody"]
mesh = SubResource( 1 )
material/0 = SubResource( 6 )
[node name="CollisionShape" type="CollisionShape" parent="StaticBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0 )
shape = SubResource( 7 )
[node name="Player" parent="." instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 6.68779, 13.7558, 6.90174 )
[node name="HUD" type="Control" parent="."]
margin_right = 484.0
margin_bottom = 310.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect" type="ColorRect" parent="HUD"]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 0.0980392 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="HUD"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 16.0
margin_top = 8.0
custom_fonts/font = SubResource( 8 )
text = "Test"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( -0.616195, -0.274607, 0.738169, 0.78751, -0.201155, 0.582551, -0.011486, 0.94028, 0.340207, -1.55935, 6.58767, 3.86212 )
light_color = Color( 1, 1, 0.956863, 1 )
shadow_enabled = true
[node name="StaticBody2" type="StaticBody" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -7.038, 1.3, 0 )
__meta__ = {
"_edit_group_": true
}
[node name="MeshInstance" type="MeshInstance" parent="StaticBody2"]
mesh = SubResource( 9 )
material/0 = null
[node name="CollisionShape" type="CollisionShape" parent="StaticBody2"]
shape = SubResource( 10 )
[node name="TestMovingPlatform" parent="." instance=ExtResource( 4 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -14.6973, 1.5236, -1.157 )
[node name="StaticBody3" type="StaticBody" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.588289, 19.429 )
__meta__ = {
"_edit_group_": true
}
[node name="MeshInstance" type="MeshInstance" parent="StaticBody3"]
mesh = SubResource( 11 )
material/0 = null
[node name="CollisionShape" type="CollisionShape" parent="StaticBody3"]
shape = SubResource( 12 )