WIP checkpoint: PC2: Basic visible player character representation
This commit is contained in:
@@ -1,7 +1,32 @@
|
||||
[gd_scene load_steps=2 format=3]
|
||||
[gd_scene load_steps=9 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://scenes/player.tscn" id="1_player"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="mesh_ground"]
|
||||
size = Vector3(40, 1, 40)
|
||||
|
||||
[sub_resource type="BoxMesh" id="mesh_box1"]
|
||||
size = Vector3(1.5, 2.0, 1.5)
|
||||
|
||||
[sub_resource type="CylinderMesh" id="mesh_cylinder"]
|
||||
top_radius = 0.5
|
||||
bottom_radius = 0.5
|
||||
height = 2.0
|
||||
|
||||
[sub_resource type="SphereMesh" id="mesh_sphere"]
|
||||
radius = 0.75
|
||||
|
||||
[sub_resource type="BoxMesh" id="mesh_box2"]
|
||||
size = Vector3(1.0, 3.0, 1.0)
|
||||
|
||||
[sub_resource type="BoxMesh" id="mesh_box3"]
|
||||
size = Vector3(2.0, 1.0, 2.0)
|
||||
|
||||
[sub_resource type="Environment" id="env_bg"]
|
||||
background_mode = 1
|
||||
background_color = Color(0.4, 0.6, 0.9, 1)
|
||||
ambient_light_energy = 0.6
|
||||
|
||||
[node name="TestLevel" type="Node3D"]
|
||||
|
||||
[node name="Ground" type="StaticBody3D" parent="."]
|
||||
@@ -46,31 +71,5 @@ environment = SubResource("env_bg")
|
||||
[node name="PlayerSpawn" type="Marker3D" parent="."]
|
||||
position = Vector3(0, 1.0, 0)
|
||||
|
||||
[node name="Player" type="CharacterBody3D" parent="."]
|
||||
[node name="Player" parent="." instance=ExtResource("1_player")]
|
||||
position = Vector3(0, 1.0, 0)
|
||||
script = ExtResource("1_player")
|
||||
|
||||
[sub_resource type="BoxMesh" id="mesh_ground"]
|
||||
size = Vector3(40, 1, 40)
|
||||
|
||||
[sub_resource type="BoxMesh" id="mesh_box1"]
|
||||
size = Vector3(1.5, 2.0, 1.5)
|
||||
|
||||
[sub_resource type="CylinderMesh" id="mesh_cylinder"]
|
||||
top_radius = 0.5
|
||||
bottom_radius = 0.5
|
||||
height = 2.0
|
||||
|
||||
[sub_resource type="SphereMesh" id="mesh_sphere"]
|
||||
radius = 0.75
|
||||
|
||||
[sub_resource type="BoxMesh" id="mesh_box2"]
|
||||
size = Vector3(1.0, 3.0, 1.0)
|
||||
|
||||
[sub_resource type="BoxMesh" id="mesh_box3"]
|
||||
size = Vector3(2.0, 1.0, 2.0)
|
||||
|
||||
[sub_resource type="Environment" id="env_bg"]
|
||||
background_mode = 1
|
||||
background_color = Color(0.4, 0.6, 0.9, 1)
|
||||
ambient_light_energy = 0.6
|
||||
|
||||
Reference in New Issue
Block a user