WIP checkpoint: PC2: Build a basic playable test level scene
This commit is contained in:
@@ -1,8 +1,4 @@
|
|||||||
[gd_scene load_steps=4 format=3 uid="uid://c49a36fc7db_test_level"]
|
[gd_scene load_steps=1 format=3 uid="uid://c49a36fc7db_test_level"]
|
||||||
|
|
||||||
[ext_resource type="Mesh" path="res://assets/primitives/box_mesh.res" id="1_box"]
|
|
||||||
[ext_resource type="Mesh" path="res://assets/primitives/cylinder_mesh.res" id="2_cyl"]
|
|
||||||
[ext_resource type="Mesh" path="res://assets/primitives/sphere_mesh.res" id="3_sphere"]
|
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_ground"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ground"]
|
||||||
size = Vector3(40, 1, 40)
|
size = Vector3(40, 1, 40)
|
||||||
@@ -48,6 +44,13 @@ radius = 0.5
|
|||||||
subdivisions_ring = 8
|
subdivisions_ring = 8
|
||||||
subdivisions_height = 8
|
subdivisions_height = 8
|
||||||
|
|
||||||
|
[sub_resource type="Environment" id="WorldEnvironment_env"]
|
||||||
|
background_mode = 1
|
||||||
|
background_color = Color(0.4, 0.6, 0.8, 1)
|
||||||
|
ambient_light_source = 1
|
||||||
|
ambient_light_energy = 0.4
|
||||||
|
ambient_light_sky_energy = 1.0
|
||||||
|
|
||||||
[node name="TestLevel" type="Node3D"]
|
[node name="TestLevel" type="Node3D"]
|
||||||
|
|
||||||
[node name="Ground" type="StaticBody3D" parent="."]
|
[node name="Ground" type="StaticBody3D" parent="."]
|
||||||
@@ -113,9 +116,5 @@ shadow_enabled = true
|
|||||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
environment = SubResource("WorldEnvironment_env")
|
environment = SubResource("WorldEnvironment_env")
|
||||||
|
|
||||||
[sub_resource type="Environment" id="WorldEnvironment_env"]
|
[node name="PlayerSpawn" type="Marker3D" parent="."]
|
||||||
background_mode = 1
|
position = Vector3(0, 1.5, 0)
|
||||||
background_color = Color(0.4, 0.6, 0.8, 1)
|
|
||||||
ambient_light_source = 1
|
|
||||||
ambient_light_energy = 0.4
|
|
||||||
ambient_light_sky_energy = 1.0
|
|
||||||
|
|||||||
Reference in New Issue
Block a user