summaryrefslogtreecommitdiffstats
path: root/Main.tscn
blob: 2990a0799de6d8fd6ea77aefd05ed306c1577779 (plain) (blame)
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
[gd_scene load_steps=14 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]
[ext_resource path="res://FPS Counter.gd" type="Script" id=6]

[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 )

[sub_resource type="Theme" id=8]
Label/colors/font_color = Color( 0.00784314, 0.0392157, 0.811765, 1 )

[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="."]
transform = Transform( 3, 0, 0, 0, 1, 0, 0, 0, 3, 0, 0, 0 )
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
theme = SubResource( 8 )

[node name="Controls" type="Label" parent="UI"]
margin_right = 166.0
margin_bottom = 82.0
text = "move: WASD or Left Stick
look: Arrows or Right Stick
up: Space or Right Trigger
down: Ctrl or Left Trigger
toggle chicken radar: Q or xbox Y
release cursor: Esc"

[node name="FPS Counter" type="Label" parent="UI"]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -114.0
margin_bottom = 14.0
text = "FPS: 10000000.00"
align = 2
script = ExtResource( 6 )