[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 ) num_chickens = 50 spawn_radius = 8.0 [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 ) speed = 3 pitch_min = -1.571 pitch_max = 1.571 [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 )