-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCell.tscn
92 lines (67 loc) · 3.03 KB
/
Cell.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
[gd_scene load_steps=10 format=2]
[ext_resource path="res://Cell.gd" type="Script" id=1]
[sub_resource type="QuadMesh" id=1]
[sub_resource type="OpenSimplexNoise" id=2]
[sub_resource type="NoiseTexture" id=3]
noise = SubResource( 2 )
[sub_resource type="SpatialMaterial" id=4]
albedo_color = Color( 0, 0.6, 0, 1 )
albedo_texture = SubResource( 3 )
metallic_texture_channel = 1
[sub_resource type="CubeMesh" id=5]
[sub_resource type="OpenSimplexNoise" id=6]
[sub_resource type="NoiseTexture" id=7]
width = 1024
height = 1024
noise = SubResource( 6 )
[sub_resource type="SpatialMaterial" id=8]
albedo_color = Color( 0.796078, 0.466667, 0, 1 )
albedo_texture = SubResource( 7 )
[node name="Cell" type="Spatial"]
script = ExtResource( 1 )
[node name="Floor" type="StaticBody" parent="."]
[node name="MeshInstance" type="MeshInstance" parent="Floor"]
transform = Transform( 2, 0, 0, 0, -3.25841e-07, 1, 0, -2, -1.62921e-07, 0, 0, 0 )
layers = 65
mesh = SubResource( 1 )
material/0 = SubResource( 4 )
[node name="CollisionPolygon" type="CollisionPolygon" parent="Floor"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0 )
polygon = PoolVector2Array( -1, 0, 1, 0 )
margin = 0.1
[node name="WallW" type="StaticBody" parent="."]
transform = Transform( 0.1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9, 0, 0 )
[node name="MeshInstance" type="MeshInstance" parent="WallW"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
mesh = SubResource( 5 )
material/0 = SubResource( 8 )
[node name="CollisionPolygon" type="CollisionPolygon" parent="WallW"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0 )
polygon = PoolVector2Array( 1, 2, -1, 2, -1, 0, 1, 0 )
[node name="WallE" type="StaticBody" parent="."]
transform = Transform( 0.1, 0, 0, 0, 1, 0, 0, 0, 1, 0.9, 0, 0 )
[node name="MeshInstance" type="MeshInstance" parent="WallE"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
mesh = SubResource( 5 )
material/0 = SubResource( 8 )
[node name="CollisionPolygon" type="CollisionPolygon" parent="WallE"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0 )
polygon = PoolVector2Array( 1, 2, -1, 2, -1, 0, 1, 0 )
[node name="WallN" type="StaticBody" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 0.1, 0, 0, -0.9 )
[node name="MeshInstance" type="MeshInstance" parent="WallN"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
mesh = SubResource( 5 )
material/0 = SubResource( 8 )
[node name="CollisionPolygon" type="CollisionPolygon" parent="WallN"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0 )
polygon = PoolVector2Array( 1, 2, -1, 2, -1, 0, 1, 0 )
[node name="WallS" type="StaticBody" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 0.1, 0, 0, 0.9 )
[node name="MeshInstance" type="MeshInstance" parent="WallS"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
mesh = SubResource( 5 )
material/0 = SubResource( 8 )
[node name="CollisionPolygon" type="CollisionPolygon" parent="WallS"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0 )
polygon = PoolVector2Array( 1, 2, -1, 2, -1, 0, 1, 0 )