FuncIt/kristofers/test/Game_2/Main.tscn
2021-10-21 16:40:10 +03:00

60 lines
2.2 KiB
Plaintext

[gd_scene load_steps=10 format=2]
[ext_resource path="res://forest/source/full forest.fbx" type="PackedScene" id=1]
[ext_resource path="res://cat/scene.gltf" type="PackedScene" id=3]
[ext_resource path="res://Player.gd" type="Script" id=4]
[ext_resource path="res://forest/source/full forest.gd" type="Script" id=5]
[sub_resource type="ProceduralSky" id=1]
[sub_resource type="Environment" id=2]
background_mode = 2
background_sky = SubResource( 1 )
tonemap_mode = 2
auto_exposure_enabled = true
auto_exposure_scale = 0.1
[sub_resource type="BoxShape" id=3]
extents = Vector3( 12.1695, 0.120799, 12.5362 )
[sub_resource type="CylinderShape" id=4]
radius = 0.354752
height = 4.85497
[sub_resource type="CylinderShape" id=5]
radius = 0.266648
height = 1.39858
[node name="Spatial" type="Spatial"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 2 )
[node name="full forest" parent="WorldEnvironment" instance=ExtResource( 1 )]
transform = Transform( 500, 0, 0, 0, 500, 0, 0, 0, 500, 0, 0.119735, 0 )
script = ExtResource( 5 )
[node name="StaticBody" type="StaticBody" parent="WorldEnvironment"]
transform = Transform( 5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0 )
[node name="floor" type="CollisionShape" parent="WorldEnvironment/StaticBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.064606, 0 )
shape = SubResource( 3 )
[node name="trunk #1" type="CollisionShape" parent="WorldEnvironment/StaticBody"]
transform = Transform( -4.27079e-08, -0.977042, 0.213047, 1, -4.37114e-08, 0, 9.3126e-09, 0.213047, 0.977042, 3.13124, 0.0917925, 4.04415 )
shape = SubResource( 4 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 0.269935, -0.555398, 0.786555, 0.0338664, 0.821849, 0.568698, -0.962283, -0.126874, 0.240655, 95.592, 71.5086, 18.2005 )
[node name="Player" type="KinematicBody" parent="."]
transform = Transform( -5, 0, -7.54979e-07, 0, 5, 0, 7.54979e-07, 0, -5, 3.96783, 3.22079, 15.5653 )
script = ExtResource( 4 )
[node name="CollisionShape" type="CollisionShape" parent="Player"]
shape = SubResource( 5 )
[node name="scene" parent="Player/CollisionShape" instance=ExtResource( 3 )]
transform = Transform( 0.008, 0, 1.11022e-16, 0, 0.008, 0, -1.11022e-16, 0, 0.008, 0, -0.672847, 0 )