scene manager + first scene + player
This commit is contained in:
@@ -1,3 +1,27 @@
|
||||
[gd_scene format=3 uid="uid://brc445tt624lb"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://brc445tt624lb"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://pr42rnokdw6w" path="res://icon.svg" id="1_hg70h"]
|
||||
[ext_resource type="PackedScene" uid="uid://c74354tlmcg6h" path="res://scene/player.tscn" id="1_ka8xa"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2quhp"]
|
||||
albedo_texture = ExtResource("1_hg70h")
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_2hvdi"]
|
||||
size = Vector2(500, 500)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_0l50f"]
|
||||
points = PackedVector3Array(-250, 0, -250, -250, 0, 250, 250, 0, -250, 250, 0, 250)
|
||||
|
||||
[node name="walk_zone" type="Node3D"]
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
material_override = SubResource("StandardMaterial3D_2quhp")
|
||||
mesh = SubResource("PlaneMesh_2hvdi")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
|
||||
shape = SubResource("ConvexPolygonShape3D_0l50f")
|
||||
|
||||
[node name="CharacterBody3D" parent="." instance=ExtResource("1_ka8xa")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.37761, 10.7052, 2.9378)
|
||||
|
||||
Reference in New Issue
Block a user