-
Notifications
You must be signed in to change notification settings - Fork 3
/
Level.tscn
76 lines (53 loc) · 2.76 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
[gd_scene load_steps=14 format=2]
[ext_resource path="res://scripts/Level.gd" type="Script" id=1]
[ext_resource path="res://addons/PACgd/Cole/Cole.tscn" type="PackedScene" id=2]
[ext_resource path="res://addons/PACgd/Point_and_Click.tscn" type="PackedScene" id=3]
[ext_resource path="res://scripts/WhiteBox.gd" type="Script" id=4]
[ext_resource path="res://scripts/Floor.gd" type="Script" id=5]
[ext_resource path="res://scripts/RedBox.gd" type="Script" id=6]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 9.86167, 0.001, 9.89399 )
[sub_resource type="NavigationMesh" id=2]
vertices = PoolVector3Array( -0.0999994, 0.2, -9.4, -9.4, 0.2, -9.4, -9.4, 0.2, -0.0999994, -0.0999994, 0.2, 9.5, 9.5, 0.2, 9.5, 9.5, 0.2, -0.0999994, -9.4, 0.2, -0.0999994, -9.4, 0.2, 9.5, -0.0999994, 0.2, 9.5, 9.5, 0.2, -0.0999994, 9.5, 0.2, -9.4, -0.0999994, 0.2, -9.4 )
polygons = [ PoolIntArray( 1, 0, 2 ), PoolIntArray( 2, 0, 5 ), PoolIntArray( 2, 5, 3 ), PoolIntArray( 3, 5, 4 ), PoolIntArray( 8, 7, 6 ), PoolIntArray( 11, 10, 9 ) ]
cell/height = 0.1
[sub_resource type="PlaneMesh" id=3]
size = Vector2( 20, 20 )
[sub_resource type="BoxShape" id=4]
[sub_resource type="SpatialMaterial" id=5]
albedo_color = Color( 0.988235, 0.00392157, 0.00392157, 1 )
[sub_resource type="CubeMesh" id=6]
material = SubResource( 5 )
[sub_resource type="CubeMesh" id=7]
[node name="Level" type="Spatial"]
script = ExtResource( 1 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.28896, 13.6301 )
[node name="Cole" parent="." instance=ExtResource( 2 )]
[node name="Floor" type="StaticBody" parent="."]
script = ExtResource( 5 )
[node name="CollisionShape" type="CollisionShape" parent="Floor"]
shape = SubResource( 1 )
[node name="Navigation" type="Navigation" parent="."]
[node name="NavigationMeshInstance" type="NavigationMeshInstance" parent="Navigation"]
navmesh = SubResource( 2 )
[node name="MeshInstance" type="MeshInstance" parent="Navigation/NavigationMeshInstance"]
mesh = SubResource( 3 )
material/0 = null
[node name="PointClick" parent="." instance=ExtResource( 3 )]
[node name="Red Box" type="StaticBody" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -7.30924, 1.11524, 0 )
script = ExtResource( 6 )
[node name="CollisionShape" type="CollisionShape" parent="Red Box"]
shape = SubResource( 4 )
[node name="MeshInstance" type="MeshInstance" parent="Red Box"]
mesh = SubResource( 6 )
material/0 = null
[node name="White Box" type="StaticBody" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.35066, 1.11524, 0 )
script = ExtResource( 4 )
[node name="CollisionShape" type="CollisionShape" parent="White Box"]
shape = SubResource( 4 )
[node name="MeshInstance" type="MeshInstance" parent="White Box"]
mesh = SubResource( 7 )
material/0 = null