project_teddy/scenes/playground.tscn

49 lines
2 KiB
Text

[gd_scene load_steps=9 format=3 uid="uid://bpq4yjx2gs3l6"]
[ext_resource type="Script" path="res://scripts/maps/playground.gd" id="1_gtai1"]
[ext_resource type="PackedScene" uid="uid://dp1q51kvd8uow" path="res://scenes/Teddy.tscn" id="1_p7gbl"]
[ext_resource type="PackedScene" uid="uid://ytbacsuahxie" path="res://scenes/HUD.tscn" id="2_ggrqc"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ell6n"]
sky_top_color = Color(0.870588, 0.894118, 0.92549, 1)
sky_horizon_color = Color(0.767647, 0.765779, 0.764623, 1)
ground_horizon_color = Color(0.767647, 0.765779, 0.764623, 1)
[sub_resource type="Sky" id="Sky_08e8u"]
sky_material = SubResource("ProceduralSkyMaterial_ell6n")
[sub_resource type="Environment" id="Environment_fnphj"]
background_mode = 2
sky = SubResource("Sky_08e8u")
tonemap_mode = 2
glow_enabled = true
[sub_resource type="PlaneMesh" id="PlaneMesh_gx0jf"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_qgsp1"]
data = PackedVector3Array(1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, 1, -1, 0, -1, 1, 0, -1)
[node name="Playground" type="Node3D"]
script = ExtResource("1_gtai1")
[node name="HUD" parent="." instance=ExtResource("2_ggrqc")]
show_behind_parent = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_fnphj")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.0034906, -0.94887, 0.315647, 0, 0.315649, 0.948876, -0.999994, 0.00331215, -0.00110181, 0, 0, 0)
shadow_enabled = true
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(12.0887, 0, 0, 0, 12.0887, 0, 0, 0, 12.0887, 0, 0, 0)
mesh = SubResource("PlaneMesh_gx0jf")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_qgsp1")
[node name="Teddy" parent="." instance=ExtResource("1_p7gbl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.08165e-12, 1, 2.08165e-12)