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
|
[gd_scene load_steps=12 format=2]
[ext_resource path="res://Main.gd" type="Script" id=1]
[ext_resource path="res://Ground.png" type="Texture" id=2]
[ext_resource path="res://Player.tscn" type="PackedScene" id=3]
[ext_resource path="res://Chicken.tscn" type="PackedScene" id=4]
[ext_resource path="res://fence.tres" type="Material" id=5]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 25, 1, 25 )
[sub_resource type="CubeMesh" id=3]
size = Vector3( 50, 2, 50 )
[sub_resource type="SpatialMaterial" id=4]
albedo_color = Color( 0.0352941, 0.301961, 0.00392157, 1 )
albedo_texture = ExtResource( 2 )
uv1_triplanar = true
[sub_resource type="CubeMesh" id=5]
[sub_resource type="BoxShape" id=7]
extents = Vector3( 5, 1, 0.05 )
[sub_resource type="BoxShape" id=6]
extents = Vector3( 0.05, 1, 5 )
[node name="Main" type="Node"]
script = ExtResource( 1 )
chicken = ExtResource( 4 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( -0.586145, -0.773475, 0.241185, -0.715288, 0.633826, 0.294324, -0.380522, 0, -0.924772, 6.17321, 8.45611, -11.9247 )
[node name="Ground" type="StaticBody" parent="."]
collision_mask = 0
[node name="CollisionShape" type="CollisionShape" parent="Ground"]
shape = SubResource( 1 )
[node name="MeshInstance" type="MeshInstance" parent="Ground"]
mesh = SubResource( 3 )
material/0 = SubResource( 4 )
[node name="Fence" type="StaticBody" parent="."]
collision_mask = 0
[node name="MeshInstance" type="MeshInstance" parent="Fence"]
transform = Transform( 5, 0, 0, 0, 1, 0, 0, 0, 0.1, 0, 2, -5 )
mesh = SubResource( 5 )
material/0 = ExtResource( 5 )
[node name="MeshInstance2" type="MeshInstance" parent="Fence"]
transform = Transform( 5, 0, 0, 0, 1, 0, 0, 0, 0.1, 0, 2, 5 )
mesh = SubResource( 5 )
material/0 = ExtResource( 5 )
[node name="MeshInstance3" type="MeshInstance" parent="Fence"]
transform = Transform( 0.1, 0, 0, 0, 1, 0, 0, 0, 5, -5, 2, 0 )
mesh = SubResource( 5 )
material/0 = ExtResource( 5 )
[node name="MeshInstance4" type="MeshInstance" parent="Fence"]
transform = Transform( 0.1, 0, 0, 0, 1, 0, 0, 0, 5, 5, 2, 0 )
mesh = SubResource( 5 )
material/0 = ExtResource( 5 )
[node name="CollisionShape" type="CollisionShape" parent="Fence"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -5 )
shape = SubResource( 7 )
[node name="CollisionShape2" type="CollisionShape" parent="Fence"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 5 )
shape = SubResource( 7 )
[node name="CollisionShape3" type="CollisionShape" parent="Fence"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 2, 0 )
shape = SubResource( 6 )
[node name="CollisionShape4" type="CollisionShape" parent="Fence"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 2, 0 )
shape = SubResource( 6 )
[node name="Player" parent="." instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 0.968718, 0.248166, 0, -0.248166, 0.968718, 0, 5.05733, 7 )
[node name="UI" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Controls" type="Label" parent="UI"]
margin_right = 166.0
margin_bottom = 82.0
custom_colors/font_color = Color( 0.00784314, 0.0392157, 0.811765, 1 )
text = "move: WASD or Left Stick
look: Arrows or Right Stick
up: Space or Right Trigger
down: Ctrl or Left Trigger
Release Cursor: Esc"
|