-
Notifications
You must be signed in to change notification settings - Fork 0
/
Level.tscn
78 lines (57 loc) · 3.01 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
[gd_scene load_steps=12 format=2]
[ext_resource path="res://objects/Floor.tscn" type="PackedScene" id=1]
[ext_resource path="res://objects/camera.tscn" type="PackedScene" id=2]
[ext_resource path="res://objects/player.tscn" type="PackedScene" id=3]
[ext_resource path="res://objects/Cube.tscn" type="PackedScene" id=4]
[ext_resource path="res://objects/Sphere.tscn" type="PackedScene" id=5]
[ext_resource path="res://meshes/bouny-crystal.tscn" type="PackedScene" id=6]
[ext_resource path="res://meshes/bouny-crystal.gd" type="Script" id=7]
[ext_resource path="res://objects/Bear.tscn" type="PackedScene" id=8]
[sub_resource type="ProceduralSky" id=1]
radiance_size = 3
sky_curve = 0.146205
sky_energy = 1.5
ground_bottom_color = Color( 0.454902, 0.545098, 0.635294, 1 )
ground_horizon_color = Color( 0.654902, 0.717647, 0.827451, 1 )
sun_curve = 0.546416
sun_energy = 9.51
[sub_resource type="Environment" id=2]
background_mode = 2
background_sky = SubResource( 1 )
background_sky_custom_fov = 79.7
background_energy = 1.9
ambient_light_color = Color( 0.533333, 0.854902, 0.847059, 1 )
ambient_light_energy = 0.5
ambient_light_sky_contribution = 0.95
[sub_resource type="BoxShape" id=3]
[node name="Level" type="Spatial"]
[node name="Floor" parent="." instance=ExtResource( 1 )]
transform = Transform( 20, 0, 0, 0, 0.5, 0, 0, 0, 20, 0, -0.553256, 0 )
[node name="Camera" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.462148, 2.26535, 5.14747 )
environment = SubResource( 2 )
[node name="Player" parent="." instance=ExtResource( 3 )]
run_speed = 7.0
[node name="Cube" parent="." instance=ExtResource( 4 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.9423, 1.01261, 5.08258 )
[node name="Cube2" parent="." instance=ExtResource( 4 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.17735, 1.01261, -4.38492 )
[node name="Cube3" parent="." instance=ExtResource( 4 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.78638, 1.01261, -8.8653 )
[node name="Sphere" parent="." instance=ExtResource( 5 )]
transform = Transform( 0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 3.44569, 1.37683, 0 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 1, 0, 0, 0, 0.439578, 0.898205, 0, -0.898205, 0.439578, 0, 5.3297, 0 )
light_energy = 0.3
shadow_enabled = true
[node name="Crystal" parent="." instance=ExtResource( 6 )]
transform = Transform( -0.642788, 0, -0.766044, 0, 1, 0, 0.766044, 0, -0.642788, 0, 0, 9 )
script = ExtResource( 7 )
[node name="Bear" parent="." instance=ExtResource( 8 )]
transform = Transform( -0.235344, 0, 0.971912, 0, 1, 0, -0.971912, 0, -0.235344, 8.83121, -0.0675901, 0 )
[node name="SafeTrigger (Area)" type="Area" parent="."]
editor/display_folded = true
transform = Transform( 0.9, 0, 0, 0, 0.8, 0, 0, 0, 0.9, 4.08993, 2.83513, -4.4713 )
[node name="CollisionShape" type="CollisionShape" parent="SafeTrigger (Area)"]
shape = SubResource( 3 )
[connection signal="body_entered" from="SafeTrigger (Area)" to="Player" method="_on_SafeTrigger_Area_body_entered"]